https://bugzilla.wikimedia.org/show_bug.cgi?id=52543
Web browser: ---
Bug ID: 52543
Summary: stripprefix=1 on Special:PrefixIndex completely hides
first link
Product: MediaWiki
Version: 1.22-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Special pages
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
Not much to explain. If you use the new stripprefix=1 checkbox at
[[Special:PrefixIndex]] and you use an existing page name as the prefix the
first link is stripped to an empty string and therefor completely hidden.
http://en.wikipedia.org/wiki/Special:PrefixIndex/WP:WikiProject_Comics?stripprefix=1
The resulting HTML looks like this (no content between <a> and </a>):
<a href="/wiki/Wikipedia:WikiProject_Comics" title="Wikipedia:WikiProject
Comics"></a>
Not sure if this should be a "major" bug because it could make you think an
existing page does not exist.
Simply solution: Display the unstripped page name in case the stripped page
name matches /^\s*$/s. This would be a lot more useful in my opinion than a
constant replacement.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l