Privacy Policy Cookie Policy Terms and Conditions User:Haza-w/Caction tool - Wikipedia, the free encyclopedia

User:Haza-w/Caction tool

From Wikipedia, the free encyclopedia

Contents

This script adds a "page options" button (and, if applicable, a "user options" button) to the cactions toolbar. Hovering over the link brings down a menu with the following options:

User options:
  • Vandal options
    • Block log
    • Current block list
    • Block user
  • Contributions
  • Edit count
  • Edit summary usage
  • E-mail user
  • User permissions
  • User creation log
  • User rights changes (bureaucrat log)
Page options:
  • Page history
  • Move page
  • Watch/unwatch
  • Latest diff
  • Edit article intro (optional)
  • Protect/unprotect page
  • Delete/undelete page
  • Protection log
  • Move log
  • Deletion log
  • Purge cache

Links listed in bold replace the standard caction tabs, unless specified otherwise.

Links listed in italics are admin-only options.

Setup

To use the tool, open your monobook.js at User:YourUserName/monobook.js and click "edit this page". (If you are using a different skin, then open your specific skin JS; the tool works in any skin.) Then add the following:

{{subst:js|User:Haza-w/cactions.js}}

Options

The following options can be configured:

  • Admin: If you are an admin, add
    var ctIsAdmin = 1;
    
    into your monobook.js and the admin options will become available.
  • Keep original tabs: If you want the "move", "watch" etc. tabs to remain on the toolbar and not be moved into the dropdown menu, add
    var ctOriginalTabs = 1;
    
    into your monobook.js.
  • Add edit intro link: If you want a link to edit section 0 of a page, add
    var ctEditIntro = 1;
    
    into your monobook.js.

Interwiki support

To use this script on another wiki, add the following to your monobook.js page on that wiki:

// Script from [[:w:en:User:Haza-w/cactions.js]]
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Haza-w.debug/cactions.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
var ctWikiId = 'wikiID';

Replace wikiID with the relevant database name entry from the list below. To get another wiki added to the supported list, just ask.

Wikipedia

  • enwiki_p (English)
  • frwiki_p (French)


Version history

If a new version has been released but you have not seen any update, purge your cache by hitting Ctrl-F5.

Version 3

  • v3.2 (believed stable) - Support for all wikis. Please see relevant section for details.
  • v3.1 - Various bugfixes.
  • v3.0 - New method of title parsing using URL instead of title. Now cactions work on View source pages and others with unusual titles.

Version 2

  • v2.5 - Added link to user's entry in Special:Listusers
  • v2.4 - Patched bug with special characters that don't work in URLs
  • v2.3 - Added Mathbot's edit summary link to user opts.
  • v2.2 - Interiot JS tool feature enabled, add to/remove from watchlist errors fixed
  • v2.1 - New options, replace function on ":" characters in title, and some bugs fixed.
  • v2.0 - New release. 1 caction for page options, 1 for user options etc. Hovering over each one brings down a list of the relevant options. Thanks for all who helped with bug reporting. :-)

Version 1

  • v1.62 - Corrected error created when correcting error (see v1.61 note)
  • v1.61 - Corrected error(s) in determining whether pages are special or not
  • v1.6 - Added diff button to all articles (except User, User talk and Special namespaces)
  • v1.5 - Added "e-mail" button
  • v1.42 - Corrected bug when clicking through from previewed pages
  • v1.41 - Corrected username bug when clicking through from page history
  • v1.4 - Added "block log" button. IPs and usernames. Very useful when dealing with vandals.
  • v1.33 - Added support for spaces in usernames (in past versions, only the first word of the username was queried)
  • v1.32 - Changes in regex handling and the process which checks for user/user talk pages
  • v1.31 - Corrected bug in function name
  • v1.3 - New "contributions" button in addition to the "edit count" one.
  • v1.2 - New layout and split order when parsing username. Improved functionality.
  • v1.11 - Fixed major bug in parsing username when browsing user talk pages.
  • v1.1 - Added support for user talk pages as well as user pages.
  • v1.0 - Original release of caction script, which adds an "edit count" button to the cactions bar when browsing user pages.
THIS WEB:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Static Wikipedia 2008 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2007:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Static Wikipedia 2006:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu