Content deleted Content added
2NumForIce (talk | contribs) Undid revision 1242132361 by 2NumForIce (talk) |
2NumForIce (talk | contribs) add global pref link and mv autopurge closer to top |
||
Line 67:
/* Make upload form text monospace */
importStylesheet('User:2NumForIce/Tools/UploadFormMonospace.css');
/* Automate purge confirmation dialog */▼
if (mw.config.get('wgAction') === 'purge') {▼
$('form[action*="action=purge"]').submit();▼
}▼
// Skip to bottom of talk link. Requires <nowiki>{{Skip to top and bottom}}</nowiki>.
Line 83 ⟶ 88:
null,
"#pt-betafeatures"
// Global prefs "gprefs"
mw.util.addPortletLink(
"p-personal",
mw.util.getUrl("Special:GlobalPreferences"),
"Global prefs",
"pt-global-prefs",
"Go to global preferences",
null,
"#pt-watchlist"
);
/*** BEGIN WIKIBREAK ENFORCER ***/
Line 124 ⟶ 140:
});
/*** END WIKIBREAK ENFORCER ***/
▲/* Automate purge confirmation dialog */
▲if (mw.config.get('wgAction') === 'purge') {
▲ $('form[action*="action=purge"]').submit();
▲}
|