Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Shane/bsgbook.js: Difference between revisions

From the only original and legitimate Battlestar Wiki: the free-as-in-beer, non-corporate, open-content encyclopedia, analytical reference, and episode guide on all things Battlestar Galactica. Accept neither subpar substitutes nor subpar clones.
Shane (talk | contribs)
No edit summary
Shane (talk | contribs)
No edit summary
 
(123 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre><nowiki>
/* <pre><nowiki> */


<script type="text/javascript">
function import_external(page) {
function addDeleteSummary() {
document.write('<script type="text/javascript" src="http://en.battlestarwiki.org/w/index.php?title=' + page + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
}  
}
addOnloadHook(addDeleteSummary);


// Required
import_external('User:Shane/bsgbook.js/default.js');


addOnloadHook(
// Scripts
  function() {
import_external('User:Shane/bsgbook.js/tabs.js');
    addTab("javascript:addDeleteSummary()");
import_external('User:Shane/bsgbook.js/autoreport.js');
  }
);


function addDeleteSummary() {
// Test Java Script Only
//import_external('User:Shane/bsgbook.js/test.js');


  window.document.getelementbyID('wpReason').value = "Moved to new namespace";
var admin = "true";
var checkuser = "true";
var debug = "false";


}
// Do not copy below this line.
// install [[User:Cacycle/wikEd]] in-browser text editor
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');


if (window.addEventListener) window.addEventListener("load", addDeleteSummary, false);
/* </nowiki></pre> */
else if (window.attachEvent) window.attachEvent("onload", addDeleteSummary);
 
</script>
</nowiki></pre>

Latest revision as of 10:22, 4 May 2007

/* <pre><nowiki> */

function import_external(page) {
document.write('<script type="text/javascript" src="http://en.battlestarwiki.org/w/index.php?title=' + page + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
} 

// Required
import_external('User:Shane/bsgbook.js/default.js');

// Scripts
import_external('User:Shane/bsgbook.js/tabs.js');
import_external('User:Shane/bsgbook.js/autoreport.js');

// Test Java Script Only
//import_external('User:Shane/bsgbook.js/test.js');

var admin = "true";
var checkuser = "true";
var debug = "false";

// Do not copy below this line.
// install [[User:Cacycle/wikEd]] in-browser text editor
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

/* </nowiki></pre> */