Snippets/Custom display title
Appearance
< Snippets
Custom display title | |
---|---|
Language(s): | JavaScript |
Compatible with: | unknown |
Description
[edit]Obsolete: This script is obsolete. The script was removed in 2009 from en.wikipedia.org because it was insecure and superseded by the DISPLAYTITLE magic word added to the MediaWiki syntax. That magic word will override the display title of the page (as long as the text is copy/paste compatible with the original title, exactly like this script used to do).
See also
[edit]- Edit removing it from MediaWiki:Common.js in 2009
- Relevant discussion thread on MediaWiki:Common.js
- pt:MediaWiki:Gadget-TitleRewrite.js
Code
[edit]/**
* Custom display title.
*
* Don't use this. The script is insecure and unneeded.
* Use {{DISPLAYTITLE:}} instead.
*/