https://bugzilla.wikimedia.org/show_bug.cgi?id=47502

       Web browser: ---
            Bug ID: 47502
           Summary: Using template within form
           Product: MediaWiki extensions
           Version: REL1_20 branch
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: SemanticForms
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Think of this scenario. You have three templates {{Not Started}} {{Ongoing}}
and {{Done}}.

You then create a property called "project status" that could hold the values
above as allowed values.

You then create a form for "project" that will include "project status"

Now the problems.

1. In the form where you have to set project status, instead of seeing the
templates, you see their source code.

2. When choosing one of these values, its source code is actually chosen and so
the verification fails showing you a warning. If you on the other side manually
write {{Not Started}} in the "Edit Source" of the page then you will have no
problems and the page is shown very well.

The problem is that the semantic forms do not support templates well. If they
do then Creating powerful forms become much easier.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to