User:Shane/bsgbook.js: Difference between revisions
From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide
More actions
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
import_external('User:Shane/bsgbook.js/tabs.js'); | import_external('User:Shane/bsgbook.js/tabs.js'); | ||
import_external('User:Shane/bsgbook.js/autoreport.js'); | import_external('User:Shane/bsgbook.js/autoreport.js'); | ||
// Test Java Script Only | // Test Java Script Only | ||
| Line 20: | Line 19: | ||
var debug = "false"; | var debug = "false"; | ||
// Do not copy below this line. | |||
// install [[User:Cacycle/wikEd]] in-browser text editor | // install [[User:Cacycle/wikEd]] in-browser text editor | ||
document.write('<script type="text/javascript" src="' | document.write('<script type="text/javascript" src="' | ||
Revision as of 04:27, 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> */