Last modified: 2013-01-23 16:06:10 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 T46279, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44279 - Table text in Semantic Forms getting converted to links!
Table text in Semantic Forms getting converted to links!
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-23 11:56 UTC by Neill Mitchell
Modified: 2013-01-23 16:06 UTC (History)
1 user (show)

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


Attachments

Description Neill Mitchell 2013-01-23 11:56:15 UTC
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?
Comment 1 Neill Mitchell 2013-01-23 16:06:10 UTC
This was after an upgrade from SMW 1.7 to 1.8. So I imported content into a new clean install and the problem has gone away.

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


Navigation
Links