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

Content deleted Content added
Clean up
m Xeno moved page User:Anchorvale/scripts/RandomRootpage.js to User:Nigos/scripts/RandomRootpage.js: Automatically moved page while renaming the user "Anchorvale" to "Nigos"
 
(9 intermediate revisions by one other user not shown)
Line 1:
var recent2={
/* This script is used to add a link to [[Special:RandomRootpage]], or to a stub article.
// Edit these to your liking.
// Make sure there's a comma at the end of each line.
*/
recentnoncomfirmedPage: 'User:Anchorvale/Recent_Non_Confirmed_Edits',
linkify: true,
mw.loader.using( [ 'mediawiki.util' ], function () {
updateSeconds: 20,
mw.util.addPortletLink(
// FIXME: Use <ul> and add a border to each <li>'s
'p-navigation',
outputSeparator: '<hr>',
mw.util.getUrl( 'Special:RandomRootpage' ),
apiAulimitUser: 500,
'Random rootpage',
apiAulimitSysop: 5000,
'n-randomrootpage',
backgroundWindowsMax: 10,
'Load a random rootpage',
// leave this last one alone
'i',
dummy: null
'#n-sitesupport'
};
);
importScript ('User:Anchorvale/scripts/RecentChanges.js');
} );
/* [[Category:Wikipedia scripts]]
*/
/* [[Category:Wikipedia scripts]]
*/