From: Siebrand Mazeland Date: Mon, 2 Feb 2009 16:41:16 +0000 (+0000) Subject: * (bug 17105) Numeric table sorting broken. Patch contributed by Michael Walsh. X-Git-Tag: 1.31.0-rc.0~43068 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=0a32229ef2a2343a16986f805688e1baceffcc87;p=lhc%2Fweb%2Fwiklou.git * (bug 17105) Numeric table sorting broken. Patch contributed by Michael Walsh. * removed some trailing whitespace in RELEASE-NOTES --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 46bb25fbc0..366abc8753 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -39,9 +39,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN hyperlinking to the site's Terms of Service page, for example * Add new hook 'UserLoadFromDatabase' that is called while loading a user from the database. -* (bug 17045) Options on the block form are prefilled with the options of the +* (bug 17045) Options on the block form are prefilled with the options of the existing block when modifying an existing block. -* (bug 17055) "(show/hide)" links to Special:RevisionDelete now use a CSS class +* (bug 17055) "(show/hide)" links to Special:RevisionDelete now use a CSS class rather than hardcoded HTML tags * Added new hook 'WantedPages::getSQL' into SpecialWantedpages.php to allow extensions to alter the SQL query which is used to get the list of wanted @@ -73,7 +73,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN "mw-confirmemail-pending" * Local redirects to foreign images are now displayed on the ImagePage when viewing on the local wiki. -* (bug 8249) The magic words for namespaces and pagenames can now be used as +* (bug 8249) The magic words for namespaces and pagenames can now be used as parser functions to return the desired namespace or normalized title/title part for a given title. * Styled #mw-data-after-content in cologneblue.css to match the rest of the font (bug 17110) @@ -113,7 +113,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN comment label uses better message * Whole HTML validation ($wgValidateAllHtml) now works with external tidy * Parser tests no longer fail when $wgExternalLinkTarget is set in LocalSettings -* (bug 15391) catch DBQueryErrors on external storage insertion. This avoids error +* (bug 15391) catch DBQueryErrors on external storage insertion. This avoids error messages on save were the edit in fact is saved. * (bug 17184) Remove duplicate "z" accesskey in MonoBook * Parser tests no longer fail when $wgAlwaysUseTidy is set in LocalSettings.php @@ -133,7 +133,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 17304) Fixed fatal error when thumbnails couldn't be generated for file history * (bug 17283) Remove double URL escaping in show/hide links for log entries - and RevisionDeleteForm::__construct. + and RevisionDeleteForm::__construct +* (bug 17105) Numeric table sorting broken == API changes in 1.15 == * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js index 089d22d76b..5abd73888f 100644 --- a/skins/common/wikibits.js +++ b/skins/common/wikibits.js @@ -807,7 +807,7 @@ function ts_parseFloat( s ) { } num = parseFloat(s.replace(/,/g, "")); - return (isNaN(num) ? s : num); + return (isNaN(num) ? 0 : num); } function ts_currencyToSortKey( s ) {