r111061 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111060‎ | r111061 | r111062 >
Date:18:55, 9 February 2012
Author:bsitu
Status:reverted
Tags:nodeploy 
Comment:
Adding dependency for ext.articleCreation.init.js so the page will not throw mw.user not defined error
Modified paths:
  • /trunk/extensions/ArticleCreationWorkflow/ArticleCreationWorkflow.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleCreationWorkflow/ArticleCreationWorkflow.php
@@ -41,6 +41,9 @@
4242
4343 $wgResourceModules['ext.articleCreation.init'] = $acResourceTemplate + array(
4444 'scripts' => 'ext.articleCreation.init/ext.articleCreation.init.js',
 45+ 'dependencies' => array(
 46+ 'mediawiki.user',
 47+ ),
4548 );
4649
4750 $wgResourceModules['ext.articleCreation.core'] = $acResourceTemplate + array (

Follow-up revisions

RevisionCommit summaryAuthorDate
r111121Roll back to 111060 since the dependancy is no longer neededbsitu23:25, 9 February 2012

Status & tagging log