r109655 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109654‎ | r109655 | r109656 >
Date:22:21, 20 January 2012
Author:gwicke
Status:deferred
Tags:
Comment:
Remove a few stray debug prints and disable debugging in parse.js
Modified paths:
  • /trunk/extensions/VisualEditor/modules/parser/parse.js (modified) (history)
  • /trunk/extensions/VisualEditor/modules/parser/pegTokenizer.pegjs.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/parser/parse.js
@@ -20,7 +20,7 @@
2121 wgScriptExtension: ".php",
2222 fetchTemplates: true,
2323 // enable/disable debug output using this switch
24 - debug: true
 24+ debug: false
2525 } ),
2626 parser = new ParserPipeline( env );
2727
Index: trunk/extensions/VisualEditor/modules/parser/pegTokenizer.pegjs.txt
@@ -766,7 +766,7 @@
767767 obj.attribs.push(['data-json-args', JSON.stringify(params)]);
768768 obj.defaultvalue = params[0][1];
769769 }
770 - console.log( 'tokenizer tplarg ' + JSON.stringify( obj ));
 770+ //console.log( 'tokenizer tplarg ' + JSON.stringify( obj ));
771771 return obj;
772772 }
773773

Status & tagging log