http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94936
Revision: 94936 Author: preilly Date: 2011-08-18 20:29:02 +0000 (Thu, 18 Aug 2011) Log Message: ----------- mft r94935 Modified Paths: -------------- branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php Modified: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php =================================================================== --- branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php 2011-08-18 20:28:27 UTC (rev 94935) +++ branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php 2011-08-18 20:29:02 UTC (rev 94936) @@ -52,10 +52,16 @@ * Make the classes stripped from page content configurable. Each item will * be stripped from the page. See $itemsToRemove for more info */ -$wgMFRemovableClasses = array(); +$wgMFRemovableClasses = array( + 'table.metadata', # ugly metadata + '.metadata mbox-small', + '.metadata plainlinks ambox ambox-content', + '.metadata plainlinks ambox ambox-move', + '.metadata plainlinks ambox ambox-style', +); class ExtMobileFrontend { - const VERSION = '0.5.35'; + const VERSION = '0.5.36'; /** * @var DOMDocument @@ -100,11 +106,6 @@ 'table.toc', # table of contents '#catlinks', # category links 'div.stub', # stub warnings - 'table.metadata', # ugly metadata - '.metadata mbox-small', - '.metadata plainlinks ambox ambox-content', - '.metadata plainlinks ambox ambox-move', - '.metadata plainlinks ambox ambox-style', 'form', 'div.sister-project', 'script', _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs