Page MenuHomePhabricator

On enwp, Cite error messages are not shown in User namespace if UI language is English (due to custom on wiki code)
Closed, InvalidPublic

Description

Reproduction steps:

  1. Set UI language to English
  2. Insert some erroneous <ref> tag, like <ref name=undefined />, into the source of a main-namespace page and click Save or Preview
    • OK: The page is inserted into a maintenance category
    • OK: Cite error message is shown
  3. Do the same in your user space, e.g. at Special:MyPage
    • OK: The page is inserted into a maintenance category
    • Expected: Cite error message is shown
    • Actual: Cite error message is missing
  4. Set UI language to Czech, German or probably anything but English
    • OK: Cite error message is shown

MW version: 1.30.0-wmf.5 (rMW0b8c23c02775)

Event Timeline

thiemowmde added subscribers: awight, thiemowmde.

I had a closer look and learned this is not a Cite bug. The fact errors are sometimes hidden is a decision entirely made by the English Wikipedia community, via customized messages and templates:

[[en:MediaWiki:Cite error]]
{{broken ref
[[en:Template:Broken ref]]
| other             = <span class="brokenref">
[[en:MediaWiki:Common.css]]
span.brokenref {
	display: none;
}

This issue does not occur in most namespaces, only in a few that fall under "other". That includes the user namespace.

This issue also does not occur in case your user language is not English, because in this case the customized message https://en.wikipedia.org/wiki/MediaWiki:Cite_error is not used, but one of the unmodified localizations, e.g. https://en.wikipedia.org/wiki/MediaWiki:Cite_error/de.

There is nothing a Cite developer (no matter if staff or volunteer) can do about this. I don't even know how to tag this.

Aklapper renamed this task from Cite error messages are not shown in User namespace if UI language is English to On enwp, Cite error messages are not shown in User namespace if UI language is English (due to custom on wiki code).Dec 11 2019, 2:03 PM
Aklapper closed this task as Invalid.
Aklapper added projects: Cite, I18n.
Aklapper removed a project: Cite.