User:Pathoschild/Scripts: Difference between revisions
Appearance
Content deleted Content added
Pathoschild (talk | contribs) partial update |
Pathoschild (talk | contribs) page outdated, display new sidebar menu instead |
||
| Line 1: | Line 1: | ||
{{/Template:Info}} |
|||
{{process header |
|||
| title = JavaScript scripts |
|||
| section = |
|||
| previous = |
|||
| next = |
|||
| shortcut = |
|||
| notes = |
|||
}} |
|||
==Scripts== |
|||
===JavaScript=== |
|||
{| class="wikitable" |
|||
|- |
|||
! colspan="2"| General usage |
|||
|- |
|||
! Script name |
|||
! Description |
|||
|- |
|||
| [[/AJAX transclusion table/]] |
|||
| Adds a "[show]" link in the first cell of every row in tables with the "attable" class. Clicking the link will display the linked page below (see [[User:Pathoschild/Scripts/AJAX transclusion table|screenshots]]). |
|||
|- |
|||
| [[/Force ltr/]] |
|||
| Forces left-to-right format on right-to-left wikis. |
|||
|- |
|||
| [[/TemplateScript/]] |
|||
| Adds a form-sensitive sidebar of user-defined templates for most MediaWiki forms. |
|||
|- |
|||
!colspan="2" style="text-align:left;"| Limited usage |
|||
|- |
|||
| [[/Ajax sysop/]] |
|||
| Adds diverse options, shortcuts, and AJAX to make sysop tasks easier and faster. |
|||
|- |
|||
| [[/StewardScript/]] |
|||
| Adds diverse options, shortcuts, and AJAX to make steward tasks easier and faster. |
|||
|- |
|||
!colspan="2" style="text-align:left;"| Scriptlets |
|||
|- |
|||
|colspan="2"| See [[../Scriptlets]]. |
|||
|- |
|||
!colspan="2" style="text-align:left;"| Obsolete |
|||
|- |
|||
| <s>[[/Regex menu framework/]]</s> |
|||
| Allows dynamic user-defined edit box search & replace with regex, framework for editing scripts with a custom sidebar. Functionality merged into [[/TemplateScript/]]. |
|||
|- |
|||
| <s>[[/Ajax framework/]]</s> |
|||
| A library of functions for very simple AJAX programming. Replaced by [[/MooTools|WikiMooTools]]. |
|||
|- |
|||
| <s>[[/Usejs/]]</s> |
|||
| Allows dynamic loading of JavaScript from MediaWiki pages using <code>&usejs</code> URL parameter. No longer maintained. |
|||
|- |
|||
| <s>[[/MooTools|WikiMooTools]]</s> |
|||
| An implementation of MooTools extended with wiki-specific functions. MooTools is a compact object-oriented JavaScript framework that simplifies cross-browser scripting. Obsoleted when jQuery was added to MediaWiki. |
|||
|- |
|||
| <s>[[User:Pathoschild/Scriptlets#2007-11 AJAX site notice|AJAX SiteNotice]]</s> |
|||
| Loads the content of [[MediaWiki:Sitenotice]] below the [[mw:Manual:Interface/Sitenotice|CentralNotice]] (which previously hid the site notice by default). Functionality added to MediaWiki. |
|||
|- |
|||
| <s>[[/DOM shorthand framework/]]</s> |
|||
| Provides a shorthand notation for standards-compliant DOM manipulation. Replaced by [[/MooTools|WikiMooTools]]. |
|||
|- |
|||
| <s>[[../Scriptlets#2008-09_Quick_CentralAuth|Quick CentralAuth]]</s> |
|||
| Adds a "quick access" form to [[Special:CentralAuth]] ([[:File:Quick centralauth.png|screenshot]]). Merged into [[/StewardScript/]]. |
|||
|} |
|||
===IRC-based=== |
|||
{| class="wikitable plainlinks" |
|||
|- |
|||
! Script name |
|||
! Description |
|||
|- |
|||
| [[User:StewardBot|StewardBot]] |
|||
| A [[w:Python|Python]] script which idles in {{channel|wikimedia-stewards}} on the freenode [[w:IRC|IRC network]]. It accepts commands from authorized stewards, and performs utility operations related to steward activities such as setting user rights or scanning global accounts' edits. |
|||
|- |
|||
| [[CVN/CVNbot]] |
|||
| an incomplete IRC RC-filtering bot. |
|||
|} |
|||
===Web-based=== |
|||
{| class="wikitable plainlinks" |
|||
|- |
|||
! Script name |
|||
! Description |
|||
|- |
|||
!colspan="2" style="text-align:left;"| Lists |
|||
|- |
|||
| [http://pathos.ca/tools/setoperations set operations] |
|||
| perform set operations, sort, or filter on one or two lists. |
|||
|- |
|||
| [http://pathos.ca/tools/sort sort] |
|||
| sort a list. |
|||
|- |
|||
| [http://pathos.ca/tools/increment increment] |
|||
| increment numbers and repeat text with $new and $last magic words. |
|||
|- |
|||
| [http://pathos.ca/tools/timecount timecount] |
|||
| calculate total time elapsed in multiple time ranges. |
|||
|- |
|||
!colspan="2" style="text-align:left;"| Strings |
|||
|- |
|||
| [http://pathos.ca/tools/regex regex] |
|||
| perform regex search and replace on a string. |
|||
|- |
|||
| [http://pathos.ca/tools/etymologyreader etymology reader] |
|||
| convert etymology shorthand into legible text. |
|||
|- |
|||
| [http://pathos.ca/tools/linenumbers line numbers] |
|||
| add line numbers to text for proofreading. |
|||
|- |
|||
| [http://pathos.ca/tools/poemformatting poem formatting] |
|||
| convert HTML and wikiML formatting to [[mw:Extension:Poem|<poem> formatting]]. |
|||
|- |
|||
!colspan="2" style="text-align:left;"| Databases |
|||
|- |
|||
| [http://pathos.ca/tools/iso639db iso639db] |
|||
| search ISO 639-1, -2, and -3 codes by any fields. |
|||
|- |
|||
!colspan="2" style="text-align:left;"| Wikimedia |
|||
|- |
|||
| [http://tools.wikimedia.de/~pathoschild/accounteligibility accountEligibility] |
|||
| analyze an account to determine whether it is eligible to vote in a given event. |
|||
|- |
|||
| [http://tools.wikimedia.de/~pathoschild/crossblock crossBlock] |
|||
| lists block status on all Wikimedia wikis, with links to prefilled block/unblock forms. |
|||
|- |
|||
| [http://tools.wikimedia.de/~pathoschild/crossactivity crossActivity] |
|||
| measures a user's latest edit, bureaucrat, or sysop activity on all wikis. |
|||
|- |
|||
| [http://tools.wikimedia.de/~pathoschild/globalgroups globalGroups] |
|||
| lists rights with descriptions for each global group. |
|||
|- |
|||
| [http://tools.wikimedia.de/~pathoschild/ls-testanalysis ls-testanalysis] |
|||
| analyze Wikimedia test wikis (used by the [[language committee]] as part of the new wiki approval process). |
|||
|- |
|||
| [http://tools.wikimedia.de/~pathoschild/stewardry stewardry] |
|||
| analyze admin/bureaucrat/checkuser/oversight activity on a Wikimedia wiki. |
|||
|- |
|||
!colspan="2" style="text-align:left;"| Other |
|||
|- |
|||
| [http://tools.wikimedia.de/~pathoschild/redirspecial redirspecial] |
|||
| Redirects to a Wikimedia special page with parsed arguments; used in certain [[stewards|steward]] templates. |
|||
|- |
|||
| [http://pathos.ca/tools/wikilinkactiontable wikilink action table] |
|||
| create links to pre-filled delete or move forms from wikilinks, to aid bulk moves or deletion. |
|||
|- |
|||
!colspan="2" style="text-align:left;"| Obsolete |
|||
|- |
|||
| <s>[http://pathos.ca/tools/wmelections wmelections]</s> |
|||
| analyze votes in the 2008 Wikimedia Board elections (replaced by accountEligibility). |
|||
|} |
|||
===Miscellaneous=== |
|||
{| class="wikitable plainlinks" |
|||
|- |
|||
! Script name |
|||
! Description |
|||
|- |
|||
| [[/SynchCrosswiki|Synchbot]] |
|||
| Edits a page on almost every Wikimedia wiki, run on request. This is primarily intended for propagating global JavaScript for global countervandalism users. |
|||
|} |
|||
==See also== |
|||
* [http://pathos.ca/tools PHP tools] |
|||
Latest revision as of 07:12, 7 May 2011
|
| report a bug or suggestion |