Index: branches/RL2/extensions/Gadgets/Gadgets.php |
— | — | @@ -146,7 +146,8 @@ |
147 | 147 | // Method to interact with API |
148 | 148 | 'ext.gadgets.api' => $gadResourceTemplate + array( |
149 | 149 | 'scripts' => 'ext.gadgets.api.js', |
150 | | - 'dependencies' => 'mediawiki.util', |
| 150 | + // Can't depend on user.tokens yet due to a bug in ResourceLoader (bug 30914) |
| 151 | + 'dependencies' => array( 'mediawiki.util', 'mediawiki.Title'/*, 'user.tokens'*/ ), |
151 | 152 | ), |
152 | 153 | // jQuery plugin |
153 | 154 | 'jquery.createPropCloud' => $gadResourceTemplate + array( |