Jump to content

MediaWiki talk:Restricted-displaytitle

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Protected edit request on 19 May 2016

[edit]

Please add a new tracking category (maybe "Category:Pages with DISPLAYTITLE mismatches") that per Special:Diff/721115414. It's similar to how MediaWiki:Duplicate-displaytitle tracks with Category:Pages with DISPLAYTITLE conflicts. Thank you! — Andy W. (talk ·ctb) 21:33, 19 May 2016 (UTC)[reply]

 Not done. @Andy M. Wang: Please provide the exact test you want this page replaced with for review below then reactivate the edit request. — xaosflux Talk 22:55, 19 May 2016 (UTC)[reply]

It's the update that Anomie did at MediaWiki:Duplicate-displaytitle. Essentially:

  • Create page "Category:Pages with DISPLAYTITLE mismatches" with
{{polluted category}}
{{Wikipedia category|hidden=yes|tracking=yes|description=This category tracks pages which specify the <tt>{{DISPLAYTITLE:...}}</tt> [[Help:Magic words|magic word]] with a string whose value does not match the page title.}}
{{Empty category}}

[[Category:Wikipedia item cleanup|DISPLAYTITLE mismatches]]
  • Replace MediaWiki:Restricted-displaytitle with:
<strong>Warning:</strong> Display title "$1" was ignored since it is not equivalent to the page's actual title.{{#ifeq:{{NAMESPACE}}|MediaWiki||[[Category:Pages with DISPLAYTITLE mismatches|
{{#switch:{{NAMESPACE}}
|{{ns0}}=
|Talk=
|User=Υ
|User talk=υ
|Wikipedia=Ω
|Wikipedia talk=ω
|File=Φ
|File talk=φ
|MediaWiki=Μ
|MediaWiki talk=μ
|Template=Τ
|Template talk=τ
|Help=Η
|Help talk=η
|Category=Κ
|Category talk=κ
|Portal=Ρ
|Portal talk=ρ
}}{{PAGENAME}}]]}}

Cheers, — Andy W. (talk ·ctb) 22:59, 19 May 2016 (UTC)[reply]

I was working on a tracking category before seeing this and created Category:Pages with disallowed DISPLAYTITLE modifications. I think Category:Pages with DISPLAYTITLE mismatches would sound too similar to Category:Pages with DISPLAYTITLE conflicts which is for pages with two different DISPLAYTITLE. MediaWiki:Restricted-displaytitle is for pages where a DISPLAYTITLE makes other modifications to the real title than allowed at WP:DISPLAYTITLE. PrimeHunter (talk) 00:33, 20 May 2016 (UTC)[reply]
@PrimeHunter: Yeah, that sounds fine. The code update still looks fine, right? — Andy W. (talk ·ctb) 00:35, 20 May 2016 (UTC)[reply]
Yes, I have added the code with Category:Pages with disallowed DISPLAYTITLE modifications. The category will take time to auto-populate. PrimeHunter (talk) 00:48, 20 May 2016 (UTC)[reply]