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.
More actions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<pre><nowiki> | |||
function addDeleteSummary() { | function addDeleteSummary() { | ||
| Line 6: | Line 6: | ||
addOnloadHook(addDeleteSummary); | addOnloadHook(addDeleteSummary); | ||
</nowiki></pre> | |||
Revision as of 21:36, 13 April 2006
<pre><nowiki>
function addDeleteSummary() {
document.getElementById('wpReason').value = "Moved to new namespace";
}
addOnloadHook(addDeleteSummary);
</nowiki></pre>