User:Pathoschild/Scripts
From Meta, a Wikimedia project coordination wiki
| JavaScript scripts |
Contents |
[edit] Scripts
[edit] JavaScript
| 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 screenshots). |
| Force ltr | Forces left-to-right format on right-to-left wikis. |
| Regex menu framework | Allows dynamic user-defined edit box search & replace with regex, framework for editing scripts with a custom sidebar. |
| TemplateScript | Adds a form-sensitive sidebar of user-defined templates for most MediaWiki forms. |
| Usejs | Allows dynamic loading of JavaScript from MediaWiki pages using &usejs URL parameter. |
| WikiMooTools | An implementation of MooTools extended with wiki-specific functions. MooTools is a compact object-oriented JavaScript framework that simplifies cross-browser scripting. |
| Limited usage | |
| StewardScript | Adds diverse options, shortcuts, and AJAX to make steward tasks easier and faster. |
| Scriptlets | |
| See User:Pathoschild/Scriptlets. | |
| Obsolete | |
| A library of functions for very simple AJAX programming. Replaced by WikiMooTools. | |
| Loads the content of MediaWiki:Sitenotice below the CentralNotice (which previously hid the site notice by default). Functionality added to MediaWiki. | |
| Provides a shorthand notation for standards-compliant DOM manipulation. Replaced by WikiMooTools. | |
| Adds a "quick access" form to Special:CentralAuth (screenshot). Merged into StewardScript. | |
[edit] IRC-based
| Script name | Description |
|---|---|
| StewardBot | A Python script which idles in #wikimedia-stewards on the freenode 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. |
[edit] Web-based
| Script name | Description |
|---|---|
| Lists | |
| set operations | perform set operations, sort, or filter on one or two lists. |
| sort | sort a list. |
| increment | increment numbers and repeat text with $new and $last magic words. |
| timecount | calculate total time elapsed in multiple time ranges. |
| Strings | |
| regex | perform regex search and replace on a string. |
| etymology reader | convert etymology shorthand into legible text. |
| line numbers | add line numbers to text for proofreading. |
| poem formatting | convert HTML and wikiML formatting to <poem> formatting. |
| Databases | |
| iso639db | search ISO 639-1, -2, and -3 codes by any fields. |
| Wikimedia | |
| accountEligibility | analyze an account to determine whether it is eligible to vote in a given event. |
| crossBlock | lists block status on all Wikimedia wikis, with links to prefilled block/unblock forms. |
| crossActivity | measures a user's latest edit, bureaucrat, or sysop activity on all wikis. |
| globalGroups | lists rights with descriptions for each global group. |
| ls-testanalysis | analyze Wikimedia test wikis (used by the language committee as part of the new wiki approval process). |
| stewardry | analyze admin/bureaucrat/checkuser/oversight activity on a Wikimedia wiki. |
| Other | |
| redirspecial | Redirects to a Wikimedia special page with parsed arguments; used in certain steward templates. |
| wikilink action table | create links to pre-filled delete or move forms from wikilinks, to aid bulk moves or deletion. |
| Obsolete | |
| analyze votes in the 2008 Wikimedia Board elections (replaced by accountEligibility). | |
[edit] Miscellaneous
| Script name | Description |
|---|---|
| Synchbot | Edits a page on almost every Wikimedia wiki, run on request. This is primarily intended for propagating global JavaScript for global countervandalism users. |