User:Adrian~enwiki/blah.js

// $Id: usermain.js 1252 2006-02-25 06:38:49Z quarl $

var $usermain = new Module('usermain.js'); $usermain.depend('autofocus.js'); $usermain.depend('alexafy.js'); $usermain.depend('google.js'); $usermain.depend('nav_custom.js');

// $usermain.depend('sig.js'); $usermain.depend('rollback.js'); $usermain.depend('autotag.js'); $usermain.depend('copyvio.js'); $usermain.depend('edittop.js'); $usermain.depend('watchlist.js'); $usermain.depend('watchbutton.js'); $usermain.depend('autofocus.js'); $usermain.depend('directredirect.js'); $usermain.depend('locz.js'); $usermain.depend('datez.js'); $usermain.depend('coorz.js'); $usermain.depend('imdbz.js'); $usermain.depend('alexafy.js'); $usermain.depend('userscript.js'); $usermain.depend('autosummary.js'); $usermain.depend('smartsubmit.js'); $usermain.depend('newmessages.js'); $usermain.depend('tabdiff.js'); $usermain.depend('tabsince.js'); $usermain.depend('purge.js'); $usermain.depend('editcount.js'); $usermain.depend('nav_logs.js'); $usermain.depend('nav_afd.js'); $usermain.depend('hideown.js'); $usermain.depend('google.js');

$usermain.depend('autoafd.js'); $usermain.depend('afd_vote.js'); $usermain.depend('xfdclose.js'); $usermain.depend('obsolete/autowarn.js');

$usermain.depend('instapreview.js'); $usermain.depend('popups.js'); $usermain.depend('picturepopups.js');

$usermain.depend('redirector.js'); $usermain.depend('debugnote.js');

$autofocus.enable; $querysave.enable;

$rollback.widgetLoad; $autotag.widgetLoad; $copyvio.widgetLoad; $edittop.widgetLoad; $watchlist.widgetLoad; $watchbutton.widgetLoad; $autofocus.enable; $locz.widgetLoad; $datez.widgetLoad; $coorz.widgetLoad; $imdbz.widgetLoad; $alexafy.widgetLoad; $userscript.widgetLoad; $tabdiff.widgetLoad; $tabsince.widgetLoad; $purge.widgetLoad; $editcount.widgetLoad; $nav_logs.widgetLoad; $nav_afd.widgetLoad; $google.widgetLoad;

// $autoafd.widgetLoad; // $afd_vote.widgetLoad; $xfdclose.widgetLoad; $autowarn.widgetLoad;                            // obsolete

$instapreview.widgetLoad;

$redirector.widgetLoad; $debugnote.widgetLoad;

var customizePortlets = function { // user space, user talk space: var spUser = "User:" + wikiDoc.username + "/"; var spUserTalk = "User talk:" + wikiDoc.username + "/";

// actions: $nav_custom.alterLinkText('ca-edit', 'Edit');

// personal: $nav_custom.alterLinkText('pt-mytalk', 'Talk'); $nav_custom.alterLinkText('pt-preferences', 'Prefs'); $nav_custom.alterLinkText('pt-watchlist', 'Watchlist'); $nav_custom.alterLinkText('pt-mycontris', 'Contribs');

var homeUrl = WikiPage(null, spUser + 'home').url; $wikiwidget.addLiLink({after: 'pt-userpage'}, homeUrl, 'Home', 'pt-userhome', null);

// navigation: $nav_custom.addNavLink({pagename: spUserTalk + "todo"}); $nav_custom.addNavLink({pagename: spUser + "sandbox"}); $nav_custom.addNavLink({pagename: spUser + "monobook.js"}); // $nav_custom.addNavLink({pagename: spUser + "monobook",   //                         editpagename: spUser + "monobook.js"});

$nav_custom.delNavLink('n-help'); $nav_custom.delNavLink('n-contact'); $nav_custom.delNavLink('n-sitesupport'); };

$util.addOnloadHook(customizePortlets); simplePopups = false; popupAdminLinks = true; popupStructure='original'; popupDragging='true'; popupFixRedirs='true'; popupFixDabs='true'; popupEditCounterTool='interiot'; popupRevertSummary='rv to revision ID %s' popupExtraUserMenu='true' popupLiveOptions=true