User:Jasperchua99/common.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MassEdit/code.js',    ] });

/** * @description: * This script makes the NewPP parser report visible on every content page at the bottom. * @required modules: 'mediawiki.util' */ $('#mw-content-text').contents.filter(function {	return this.nodeType == 8 && /^\s*(NewPP|Transclusion|Saved) /.test(this.data); }).replaceWith(function  {	return $(' ', { dir: 'ltr' }).text($.trim(this.data)); });