r54241 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54240‎ | r54241 | r54242 >
Date:22:15, 2 August 2009
Author:simetrical
Status:ok
Tags:
Comment:
Allow <abbr> in wikitext

See bug 671. Since we use <abbr> for RecentChanges flags now (see
r53975), this is necessary to provide a good wikitext legend for what
the flags mean.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Sanitizer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Sanitizer.php
@@ -357,7 +357,7 @@
358358 'h2', 'h3', 'h4', 'h5', 'h6', 'cite', 'code', 'em', 's',
359359 'strike', 'strong', 'tt', 'var', 'div', 'center',
360360 'blockquote', 'ol', 'ul', 'dl', 'table', 'caption', 'pre',
361 - 'ruby', 'rt' , 'rb' , 'rp', 'p', 'span', 'u'
 361+ 'ruby', 'rt' , 'rb' , 'rp', 'p', 'span', 'u', 'abbr'
362362 );
363363 $htmlsingle = array(
364364 'br', 'hr', 'li', 'dt', 'dd'
@@ -1200,7 +1200,7 @@
12011201 # samp
12021202 # kbd
12031203 'var' => $common,
1204 - # abbr
 1204+ 'abbr' => $common,
12051205 # acronym
12061206
12071207 # 9.2.2
Index: trunk/phase3/RELEASE-NOTES
@@ -179,6 +179,7 @@
180180 to {{ns:...}}
181181 * (bug 16322) Allow maintenance scripts to accept DB user/pass over input or params
182182 * (bug 18566) Maintenance script to un/protect pages
 183+* (bug 671) The HTML <abbr> tag is now permitted.
183184
184185 === Bug fixes in 1.16 ===
185186

Follow-up revisions

RevisionCommit summaryAuthorDate
r73880More bug 671: whitelist <kbd> and <samp> for user input. Followup per r70164'...demon11:12, 28 September 2010
r88118Fix Bug 28979 — “remove some CSS for abbr and acronym tags”...mah22:10, 14 May 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r53975* (bug 16311) Make recent change flags acronyms instead of spans. Also move t...demon22:15, 29 July 2009

Status & tagging log