Last modified: 2014-02-12 23:37:57 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 T48714, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46714 - If "Display if not empty" is checked then "Hold the list of values" doesn't work
If "Display if not empty" is checked then "Hold the list of values" doesn't work
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
PageSchemas (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-30 08:17 UTC by Yury Katkov
Modified: 2014-02-12 23:37 UTC (History)
3 users (show)

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


Attachments

Description Yury Katkov 2013-03-30 08:17:44 UTC
Create a PageSchema with the field that hold list of values and is displayed if not empty. 
instead of getting something like.

{{#if:{{{test_field|}}}|! Test Field
{{!}} {{#arraymap:{{{test_field|}}}|,|x|[[test_field::x]]}}}}

You will get something like this: 


{{#if:{{{test_field|}}}|! Test Field
{{!}} [[test_field::{{{test_field|}}}]]}}


I can see that on this page on the field BUGGY FIELD: 

http://scratchpad.referata.com/wiki/Testing_david%27s_bug
http://scratchpad.referata.com/wiki/Category:Q - the category and the page schema
Comment 1 Yury Katkov 2013-03-30 13:59:29 UTC
this bug rather belongs to Semantic Forms because the source of an error somewhere in SF_TemplateField.php

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


Navigation
Links