User:Adrian Lamo/monobook.js
From Wikipedia, the free encyclopedia
If a message on your talk page led you here, please be wary of who left it. The code below could contain malicious content capable of compromising your account; if your account appears to be compromised, it will be blocked. If you are unsure whether the code is safe, you can ask at the appropriate village pump.
Note: After saving, you have to bypass your browser's cache to see the changes. In Internet Explorer and Firefox, hold down the Ctrl key and click the Refresh or Reload button. Opera users have to clear their caches through Tools→Preferences, see the instructions for Opera. Konqueror and Safari users can just click the Reload button.
<!-- // -->[[User:Quarl/monobook.js]] is '''[[User:Quarl]]'s Wikipedia user script toolkit.''' <!-- // See [[User:Quarl/monobook]] for a marked-up version of this page. // --> <!-- function winc(s) { s = s.replace(/^\[\[/, '').replace(/\]\]$/, ''); document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=' + s + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); } // --> <!-- // -->== Utility library == //winc('[[User:Quarl/addonload.js]]'); // addOnloadHook is defined in wikibits.js; don't need this winc('[[User:Quarl/util.js]]'); // Quarl's utility functions winc('[[User:Quarl/md5.js]]'); // md5 functions winc('[[User:Quarl/addlilink.js]]'); // defines addlilink and tab/toolbox functions (by Quarl) winc('[[User:Quarl/wikipage.js]]'); // WikiPage class (by Quarl) winc('[[User:Quarl/datetime.js]]'); // defines ISO timestamp functions (by Quarl) winc('[[User:Quarl/wikipageAfd.js]]'); // AFD stuff for WikiPage (by Quarl) winc('[[User:Quarl/wikiedit.js]]'); // WikiEditor (by Quarl) winc('[[User:Quarl/autoreplace.js]]'); // allows automatically replacing strings on 'submit' (by Quarl) winc('[[User:Quarl/automod.js]]'); // defines functions for automatically modifying page (originally by Jnothman, version by Quarl) winc('[[User:Quarl/diff.js]]'); // diff functions (by Quarl, diff() by John Resig) winc('[[User:Quarl/cookie.js]]'); // cookie helpers winc('[[User:Quarl/shortcuts.js]]'); // Shortcuts class (by Quarl) winc('[[User:Quarl/diffsince.js]]'); // utilities for doing "diff since" (by Quarl) winc('[[User:Quarl/wikiwatch.js]]'); // utilities for watching/unwatching (by Quarl) <!-- // -->== Testing stuff == winc('[[User:Quarl/sandbox.js]]'); <!-- // -->== Modules == winc('[[User:Quarl/popups.js]]'); // Popups (by Lupin, small modifications) winc('[[User:Quarl/rollback.js]]'); // rollback button (based on Sam Hocavar's Godmode-Light, version by Quarl) winc('[[User:Quarl/autoafd.js]]'); // autoafd (version by Quarl) winc('[[User:Quarl/afd_vote.js]]'); // AFD voting helpers (originally by Jnothman, version by Quarl) winc('[[User:Quarl/autotag.js]]'); // tab button for auto tagging (by Quarl) //winc('[[User:Quarl/autocpyvio.js]]'); // autocpyvio winc('[[User:Quarl/edit_top_link.js]]'); // add 'edit top' (section 0) link (version by Quarl) winc('[[User:Quarl/show_diff_since.js]]');// show changes since last edited (async version); 'since' tab button (by Quarl) winc('[[User:Quarl/show_diff_last.js]]'); // show last diff; 'last' tab button (version by Quarl) winc('[[User:Quarl/auto_testn.js]]'); // tabs for test/test-n templates (version by Quarl) winc('[[User:Quarl/hide_own.js]]'); // change Watchlist link to default to 'hide own' (by ...) winc('[[User:Quarl/watchlist.js]]'); // add 'unwatch' and 'diff since' buttons to watchlist (by Quarl) winc('[[User:Quarl/watchbutton.js]]'); // asynchronous watch/unwatch tabs (by Quarl) winc('[[User:Quarl/autofocus.js]]'); // automatically focus edit boxes (by Quarl) winc('[[User:Quarl/autocloseafd.js]]'); // tab button for closing AFD (by Quarl) winc('[[User:Quarl/toolbox_edit_count.js]]') // toolbox links to Interiot's edit count tool (by Quarl) winc('[[User:Quarl/toolbox_logs.js]]'); // toolbox links to Logs (version by Quarl) winc('[[User:Quarl/nav_afd.js]]'); // nav links to AFD log pages (by Quarl) winc('[[User:Quarl/directredirect.js]]'); // buttons for automatically fixing double redirects (by Quarl) winc('[[User:Quarl/location_canonicalize.js]]'); // locz button for canonicalizing locations (by Quarl) winc('[[User:Quarl/date_canonicalize.js]]'); // datez button for canonicalizing dates (by Quarl) winc('[[User:Quarl/coor_canonicalize.js]]'); // coorZ button for canonicalizing coordinates (by Quarl) winc('[[User:Quarl/alexafy.js]]'); // toolbox button to Alexafy external links (version by Quarl) winc('[[User:Quarl/userscript.js]]'); // user script helpers ('raw' tab, 'refresh' tab, autorefresh) by Quarl winc('[[User:Quarl/auto_summary.js]]'); // auto summary based on diff; shortcuts (by Quarl) winc('[[User:Quarl/smartsubmit.js]]'); // asynchronous preview/diff buttons (by Quarl) winc('[[User:Quarl/purge.js]]'); // 'purge' tab button winc('[[User:Quarl/newmessages.js]]'); // add history and diffsince links to new-messages box (by Quarl) winc('[[User:Quarl/nav_custom.js]]'); // navigation box customizations (by Quarl for Quarl) //winc('[[User:Quarl/external_editor.js]]'); // add tab for "ext edit" (by Quarl) //qwrite_flush(); <!-- // -->== Settings == simplePopups = false; popupAdminLinks = true; popupStructure='original'; popupDragging='true'; popupFixRedirs='true'; popupFixDabs='true'; popupEditCounterTool='interiot'; popupRevertSummary='rv to revision ID %s' popupExtraUserMenu='true' popupLiveOptions=true // [[User:Lupin/recent2.js]] - please include this line document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/recent2.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

