r74984 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74983‎ | r74984 | r74985 >
Date:00:14, 19 October 2010
Author:tparscal
Status:ok
Tags:
Comment:
Added stub for mediawiki.parser module.
Modified paths:
  • /branches/uploadwizard/phase3/resources/Resources.php (modified) (history)
  • /branches/uploadwizard/phase3/resources/mediawiki/mediawiki.parser.js (added) (history)

Diff [purge]

Index: branches/uploadwizard/phase3/resources/Resources.php
@@ -304,6 +304,9 @@
305305 'scripts' => 'resources/mediawiki/mediawiki.js',
306306 'debugScripts' => 'resources/mediawiki/mediawiki.log.js',
307307 ) ),
 308+ 'mediawiki.parser' => new ResourceLoaderFileModule( array(
 309+ 'scripts' => 'resources/mediawiki/mediawiki.parser.js',
 310+ ) ),
308311
309312 /* MediaWiki Legacy */
310313
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
116 + native
Added: svn:mime-type
217 + text/plain

Status & tagging log