Index: branches/uploadwizard/phase3/resources/Resources.php |
— | — | @@ -304,6 +304,9 @@ |
305 | 305 | 'scripts' => 'resources/mediawiki/mediawiki.js', |
306 | 306 | 'debugScripts' => 'resources/mediawiki/mediawiki.log.js', |
307 | 307 | ) ), |
| 308 | + 'mediawiki.parser' => new ResourceLoaderFileModule( array( |
| 309 | + 'scripts' => 'resources/mediawiki/mediawiki.parser.js', |
| 310 | + ) ), |
308 | 311 | |
309 | 312 | /* MediaWiki Legacy */ |
310 | 313 | |
Index: branches/uploadwizard/phase3/resources/mediawiki/mediawiki.parser.js |
— | — | @@ -0,0 +1,14 @@ |
| 2 | +/* |
| 3 | + * Advanced message parsing |
| 4 | + */ |
| 5 | + |
| 6 | +( function( $ ) { |
| 7 | + |
| 8 | +/* Extension */ |
| 9 | + |
| 10 | +mediaWiki.parser = function( text, options ) { |
| 11 | + // Do clever pasing here... |
| 12 | + return text; |
| 13 | +} |
| 14 | + |
| 15 | +} )( jQuery ); |
Property changes on: branches/uploadwizard/phase3/resources/mediawiki/mediawiki.parser.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 16 | + native |
Added: svn:mime-type |
2 | 17 | + text/plain |