This user script adds the ability to fix stylistic and other miscellaneous issues in articles, of which a list can be found below.
| article-cleaner | |
|---|---|
| Description | User script to fix stylistic and other minor issues in articles |
| Author | Eejit43 |
| First released | February 10, 2025 |
| Updated | August 3, 2026 |
| Browsers | Tested on Chromium and Firefox |
| Skins |
|
| Source | User:Eejit43/scripts/article-cleaner.js |
| GitHub repository | article-cleaner.ts |
This user script adds the ability to fix stylistic and other miscellaneous issues in articles, of which a list can be found below.
This script can possibly make unexpected changes, please make sure you check the diff before submitting edits.
This script is be activated using a link in the "More"/"Tools" menu, visible when in editing mode on a page. On mobile, this script is instead activated by a new button in the editing toolbar.
For a more detailed changelog, see the script's GitHub commit history.
timeline tags.poem/pre/templatedata tags.{{PAGENAME}} and other magic words.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.
Add the following to your common.js (or a skin specific JavaScript page):
{{subst:install user script|User:Eejit43/scripts/article-cleaner.js}}
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/article-cleaner.js&action=raw&ctype=text/javascript'); // Backlink: [[w:en:User:Eejit43/scripts/article-cleaner.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.
Please leave comments or report bugs on my talk page, or file an issue on the GitHub repository.
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.