Last modified: 2009-01-06 22:21:28 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 T16433, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14433 - #ifexist:Image and #ifexist:Media return False all the time
#ifexist:Image and #ifexist:Media return False all the time
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-06-06 08:00 UTC by Stéphane Roucheray
Modified: 2009-01-06 22:21 UTC (History)
3 users (show)

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


Attachments

Description Stéphane Roucheray 2008-06-06 08:00:11 UTC
#ifexist:Image and #ifexist:Media return False all the time

Tested on MW 1.12 / ParserFunctions 1.1.1
Comment 1 Brion Vibber 2008-06-06 17:47:32 UTC
These should return true if and only if pages named "Image" and "Media", respectively, exist.

Do they?
Comment 2 Daniel Friesen 2008-06-06 23:12:23 UTC
Yes, it's something I ran into as well.

The trunk version of pfunc has this bug when combined with 1.12, however it works fine with 1.13.

The 1.12 branch of pfunc works fine with 1.12 however. So I adopted using the branched version for 1.12, and the trunk version with trunk.

I expect it has something to do with new code. I believe it was tweaked to check for images rather than pages (which does make some logical sense) but the backend may have changed a bit.
Comment 3 Siebrand Mazeland 2008-08-16 22:25:34 UTC
Current stable version is 1.13. I think this issue should be marked resolved, if it does not occur in 1.13 or 1.14alpha.
Comment 4 MZMcBride 2009-01-06 22:21:28 UTC
Closing as RESOLVED FIXED.

There used to be image detection issues with #ifexist and Media: / File:, but as far as I'm aware, all of these have been resolved (at least to the extent that they no longer return false all the time).

Please open a new bug if there are new issues.

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


Navigation
Links