Last modified: 2008-05-22 06:17:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T15640, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13640 - #ifexist does not detect special pages
#ifexist does not detect special pages
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ParserFunctions (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-07 09:53 UTC by MER-C
Modified: 2008-05-22 06:17 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MER-C 2008-04-07 09:53:31 UTC
I don't know if this is due to performance reasons, but if you supply a special page argument to #ifexist, it always returns false.

Wikitext to reproduce:

{{#ifexist:Main Page|All is usual.|ROGUE ADMIN! WOOP! WOOP! WOOP}}<br>
{{#ifexist:Special:Allpages|Nothing to see here.|BUG ALERT! WOOP! WOOP! WOOP!}}

Expected:

All is usual.
Nothing to see here.

Actual: 

All is usual.
BUG ALERT! WOOP! WOOP! WOOP!

See [[testwiki:User:MER-C/Sandbox]] for the actual results.
Comment 1 MER-C 2008-05-22 06:17:41 UTC
Fixed in r35157.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links