User:Eejit43/scripts/displaytitle-editor
displaytitle-editor | |
---|---|
![]() Top: editor before opening Bottom: editor while editing | |
Description | User script to modify DISPLAYTITLEs |
Author(s) | Eejit43 |
First released | April 28, 2023 |
Updated | April 26, 2025 |
Browsers | Tested on Chromium and Firefox |
Skins |
|
Source | User:Eejit43/scripts/displaytitle-editor.js |
GitHub repository | displaytitle-editor.ts |
This user script adds an icon following the article title, which, when clicked, allows a DISPLAYTITLE to be added, modified, or removed.
Note: This script does not have very complex logic, and is currently unable to handle to handle templates such as {{italic title}}, {{lowercase title}}, and more, including DISPLAYTITLEs added by other templates such as infoboxes.
Recent notable changes
For a more detailed changelog, see the script's GitHub commit history.
- April 26, 2025 : Correctly place DISPLAYTITLE magic word beneath #REDIRECT markup
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/displaytitle-editor.js}}
Comments/bug reports
Please leave comments or report bugs on my talk page, or file an issue on the GitHub repository.