r81152 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81151‎ | r81152 | r81153 >
Date:19:32, 28 January 2011
Author:krinkle
Status:ok (Comments)
Tags:
Comment:
Made mediaWiki JS test suite table no longer sortable. This functionality broke with the introduction of hide/show clickers in r81126. But we don't need this so we might as well remove it.
Modified paths:
  • /trunk/phase3/resources/mediawiki.util/mediawiki.util.test.js (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/mediawiki.util/mediawiki.util.test.js
@@ -83,7 +83,7 @@
8484 '<p>Below is a list of tests to confirm proper functionality of the mediaWiki JavaScript library</p>'
8585 + '<p>' + skinLinksText + '</p>'
8686 + '<hr />'
87 - + '<table id="mw-mwutiltest-table" class="wikitable sortable" style="white-space:break; font-family:monospace,\'Courier New\'; width:100%;">'
 87+ + '<table id="mw-mwutiltest-table" class="wikitable" style="white-space:break; font-family:monospace,\'Courier New\'; width:100%;">'
8888 + '<tr><th>Exec</th><th>Should return</th><th>Does return</th><th>Equal ?</th></tr>'
8989 + '</table>'
9090 );

Follow-up revisions

RevisionCommit summaryAuthorDate
r81154* Adding cursor:pointer when hovering the headers (which hide/show stuff)...krinkle19:38, 28 January 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81126JS tests: fold headers, adapt style...hashar12:13, 28 January 2011

Comments

#Comment by Hashar (talk | contribs)   14:41, 29 January 2011

One way to support sorting would be to dynamically hide headers. Looks useless anyway.

Marking 'ok'

Status & tagging log