r94968 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94967‎ | r94968 | r94969 >
Date:23:54, 18 August 2011
Author:preilly
Status:ok (Comments)
Tags:
Comment:
remove these from default
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -62,15 +62,10 @@
6363 * be stripped from the page. See $itemsToRemove for more info
6464 */
6565 $wgMFRemovableClasses = array(
66 - 'table.metadata', # ugly metadata
67 - '.metadata mbox-small',
68 - '.metadata plainlinks ambox ambox-content',
69 - '.metadata plainlinks ambox ambox-move',
70 - '.metadata plainlinks ambox ambox-style',
7166 );
7267
7368 class ExtMobileFrontend {
74 - const VERSION = '0.5.37';
 69+ const VERSION = '0.5.38';
7570
7671 /**
7772 * @var DOMDocument

Follow-up revisions

RevisionCommit summaryAuthorDate
r94969mft r94968preilly23:55, 18 August 2011

Comments

#Comment by Preilly (talk | contribs)   00:02, 19 August 2011

These have now been moved to the InitialiseSettings.php file and are set as follows:

'wmgMFRemovableClasses' => array(

       'default' => array('table.metadata',
                          '.metadata mbox-small',
                          '.metadata plainlinks ambox ambox-content',
                          '.metadata plainlinks ambox ambox-move',
                          '.metadata plainlinks ambox ambox-style',),

),

Status & tagging log