Summary: Allow anchor (<a>) tags in wikitext
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: General/Unknown

Currently, Sanitizer.php bans the use of an <a> tag, even though it's possible
to mostly replicate the effect of an <a> tag using internal or external link
markup (e.g., "[[foo]]" or "[ foo]"). However, wikimarkup
does not allow for certain attributes to be passed to the rendered <a> tag, for
example title="" and target="".

Obviously a whitelist/blacklist would be needed to allow or disallow certain
attributes from being used, however I believe some of this sanitation is
already built in to MediaWiki or could easily be as necessary. Allowing the <a>
tag has a number of benefits and it's the usual practice to allow the HTML
equivalents of markup that's allowed in wikitext.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to