Last modified: 2013-01-29 12:22:22 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 T46461, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44461 - SMW 1.8 SMWSQLStore3 no longer renders MW links in text properties.
SMW 1.8 SMWSQLStore3 no longer renders MW links in text properties.
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-29 10:43 UTC by Neill Mitchell
Modified: 2013-01-29 12:22 UTC (History)
4 users (show)

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


Attachments

Description Neill Mitchell 2013-01-29 10:43:20 UTC
Hi.

I'm running SMW 1.8 bundle with SMWSQLStore3 on MW 1.19.3.

I've noticed that you can no longer have MW links or images in text property fields.

I have a form field:

! Comment:
| {{{field|comment|input type=textarea|cols=80|rows=4}}}

Template contains:
! Comment
| [[Comment::{{{comment|}}}]]

Comment is a text property.

Examples of broken behaviour:

If you have [http://news.bbc.co.uk BBC News] in the field, it results in
[[Comment::BBC News]] being displayed instead of the link.

If you have [[Advice Page|My Advice]] in the field, it results in
[[Comment::Advice Page]] being displayed instead of the link.

If you have [[File:Open 24x24.png|link=Advice Page]] in the field, it results in
[[Comment::Open 24x24.png]] being displayed instead of the image.

If you have [mailto:joe@bloggs.com|joe@bloggs.com] in the field, it results in
[[Comment::[1]] being displayed instead of the email link.

So users can no longer put external links, internal links, images, files or email links into text fields.

This works fine on 1.17.1 with SMWSQLStore2, so this is a very major regression. The problem is SMWSQLStore3 is the default out of the box now and also, once you upgrade an existing site to SMWSQLStore3 there is no going back.

I assume this will get addressed in the new SMW 1.8.1 release?
 
Thanks.
Comment 1 Neill Mitchell 2013-01-29 12:22:22 UTC
Downgrading as I have found a workaround using pipe escapes.

However, I would suggest that a text property by default should allow any text to be entered without such restrictions. This will totally baffle a great number of users.

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


Navigation
Links