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

       Web browser: ---
            Bug ID: 44279
           Summary: Table text in Semantic Forms getting converted to
                    links!
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SemanticForms
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Hi.

I'm running SMW bundle 1.8, SF 2.5.1 on MW 1.19.3

I have the following in a form:

! Master enquiry:
| {{{field|Master Enquiry|input type=dropdown|restricted}}}

When I save the form it gets changed in the actual form itself to:

! [[Master enquiry]]:
| {{{field|Master Enquiry|input type=dropdown|restricted}}}

What on earth is going on here? Surely this is just wiki markup at this point.

It struck me that I have a page called Master Enquiry. So I tried:

! Master enquire:
| {{{field|Master Enquiry|input type=dropdown|restricted}}}

and it saves correctly without the [ ]. So as a test I tried:

! Main Page:
| {{{field|Master Enquiry|input type=dropdown|restricted}}}

and lo and behold this gets saved as:

! [Main Page]:
| {{{field|Master Enquiry|input type=dropdown|restricted}}}

So it looks like something is converting any text within the form that
coincidentally has a matching page in the wiki to a link to that page in the
form.
This is not happening elsewhere in the wiki, only in forms.

I can only assume this is not intended behaviour?

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

Reply via email to