Page MenuHomePhabricator

Ability to disable footer links with "-" stopped working in 1.40
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Edit MediaWiki:disclaimers (for example) to contain "-"

What happens?:
See a dash on footer

What should have happened instead?:
The footer link should be disabled

Software version (skip for WMF-hosted wikis like Wikipedia):
1.40.2

Other information (browser name/version, screenshots, etc.):

Trying to disable with space doesn't work either:

<ul id="footer-places">
<li id="footer-places-privacy"><a href="/wiki/Nimiarkisto:Tietosuojak%C3%A4yt%C3%A4nt%C3%B6">Käyttöehdot</a></li>
<li id="footer-places-about"><a href="/wiki/Nimiarkisto:Tietosuojak%C3%A4yt%C3%A4nt%C3%B6"></a></li>
<li id="footer-places-disclaimers"><a href="/wiki/Nimiarkisto:Tietosuojak%C3%A4yt%C3%A4nt%C3%B6"></a></li>

Event Timeline

Trying to disable with space doesn't work either:

<ul id="footer-places">
<li id="footer-places-privacy"><a href="/wiki/Nimiarkisto:Tietosuojak%C3%A4yt%C3%A4nt%C3%B6">Käyttöehdot</a></li>
<li id="footer-places-about"><a href="/wiki/Nimiarkisto:Tietosuojak%C3%A4yt%C3%A4nt%C3%B6"></a></li>
<li id="footer-places-disclaimers"><a href="/wiki/Nimiarkisto:Tietosuojak%C3%A4yt%C3%A4nt%C3%B6"></a></li>

Also the two "disabled" footer links are pointed to the privacy policy (Mediawiki:privacypage), same as the first and non-disabled footer link.

Change 1008875 had a related patch set uploaded (by 沈澄心; author: 沈澄心):

[mediawiki/core@master] Make footer links disableable

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

Test wiki created on Patch demo by 沈澄心 using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/66e30542b9/w

Change 1008875 merged by jenkins-bot:

[mediawiki/core@master] Make footer links disableable

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

Change 1009727 had a related patch set uploaded (by Nikerabbit; author: 沈澄心):

[mediawiki/core@REL1_40] Make footer links disableable

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

Change 1009728 had a related patch set uploaded (by Nikerabbit; author: 沈澄心):

[mediawiki/core@REL1_41] Make footer links disableable

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

Change 1009728 merged by jenkins-bot:

[mediawiki/core@REL1_41] Make footer links disableable

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

Change 1009727 merged by jenkins-bot:

[mediawiki/core@REL1_40] Make footer links disableable

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

Nikerabbit claimed this task.