User:MaxSem/Mobile HTML transformations

From MediaWiki.org
Jump to navigation Jump to search

Default (wiki-independent) removals[edit]

As of https://gerrit.wikimedia.org/r/#/c/69585/4/includes/formatters/MobileFormatter.php

  • table.toc - We can tweak the parser to return HTML without the TOC on demand.
  • #search - has comment // remove search form element from Special:Search - ???
  • div.magnify - Change parser to output the magnify icon in CSS?
  • span.t - ???
  • .mw-search-createlink
  • #ogg_player_1 and #ogg_player_2 - per the recent wikitech-l discussion, we can safey remove these rules
  • .nomobile - Do it in CSS?
  • Red links - Stop removing once we make editing stable?

WMF-specific removals[edit]

As of https://gerrit.wikimedia.org/r/#/c/66891/1/wmf-config/InitialiseSettings.php

  • .metadata - Lots of uses. Hide appropriate subclasses with site CSS
  • div.stub - For stub templates. Can be shown once we start exposing editing interface prominently
  • div.sister-project - ??? is this? enwiki dump scan shows no such class.
  • .portal - Why remove it in the first place?
  • .boilerplate - ???
  • .hiddenStructure - Sigh. Just sigh.
  • .medialist - Don't remove?