r94936 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94935‎ | r94936 | r94937 >
Date:20:29, 18 August 2011
Author:preilly
Status:ok
Tags:
Comment:
mft r94935
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php
@@ -52,10 +52,16 @@
5353 * Make the classes stripped from page content configurable. Each item will
5454 * be stripped from the page. See $itemsToRemove for more info
5555 */
56 -$wgMFRemovableClasses = array();
 56+$wgMFRemovableClasses = array(
 57+ 'table.metadata', # ugly metadata
 58+ '.metadata mbox-small',
 59+ '.metadata plainlinks ambox ambox-content',
 60+ '.metadata plainlinks ambox ambox-move',
 61+ '.metadata plainlinks ambox ambox-style',
 62+);
5763
5864 class ExtMobileFrontend {
59 - const VERSION = '0.5.35';
 65+ const VERSION = '0.5.36';
6066
6167 /**
6268 * @var DOMDocument
@@ -100,11 +106,6 @@
101107 'table.toc', # table of contents
102108 '#catlinks', # category links
103109 'div.stub', # stub warnings
104 - 'table.metadata', # ugly metadata
105 - '.metadata mbox-small',
106 - '.metadata plainlinks ambox ambox-content',
107 - '.metadata plainlinks ambox ambox-move',
108 - '.metadata plainlinks ambox ambox-style',
109110 'form',
110111 'div.sister-project',
111112 'script',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r94935fix for r94917preilly20:28, 18 August 2011

Status & tagging log