r94935 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94934‎ | r94935 | r94936 >
Date:20:28, 18 August 2011
Author:preilly
Status:ok
Tags:
Comment:
fix for r94917
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/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',

Follow-up revisions

RevisionCommit summaryAuthorDate
r94936mft r94935preilly20:29, 18 August 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r94917add addtional wikipedia specific css selector for template — remember that ...preilly18:50, 18 August 2011

Status & tagging log