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

       Web browser: ---
            Bug ID: 46326
           Summary: Subject/headline previews for new talk sections not
                    sanitized correctly
           Product: MediaWiki
           Version: 1.21-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Parser
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee 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