(Go: >> BACK << -|- >> HOME <<)

Page MenuHomePhabricator

Monobook p-search-label is tagged with lang=en-GB attribute
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce

  • Open any page using the Monobook Skin. The user language can be any.
  • Inspect the heading label of the search input, in the sidebar, or view source.

What happens?:

It has a lang="en-GB" property, but the language of the element is not in English:

<h3 id="p-search-label" dir="ltr" lang="en-GB"><label for="searchInput">Buscar</label></h3>

What should have happened instead?:

No lang="en-GB" property should be present.

Software version: This happens since MediaWiki 1.37. This is happening currently on WMF wikis. This didn't happen on MediaWiki 1.36

Event Timeline

Change 805264 had a related patch set uploaded (by PleaseStand; author: PleaseStand):

[mediawiki/skins/MonoBook@master] Fix hardcoded dir and lang for #p-search-label

https://gerrit.wikimedia.org/r/805264

Change 805264 merged by jenkins-bot:

[mediawiki/skins/MonoBook@master] Fix hardcoded dir and lang for #p-search-label

https://gerrit.wikimedia.org/r/805264

Change 805161 had a related patch set uploaded (by PleaseStand; author: PleaseStand):

[mediawiki/skins/MonoBook@REL1_38] Fix hardcoded dir and lang for #p-search-label

https://gerrit.wikimedia.org/r/805161

Change 805162 had a related patch set uploaded (by PleaseStand; author: PleaseStand):

[mediawiki/skins/MonoBook@REL1_37] Fix hardcoded dir and lang for #p-search-label

https://gerrit.wikimedia.org/r/805162

PleaseStand claimed this task.

Change 805161 merged by jenkins-bot:

[mediawiki/skins/MonoBook@REL1_38] Fix hardcoded dir and lang for #p-search-label

https://gerrit.wikimedia.org/r/805161

Change 805162 merged by jenkins-bot:

[mediawiki/skins/MonoBook@REL1_37] Fix hardcoded dir and lang for #p-search-label

https://gerrit.wikimedia.org/r/805162