User:Nigos/scripts/RandomRootpage.js: Difference between revisions

Content deleted Content added
Fixing style/layout errors
Fixing style/layout errors
Line 1:
var recent2nonconfirmededits={
// Edit these to your liking.
// Make sure there's a comma at the end of each line.
Line 14:
};
window.addMarvin=function() {
mw.util.addPortletLink( 'p-tb', mw.util.getUrl( recent2nonconfirmededits.recentIPPagerecentnonconfirmedPage ),
mw.msg( 'avt-ip-rc' ), 'toolbox_Non_confirmed_edits');
};
Line 20:
window.maybeStart=function() {
switch (mw.config.get('wgPageName')) {
case recent2nonconfirmededits.recentIPPage:
recent2nonconfirmededits.filter_anonsOnly=true;
return;
}