r90618 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90617‎ | r90618 | r90619 >
Date:22:21, 22 June 2011
Author:diebuche
Status:ok (Comments)
Tags:
Comment:
Hopefully fix IE6 regex tablesorter issue
Modified paths:
  • /trunk/phase3/resources/jquery/jquery.tablesorter.js (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/jquery/jquery.tablesorter.js
@@ -488,7 +488,7 @@
489489 IPAddress: [new RegExp(/^\d{1,3}[\.]\d{1,3}[\.]\d{1,3}[\.]\d{1,3}$/)],
490490 currency: [new RegExp(/^[£$€?.]/), new RegExp(/[£$€]/g)],
491491 url: [new RegExp(/^(https?|ftp|file):\/\/$/), new RegExp(/(https?|ftp|file):\/\//)],
492 - isoDate: [new RegExp(/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/)],
 492+ isoDate: [new RegExp(/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/)],
493493 usLongDate: [new RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/)],
494494 time: [new RegExp(/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/)]
495495 };

Follow-up revisions

RevisionCommit summaryAuthorDate
r91782MFT to REL_1_18: jquery tablesorter...hashar08:54, 9 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r90612Fix tablesorting bug that caused weird interferences between two tables; Make...diebuche21:54, 22 June 2011

Comments

#Comment by Brion VIBBER (talk | contribs)   00:14, 23 June 2011

Didn't fix it, but no harm either.

Status & tagging log