r107993 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107992‎ | r107993 | r107994 >
Date:08:29, 4 January 2012
Author:nikerabbit
Status:ok
Tags:
Comment:
Typos, casing. Still don't understand "'qunit' is feed using tests/qunit/QUnitTestResources.php"
Ping r107919
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/hooks.txt
@@ -1579,9 +1579,9 @@
15801580 loader request or generating HTML output.
15811581 &$resourceLoader: ResourceLoader object
15821582
1583 -'ResourceLoaderTestModules': let you add new javascript testing modules. This is called after the addition of 'qunit' and MediaWiki testing ressources.
1584 -&testModules: array of javascript testing modules. 'qunit' is feed using tests/qunit/QUnitTestResources.php.
1585 -&RessourceLoader object
 1583+'ResourceLoaderTestModules': let you add new JavaScript testing modules. This is called after the addition of 'qunit' and MediaWiki testing resources.
 1584+&testModules: array of JavaScript testing modules. 'qunit' is feed using tests/qunit/QUnitTestResources.php.
 1585+&ResourceLoader object
15861586 To add a new qunit module named 'myext.tests':
15871587 testModules['qunit']['myext.tests'] = array(
15881588 'script' => 'extension/myext/tests.js',

Follow-up revisions

RevisionCommit summaryAuthorDate
r108006ResourceLoaderTestModules doc: better wording...hashar10:18, 4 January 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r107919merge JSTesting branch into trunk...hashar18:33, 3 January 2012

Status & tagging log