Last modified: 2012-10-29 23:47:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43469, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41469 - [Regression] jquery.tablesorter: "unsortable" causes TypeError: h[list[i][0]] is undefined
[Regression] jquery.tablesorter: "unsortable" causes TypeError: h[list[i][0]]...
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.21.x
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-28 14:05 UTC by Fomafix
Modified: 2012-10-29 23:47 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Fomafix 2012-10-28 14:05:21 UTC

    
Comment 1 Fomafix 2012-10-28 14:10:55 UTC
Test case:

{| class="wikitable sortable"
|-
! Head 1
! class="unsortable" | Head 2
|-
| Body 1 || Body 2
|}

Click on Head 2

JavaScript error: TypeError: h[list[i][0]] is undefined
Comment 2 Andre Klapper 2012-10-29 16:28:00 UTC
Where eactly does this happen? 
Cannot reproduce on http://test2.wikipedia.org/wiki/Bug41469
Comment 3 Fomafix 2012-10-29 21:33:47 UTC
On dewiki or enwiki with 1.21wmf2 (0b3ede6) the error happens:

https://de.wikipedia.org/wiki/Spezial:Vorlagen_expandieren?input={|+class%3D%22wikitable+sortable%22%0D%0A|-%0D%0A!+Head+1%0D%0A!+class%3D%22unsortable%22+|+Head+2%0D%0A|-%0D%0A|+Body+1+||+Body+2%0D%0A|}


With 1.21wmf3 (303c14d) the error doesn't exist anymore:

https://www.mediawiki.org/wiki/Special:ExpandTemplates?input={|+class%3D"wikitable+sortable"%0D%0A|-%0D%0A!+Head+1%0D%0A!+class%3D"unsortable"+|+Head+2%0D%0A|-%0D%0A|+Body+1+||+Body+2%0D%0A|}
Comment 4 Krinkle 2012-10-29 23:47:20 UTC
Can't find any particular commit that would've fixed this, but closing as works for me. Please re-open if it happens on a wiki running 1.21wmf3 (or later).

Schedule:
https://www.mediawiki.org/wiki/MediaWiki_1.21/Roadmap#Schedule_for_the_deployments

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links