r40314 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40313‎ | r40314 | r40315 >
Date:19:53, 1 September 2008
Author:simetrical
Status:old
Tags:
Comment:
(bug 15405) Sort yen correctly in sortable tables

Patch by Mike Horvath.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/skins/common/wikibits.js (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/common/wikibits.js
@@ -614,7 +614,7 @@
615615 sortfn = ts_sort_date;
616616 if (itm.match(/^\d\d[\/.-]\d\d[\/.-]\d\d$/))
617617 sortfn = ts_sort_date;
618 - if (itm.match(/^[\u00a3$\u20ac]/)) // pound dollar euro
 618+ if (itm.match(/^[\u00a3$\u20ac\u00a5]/)) // pound dollar euro yen
619619 sortfn = ts_sort_currency;
620620 if (itm.match(/^[\d.,]+\%?$/))
621621 sortfn = ts_sort_numeric;
Index: trunk/phase3/RELEASE-NOTES
@@ -112,6 +112,7 @@
113113 * Added an on-wiki external image whitelist. Items in this whitelist are
114114 treated as regular expression fragments to match for when possibly
115115 displaying an external image inline.
 116+* (bug 15405) Sort yen correctly in sortable tables
116117
117118 === Bug fixes in 1.14 ===
118119