Fix margins in uploads dashboard

This reduces the margin and font-size for the number of uploads message
(consulted with Munaf).

Also, adds margin at the bottom of the page (after last image's
description) and prevents the upload message from jumping from one place
to another when JS is loaded.

Change-Id: Ibcb8b571204ab9e1651957ff0e286d67f743b95d
Display thumbnails in watchlist using PHP

Easier and saves an API request, improving performance
Use thumbnail size of 150 to ensure the image doesn't look pixelated
Promote watchlist from alpha to beta

Change-Id: I348705da83a9071c23bcb36593c0b3dde3e0a311
Fix photo upload button not working after error

When an error occured when adding a lead photo to an article, the photo
upload button no longer worked and the user was be unable to
retry.

This was caused by jQuery's .remove() unbinding all DOM events, .detach()
should be used instead.

Change-Id: Iba136eeb77ec4eea0b01eb0ded52e813471b50d2
Specify test group explicitly

Change-Id: I53b963070dc0df0a9b3dc1bd385cee5c4cc7ca99
Send all upload request parameters inside FormData

There is no reason for concatenating some of them as a querystring.

Change-Id: Ifacbaa89f80a25a9cd7fada96fe7e9ee7da1d05b
Add photo upload support for Firefox

And possibly any other browser that supports FormData and FileReader.

Change-Id: Id54befc5c5aab662d9a1b9eaf170b5f9c4a75a77
Don't show or log an error when user cancels photo upload

This is a regression after introducing event logging.

Change-Id: I75b75e4d3c884ca76140a9bf55ebb59e679bb45c
(mingle 397) Append configurable string to photo upload description

* Adds config var wgMFPhotoUploadAppendToDesc, the value of which will
be appended to a photo description during upload.

Change-Id: I7df9dce791693ed1fa79b9b2066116430f34cb92
Merge "Display thumbnails in watchlist using PHP"
Merge "Fix margins in uploads dashboard"
Merge changes Id54befc5,Ifacbaa89

* changes:
  Add photo upload support for Firefox
  Send all upload request parameters inside FormData
Use autoless to compile LESS files

autoless is a .less file watcher I put together some time ago and
improved recently. This changeset will not change anything for people
who don't deal with .less files.

For those who do:
* make less is _much_ faster (and it still runs before every commit when
  .less files change)
* there's no need for modifying Makefile when a new .less file is added
  to the project
* you can run make lesswatch and it will keep monitoring .less files for
  changes and generate appropriate .css files if needed (it tracks
  dependencies, so if you change e.g. mf-mixins.less, everything that
  depends on it will get recompiled)

It also adds make installhooks to install all the necessary git hooks
(the new hooks pause lesswatch while doing git rebase so that git
doesn't get confused by .css files being changed during a rebase).

package.json file is used to make sure that appropriate Node.js modules
are installed in MobileFrontend's directory, not parent directories.

The small change in watchlist.css is a result of less not being run
correctly in https://gerrit.wikimedia.org/r/#/c/48861/

Change-Id: I0f095ec206901ea9bad45903953c66d2611311d9
Merge "Specify test group explicitly"
Merge "Don't show or log an error when user cancels photo upload"
Merge "Use autoless to compile LESS files"
Merge "(mingle 397) Append configurable string to photo upload description"
Localisation updates from http://translatewiki.net.

Change-Id: Ieed36fa445ff91a341ad9a99753c35801181764e
(mingle #405) Add dynamic head msg on login/acct create form

* Preserves 'sign up', 'sign in' overlay headers on login/acct create form
* Sets head msg to 'You must be logged in to watch pages.' when login/acct
create form reached from tapping watchlist start
* Sets head msg to 'You must be logged in to see your uploads.' when
login/acct create form reached from Special:DonateImage

Change-Id: I07b1be58ae227d973d4981819da6a8dd38e77142
(bug 43271) Workaround for missing #content_0

This enables the photo upload button in short articles.

Change-Id: Iaa3df3754c2e55973b4402991bd0a69689260169
Move lead photo upload to stable

Change-Id: I2c160255445ae61c4370c55132c78a2d0106e20e