Last modified: 2014-02-12 23:35:39 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 T48326, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46326 - Subject/headline previews for new talk sections not sanitized correctly: template call partially processed
Subject/headline previews for new talk sections not sanitized correctly: temp...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.21.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-19 14:46 UTC by Scott Martin (http://enwp.org/user:scott)
Modified: 2014-02-12 23:35 UTC (History)
0 users

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


Attachments

Description Scott Martin (http://enwp.org/user:scott) 2013-03-19 14:46:40 UTC
Seen on version 1.21wmf11 (English Wikipedia live).

- On any talk page, use the new section widget.
- In the resulting form, put {{<name>}} (where <name> is the name of any template that contains wiki links) in the subject/headline field.
- Hit show preview.

The template call is partially processed, and the resulting output will appear in the subject/headline preview with clickable links in. Any files present in the template will be rendered as links, with the link text being one of the file parameters.

Wrapping the template call in nowiki tags:

 <nowiki>{{<name>}}</nowiki>

results in the template not being processed in the page preview, as expected, but does not affect the subject/headline preview, presumably because the tag has been removed as part of sanitizing HTML content.

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


Navigation
Links