Last modified: 2013-04-13 07:58:52 UTC
The test jquery.tablesorter.test.js: Accented Characters with custom collation fails in Konqueror 3.5 (Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9 (like Gecko) SUSE) with Died on test #1: Undefined value - { "name": "TypeError", "message": "Undefined value", "message": "Undefined value", "line": 718 } due to strange behavior with non-ASCII lower-/uppercase. Take as example the following HTML: <html><head><meta http-equiv="content-type" content="text/html; charset=utf8" /><title>Test</title><script ctype="text/javascript"> alert('ä'.toUpperCase()); alert('Ä'.toLowerCase()); alert('Ä'.search(/ä/i)); </script></head><body></body></html> All my other browsers show Ä - ä - 0. But Konqueror shows ä - Ä - 0 (sic!), i. e. toUpperCase and toLowerCase don't work with non-ASCII characters, while the i-flag in RegExps does work. If you set mw.config.set('tableSorterCollation', {'ä': 'ae', 'Ä': 'ae', 'ö' : 'oe', 'Ö': 'oe', 'ß': 'ss', 'ü':'ue', 'Ü': 'ue'}); the test works in Konqueror, too. The tablesorter plugin should take care that strange settings for tableSorterCollation at least don't throw an error (somewhere in the format function in ts.addParser({id: 'text'})). The documentation (if there is any) should advise to include both lower and upper case letters in tableSorterCollation.
Closing this old bug as WONTFIX. Konqueror 3.5 is really old, in current versions the bug causing this has been fixed (https://bugs.kde.org/show_bug.cgi?id=48182), [[de:MediaWiki:Common.js]] sets both 'Ä' and 'ä', so this isn't an actual problem.