| null-edit | |
|---|---|
| Description | User script to null edit the current page |
| Author | Eejit43 |
| First released | February 14, 2023 |
| Updated | June 17, 2025 (see GitHub commit history) |
| Browsers | Tested on Chromium and Firefox |
| Skins |
|
| Source | User:Eejit43/scripts/null-edit.js |
| GitHub repository | null-edit.ts |
This user script adds a link to the "More"/"Tools" menu which allows the current page to be null edited.
Installation
Simple
Install Enterprisey's "script-installer" (at Preferences → Gadgets → Advanced →
Install scripts without having to manually edit JavaScript files (documentation)), then come back to this page and click the "Install" button in the infobox on the right.
Manual
Add the following to your common.js (or a skin specific JavaScript page):
{{subst:install user script|User:Eejit43/scripts/null-edit.js}}
Global and other wiki installation
To install this user script globally, across all Wikimedia projects, add the following to your global.js on Meta-Wiki. See meta:Global user pages for more information.
This same method can be used to install the script on projects outside of the English Wikipedia, or even on MediaWiki wikis outside of Wikimedia.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Eejit43/scripts/null-edit.js&action=raw&ctype=text/javascript'); // Backlink: [[w:en:User:Eejit43/scripts/null-edit.js]]
Note: if you install this script here and globally, it will be double-loaded. Add a check in your global.js to prevent this from happening as seen in this permalink, or simply only install the script in one location.
Comments/bug reports
Please leave comments or report bugs on my talk page, or file an issue on the GitHub repository.