Page MenuHomePhabricator

Special:Badtitle should not have class="new"
Open, Needs TriagePublic

Description

Wikilinks to the special page, Special:Badtitle, are being styled with class "new" - although this is a valid target.

Example:
https://test.wikipedia.org/w/index.php?title=SpecialBadTitle&oldid=449380

Please remove the class styling when this wikilink is parsed

Event Timeline

Xaosflux created this task.Sep 15 2020, 5:59 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 15 2020, 5:59 PM

Special:Badtitle is not really a conventional special page, it's just an adhoc error page. It makes sense to make it blue though, since it has viewable content.

Is there a way do make it blue? F.Y.I. Special:Badtitle is red not just in Wikipedia, but red in about every single project.

@Gioguch that is what this request will do, it is "red" because it has the "new" class on it, it shouldn't need that class

Is there a way do make it blue? F.Y.I. Special:Badtitle is red not just in Wikipedia, but red in about every single project.

If you want fix it, you can propose a patch. FYI this needs to be done in includes/Title.php

@Ammarpad How to propose a patch?

Ammarpad added a comment.EditedSep 28 2020, 5:17 AM

There's some info on Gerrit/Tutorial. You can also use Gerrit Patch Uploader tool.