https://bugzilla.wikimedia.org/show_bug.cgi?id=24905
Summary: ifexpr to consider localized true and false values Product: MediaWiki extensions Version: any Platform: All OS/Version: All Status: NEW Keywords: i18n Severity: enhancement Priority: Normal Component: ParserFunctions AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: toni...@softcatala.org 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. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l