Last modified: 2012-12-12 16:13:12 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 T24842, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22842 - Property values cannot handle <nowiki>, <math>, <!-- -->, etc.
Property values cannot handle <nowiki>, <math>, <!-- -->, etc.
Status: REOPENED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
master
All All
: Lowest enhancement (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-15 18:42 UTC by Ryan Lane
Modified: 2012-12-12 16:13 UTC (History)
1 user (show)

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


Attachments

Description Ryan Lane 2010-03-15 18:42:32 UTC
When using <pre>, <source>, and <nowiki> tags, SMW won't record values. This doesn't work when using [[<property>::<value>]] syntax, or {{#set:<property>=<value>}} syntax.

See:

http://sandbox.semantic-mediawiki.org/index.php?title=Test&oldid=19249

For an example.
Comment 1 Markus Krötzsch 2010-03-16 08:39:43 UTC
In MediaWiki, the processing of things like <nowiki> (but also HTML comments <!-- ... -->) always takes precedence over any other markup. This is a basic part of the design of MediaWiki's wiki text syntax and it cannot be changed by an extension (such as SMW). 

So SMW cannot be modified to directly use the plain text input that users have given in contexts like <nowiki>. It might be possible for an extension to restore the original shape of such inputs, or it might be possible to obtain at least the final (page output) shape (the two can be quite different: consider <math>).

In any case, quite some work would be needed to effectively undo/modify the processing order of wiki text in MediaWiki. The practical utility of doing this does not seem to justify this effort now, but we will carefully consider any patches that will be contributed to address this problem.
Comment 2 Nischay Nahata 2012-12-12 16:13:12 UTC
Re-opening with lowest priority as per http://lists.wikimedia.org/pipermail/wikitech-l/2012-November/064240.html

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


Navigation
Links