On Mon, Jun 27, 2011 at 2:24 PM, Platonides <[email protected]> wrote:
> Brion Vibber wrote: > > Those are internal functions (just poorly namespaced), anything using > them > > can be expected to fail at any time. > > I agree with you. I but note that the new code won't get the > localization fixes done by overriding them, and the new system will > apparently have bugs of not sorting correctly things (eg. months in > content language) which the old script did. > See for instance ts_resortTable at > http://es.wikipedia.org/wiki/MediaWiki:Common.js > > I hope the new sorter provides a clean way to perform such localization, > instead of the ugly way that ts_resortTable was. > In theory yes: * european-order date processing when the language file declares dmy order * explicit checks for month names in content language (confirmation tests welcome!) * I think it _should_ handle comma vs period, but need test cases! * handles language-specific custom character sorting if specified in the way needed for the new code (regex fragments to translate chars), though there doesn't seem to be re-ordering for digraphs or accented chars here. It's probably worth a look to see if any other wikis are doing this patching, if anything needs to be fixed or added to match. -- brion _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
