Jump to content

Extension:MobileFrontend/Deployments/2012-11-27

From mediawiki.org

High-level changes

[edit]
i18n changes
Styling changes
    * center the Navigation header excluding the back arrow
    * introduce styling for code pre tags for pages like MediaWiki:Mobile.css and MediaWiki:Mobile.js
    * table styling changes
    * nested table changes
    * styling changes for search results page
Allow access to getArticleUrl for reuse
Added Nov 27th
[edit]
Some of https://mingle.corp.wikimedia.org/projects/mobile/cards/214 but still waiting for https://gerrit.wikimedia.org/r/#/c/35298/ to be merged
Changes in the target context that is believed to fix https://bugzilla.wikimedia.org/show_bug.cgi?id=42480 ... will test when it's deployed to the testwiki

Git log

[edit]

commit ccddde8f0762b0f438d78669b523f8d7bdcbecdb Author: awjrichards <arichards@wikimedia.org> Date: Tue Nov 27 12:32:46 2012 -0700

   Correct target context for mobile.desktop resource
   
   The mobile.desktop resource should only ever get loaded on the
   desktop version of the site; I suspect that having the incorrect
   target defined is what was causing bug #42480.
   
   Change-Id: I4ba9f11e140a466315c6ee2f04a270951bde9eca

commit b3418e489747145dc60e3d3531dbbc5e60396782 Author: Max Semenik <maxsem.wiki@gmail.com> Date: Tue Nov 27 00:24:14 2012 +0400

   Story 214 - update mobile detection rules
   
   This is a PHP part of it, will also need Varnish and Squid changes.
   Incorporates Jon's tests from change 31581.
   
   Change-Id: I9ffcd4a9c6e2235d203a06e1053c977bb3038694

commit 0743317d65afba181d73c29a903c84acf9b0a3ef Author: Translation updater bot <l10n-bot@translatewiki.net> Date: Sun Nov 25 20:51:16 2012 +0000

   Localisation updates from http://translatewiki.net.
   
   Change-Id: I5c35109837bd92b77d3abbebcf12be21d74f9476

commit 69f453d855af65f4f99b27f4ae5c8221fc762932 Author: Translation updater bot <l10n-bot@translatewiki.net> Date: Fri Nov 23 21:44:45 2012 +0000

   Localisation updates from http://translatewiki.net.
   
   Change-Id: I5e8becce97a26965cebb7d6e29dbf62baa5af3df

commit a3230a9fff7e6cc791be7cb31e39a6a596c6c2de Author: Translation updater bot <l10n-bot@translatewiki.net> Date: Thu Nov 22 20:44:23 2012 +0000

   Localisation updates from http://translatewiki.net.
   
   Change-Id: Id61be71f6820d9ab6228e9135169489732aa9608

commit 33f3b01839ff3ca7f17412bef0fdf5789d737217 Author: jrobson <jrobson@wikimedia.org> Date: Mon Nov 19 16:35:54 2012 +0530

   center the heading relative to the back arrow
   
   in the overlays the heading in the header should be centered in the
   space excluding the arrow. currently it is centered in the entire
   header.
   
   Change-Id: Ie4b8aa5f254118a0591cfb615adefaca610b29de

commit b04c596a228adce3fc7fdb432461d26b51825864 Author: jrobson <jrobson@wikimedia.org> Date: Tue Oct 30 11:25:49 2012 -0700

   introduce styling for code pre tags
   
   for pages like MediaWiki:Mobile.css and MediaWiki:Mobile.js
   
   Change-Id: Ifbe0ef48781dbba76cea7fd5ddefee1562ef21b5

commit 0ddb4622e08d13dc101b0ac521a57e659952c41e Author: jrobson <jrobson@wikimedia.org> Date: Fri Nov 9 16:28:08 2012 +0530

   table styling cleanup
   
   remove table styling that is not overriding inline styles (ie. anything
   that is not important)
   remove border and padding altogether
   keep border-box but put it in mf-common (more logical place)
   
   Change-Id: I886df9bc2cd7e1cb4696f4faeaaa3b02191dd6fb

commit 8472d7c2570f31b0d3284417419b25233bd59390 Author: jrobson <jrobson@wikimedia.org> Date: Thu Nov 8 10:23:47 2012 +0800

   nest tbody under table
   
   if we want to limit this table behaviour to certain situations
   it makes it more trivial to change
   
   Change-Id: I62142ab98df54cdcfcf8534854742f952d56b051

commit 5a1caaea9bdbaf2868a9e392436c30026f6aaa9e Author: jrobson <jrobson@wikimedia.org> Date: Thu Nov 8 10:14:12 2012 +0800

   nest specific table rules / throw away strange rules
   
   nest table.wikitable and table.gallery
   table.admin having a fixed width of 300px makes no sense - it should have
   100% width by default
   table.toc shouldn't exist - we don't show this on mobile
   
   Change-Id: Idc8baf55b58609fc6c2a8b02dcce1998b6af3ac3

commit 5959581e8fcaeb3bf61000475413d2ed16193b7d Author: jrobson <jrobson@wikimedia.org> Date: Mon Nov 19 16:26:25 2012 +0530

   improve styling of search results page
   
   hard to distinguish meta data from page link
   
   this improves this situation
   
   Change-Id: Ib0dc8e736a04c6f4a42b84828a7e8d4443cbc405

commit 1faca8bad61f941499260300d3f4133aec88dab7 Author: jrobson <jrobson@wikimedia.org> Date: Fri Nov 9 17:35:22 2012 +0530

   indent try again random box
   
   this styles the box that shows the try again text with a slight
   indent so that it looks different from article text
   
   Change-Id: I343bd4aea340d3d8446ea217e170290c4290e382

commit 6e5ed531f7fb3528c071535b776b9f8f1bad9a98 Author: jrobson <jrobson@wikimedia.org> Date: Fri Nov 9 17:20:42 2012 +0530

   expose getArticleUrl function
   
   encourage consistency
   
   Change-Id: Id3687bb6fd1347f0d5f4446ccd18e1b097324f47