From: Aryeh Gregor Date: Sun, 2 Aug 2009 22:15:28 +0000 (+0000) Subject: Allow in wikitext X-Git-Tag: 1.31.0-rc.0~40558 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=commitdiff_plain;h=81a64cc04fbac0872683efd3a72cf08145d19023;p=lhc%2Fweb%2Fwiklou.git Allow in wikitext See bug 671. Since we use for RecentChanges flags now (see r53975), this is necessary to provide a good wikitext legend for what the flags mean. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 7f2a67a0a9..dee4461896 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -179,6 +179,7 @@ this. Was used when mwEmbed was going to be an extension. to {{ns:...}} * (bug 16322) Allow maintenance scripts to accept DB user/pass over input or params * (bug 18566) Maintenance script to un/protect pages +* (bug 671) The HTML tag is now permitted. === Bug fixes in 1.16 === diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index 47259fb5b3..0cb5b0b8bc 100644 --- a/includes/Sanitizer.php +++ b/includes/Sanitizer.php @@ -357,7 +357,7 @@ class Sanitizer { 'h2', 'h3', 'h4', 'h5', 'h6', 'cite', 'code', 'em', 's', 'strike', 'strong', 'tt', 'var', 'div', 'center', 'blockquote', 'ol', 'ul', 'dl', 'table', 'caption', 'pre', - 'ruby', 'rt' , 'rb' , 'rp', 'p', 'span', 'u' + 'ruby', 'rt' , 'rb' , 'rp', 'p', 'span', 'u', 'abbr' ); $htmlsingle = array( 'br', 'hr', 'li', 'dt', 'dd' @@ -1200,7 +1200,7 @@ class Sanitizer { # samp # kbd 'var' => $common, - # abbr + 'abbr' => $common, # acronym # 9.2.2