Last modified: 2011-04-14 15:11:06 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 T26905, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24905 - ifexpr to consider localized true and false values
ifexpr to consider localized true and false values
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
ParserFunctions (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-22 16:25 UTC by Toni Hermoso Pulido
Modified: 2011-04-14 15:11 UTC (History)
0 users

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


Attachments

Description Toni Hermoso Pulido 2010-08-22 16:25:02 UTC
Hello, I'm using Semantic MediaWiki and ParserFunctions and I'm wondering if {{#ifexpr:}} could use a same approach for triggering if true or if false actions.
That way ifeq would be avoided when there could be many possible strings, so syntax could become less complex.

{{#ifexpr: {{{Aprovat}}} | value if true | value if false }}

'Aprovat' parameter, from a template, could have the following values in Catalan, for instance:
http://translatewiki.net/wiki/MediaWiki:Smw_true_words/ca
http://translatewiki.net/wiki/MediaWiki:Smw_false_words/ca

I guess ParserFunctions should have a similar string to be localizable.

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


Navigation
Links