Page MenuHomePhabricator

transcluding Special:Prefixindex for a target without prefixes should return null
Closed, ResolvedPublic

Description

Author: happy_melon

Description:
Currently {{#if:{{Special:PrefixIndex/Foo/}}|yes|no}} will *always* return "yes", even if the page [[Foo]] does not have any subpages. Looking at the HTML, it seems that it includes a <br/> when there is no target list; it should return an empty string.


Version: unspecified
Severity: minor

Details

Reference
bz17138

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:25 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz17138.
bzimport added a subscriber: Unknown Object (MLST).

happy.melon.wiki wrote:

*** Bug 22434 has been marked as a duplicate of this bug. ***

Gehel claimed this task.
Gehel subscribed.

Linked bug (T22434) has been marked as fixed, this is too old to carry much value anyway. Closing.