Refactor login hook into MobileFrontend.hooks.php

* Also remove now unnecessary ExtMobileFrontend::attachHooks()
* Changes 'OverloadTemplate' class to account creat/login-specific
abstract class, which felt more appropriate since we had nothing
else using OverloadTemplate, and we need a place to put shared logic/
handling for login/account creation-specific stuff, and it seemed
silly to create yet another class. The naming of these classes
could probably use some improvement, however...
* Exposes RequestContext in abstract template for login/account
creation templates
* Moves data prep for anon watchlist addition after login to template logic

Change-Id: I70bd611b6386e0e1b7f0414fec3decef0e716ac7
(bug 44330) When a user logs in on HTTPS, set a cookie to force them to stay on HTTPS

This uses existing functionality in core to emulate how things work
on the desktop site, to ensure that when a user logs in to the site
using HTTPS, but attempts to view a page on HTTP, they will be
redirected to HTTPS.

Change-Id: I0bcd52581279f9d35087bd9be91b5dc01fa9f702
package messages for toggle module (beta)

currently messages are marked as production only but should also be
available in beta

Change-Id: I8bb0ddcb3308f1a89f00a36fe6f115316f85158b
Merge "Refactor login hook into MobileFrontend.hooks.php"
Merge "(bug 44330) When a user logs in on HTTPS, set a cookie to force them to stay on HTTPS"
Reduce dependency on $wgExtMobileFrontend

Change-Id: Id21bfc41bf5b173f00607e01c424b24ab7272d5f
Merge "Reduce dependency on $wgExtMobileFrontend"
Localisation updates from http://translatewiki.net.

Change-Id: I08badaef658b4db4a49d3e5be5898fe80e96e604
always show watchlist icon in left menu

Change-Id: I4abedd1c113261ba799c60f139313c544727743d
A stopgap measure to make Nearby to work for everyone with a link

Change-Id: I0ecf53cf912768d14bd998cb279e88a1858cb9e6
Merge "A stopgap measure to make Nearby to work for everyone with a link"
Revert "A stopgap measure to make Nearby to work for everyone with a link"

This reverts commit 0f86877eb4bb73f8a0f0b03df34830c6ecabc068
Merge "Revert "A stopgap measure to make Nearby to work for everyone with a link""
overhaul of special pages (bug 44042)

Give all special pages the div with class content so default pages
have a margin and are readable

Where no margin is required these special pages must access the skin
and force it

make noMargins only turn off margin on child .content elements

remove unnecessary div on watchlist page

Change-Id: I16562952741e93ce7a3720b34923db92afd5fdef
Merge "always show watchlist icon in left menu"
clicking uploads when anon redirects to login (story 359)

* add prepareTemplateUrls function - prepareTemplate is too meaty
* add getLoginUrl method. With $wgMFForceSecureLogin the abstraction seems to be
useful for code reduction
* add getLoginPageHeading to allow customisation of the heading based on the returnto value
* take away can upload check. Firstly this applies to the current wiki so is
wrong when uploads go elsewhere e.g. commons, secondly the page should be visible
to these users (in future we may want to tell them how they can upload)

Change-Id: I28b4b71984928b265fe513b48de1cc36029d76ed
Merge "package messages for toggle module (beta)"
Merge "clicking uploads when anon redirects to login (story 359)"
Merge "overhaul of special pages (bug 44042)"
Localisation updates from http://translatewiki.net.

Change-Id: I0d6a4bb7a76e59db7a28a8a9f8f7cdf9a8e5c960