Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -52,10 +52,16 @@ |
53 | 53 | * Make the classes stripped from page content configurable. Each item will |
54 | 54 | * be stripped from the page. See $itemsToRemove for more info |
55 | 55 | */ |
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 | +); |
57 | 63 | |
58 | 64 | class ExtMobileFrontend { |
59 | | - const VERSION = '0.5.35'; |
| 65 | + const VERSION = '0.5.36'; |
60 | 66 | |
61 | 67 | /** |
62 | 68 | * @var DOMDocument |
— | — | @@ -100,11 +106,6 @@ |
101 | 107 | 'table.toc', # table of contents |
102 | 108 | '#catlinks', # category links |
103 | 109 | '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', |
109 | 110 | 'form', |
110 | 111 | 'div.sister-project', |
111 | 112 | 'script', |