Wikipedia:WikiProject User scripts/Scripts/Edit Top.js: Difference between revisions
Content deleted Content added
enclose in source tags |
change source to syntaxhighlight |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1:
//<
// This will add an [edit] link at the top of all pages except preview pages and the main page
// by User:Pile0nades
Line 21:
// get the page title
var pageTitle = mw.config.get('wgPageName');
// create div and set innerHTML to link
Line 33:
});
//</
|