mNo edit summary |
m (Automatic substitution of article type data) |
||
(37 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages}} |
||
{{Infobox JavaScript |
{{Infobox JavaScript |
||
− | | Description = Null edit multiple pages |
+ | | Description = Null edit multiple pages from a list. |
− | | Image file = MassNullEdit.png |
+ | | Image file = MassNullEdit.png |
− | | |
+ | | Scope = ps |
− | | |
+ | | Status = stable |
− | | Author = |
+ | | Author = |
+ | * [[User:Ozank Cx|Ozank Cx]] |
||
− | | Updated = 24 August 2014 |
||
+ | * [[User:DarthKitty|DarthKitty]] (reworking) |
||
− | | Code = [[/code.js]] |
||
+ | * [[User:OneTwoThreeFall|OneTwoThreeFall]] (reworking + "Add pages" feature) |
||
− | | Skins = Oasis<br/>Monobook |
||
+ | | Code = |
||
⚫ | |||
⚫ | |||
+ | * [[MediaWiki:MassNullEdit.css|MassNullEdit.css]] |
||
⚫ | |||
+ | | Type = editing |
||
}} |
}} |
||
− | '''MassNullEdit''' is based on several other scripts ([[NullEditButton]], [[AjaxBatchDelete]] and [[ChatBlockButton]]), that provides a link to a modal (without changing location) which allows the user to list pages to be null edited, via API. It null edits one page every second in order to prevent overwhelming of the servers. |
||
+ | '''MassNullEdit''' allows the user to null edit multiple pages from a list. It is based on several other scripts ([[NullEditButton]], [[AjaxBatchDelete]] and [[ChatBlockButton]]). It can also generate page lists for use elsewhere. |
||
⚫ | |||
+ | |||
⚫ | |||
+ | == Installation == |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | | codepage = MassNullEdit/code.js |
||
}} |
}} |
||
− | ==Usage== |
+ | == Usage == |
⚫ | |||
⚫ | |||
⚫ | To null edit multiple pages, add each page name (not the page URL) to the list on a new line (including their namespace, if necessary) and click the "Start" button. The script will stop once all items on the list have been null edited. If any pages fail to edit, a notice will be shown and the page will be readded to the list once the script stops. |
||
− | ===Monobook=== |
||
− | The option to use the Mass Null Edit script will appear in your toolbox on the left. |
||
+ | Using the "Add pages" button, all pages from a namespace or category, or all pages that link to a particular page can be added to the list. This feature can also be useful for generating plain text lists for use elsewhere. If the script is used on [[Special:WhatLinksHere]], [[Special:Prefixindex]], [[Special:Allpages]] or a category page, it will automatically add the linked pages/category members to the list. |
||
− | ===Oasis=== |
||
⚫ | |||
+ | By default, the script will null edit one page per second. If you'd like to change that, set the <code>window.nullEditDelay</code> property to a number (in milliseconds) in your JavaScript page. For example, add the below line to your JavaScript page to null edit once every three seconds: |
||
⚫ | |||
⚫ | |||
+ | window.nullEditDelay = 3000; |
||
⚫ | |||
⚫ | |||
− | == Updates == |
||
− | ;August 18th 2014: Script published. |
||
− | ;August 20th 2014: Updated for better error readings. |
||
− | ;August 21st 2014: Monobook support added. |
||
− | ;August 24th 2014: Script updated. |
||
− | [[Category:JavaScript]] |
Revision as of 18:11, 15 November 2018
MassNullEdit allows the user to null edit multiple pages from a list. It is based on several other scripts (NullEditButton, AjaxBatchDelete and ChatBlockButton). It can also generate page lists for use elsewhere.
Installation
Usage
MassNullEdit should appear under your "My Tools" list (in the toolbar at the bottom of the screen).
To null edit multiple pages, add each page name (not the page URL) to the list on a new line (including their namespace, if necessary) and click the "Start" button. The script will stop once all items on the list have been null edited. If any pages fail to edit, a notice will be shown and the page will be readded to the list once the script stops.
Using the "Add pages" button, all pages from a namespace or category, or all pages that link to a particular page can be added to the list. This feature can also be useful for generating plain text lists for use elsewhere. If the script is used on Special:WhatLinksHere, Special:Prefixindex, Special:Allpages or a category page, it will automatically add the linked pages/category members to the list.
By default, the script will null edit one page per second. If you'd like to change that, set the window.nullEditDelay
property to a number (in milliseconds) in your JavaScript page. For example, add the below line to your JavaScript page to null edit once every three seconds:
window.nullEditDelay = 3000;
If you do not see the "My Tools" menu (or other language equivalent), try clicking "Customize" and then "reset defaults".