Fix potential issue in ::convertUUIDs

$array argument may not be an array, and ::makeArray is used to
turn it into an array if it isn't already.
Later, however, when a UUID is discovered, it's replaced IN $array,
which may not actually be an array...

This could happen if $array argument if fed a UUID object.
For the loop, that object is converted to an array (will at that
point be a array( UUID )). a UUID will be discovered and attempted
to replace the value in $array, which is still just the UUID object.

Change-Id: I7e753b0ef5936f222af3463fc719044a3d2d0a4f
Separate style modules from JS modules

If you use addModuleStyles AND addModules you add the stylesheet
twice. Thus separate styles into their own modules.

Change-Id: I750abadb4feb00edc7d51dd11322be5514ba87b5
Wrong data type passed to cache::getLastRevisionFor()

This partially rolls back Iaab3b4013725d949ffed327bf5690f7c942eac58

Change-Id: I26cd0bf0538a229327642567d326a841e3813e1e
Get Flow non-JavaScript mode into mobile

Dependency: I618a11e5f8e25752ed2cb82c02d9839c1cd13cac
Change-Id: I25eab09018c412888226c58ac9cb601e1316a390
Localisation updates from https://translatewiki.net.

Change-Id: Iacb6bc1a3cf888a4e353e640f693c578cd7ad37d
Closing & reopening topic

This will only provide api access for closing/reopening topic,
UI change will be implemented in a subsequent patch

Change-Id: I4001a21856a9e7e044704ee6f42908e09578ddb8
Merge "Separate style modules from JS modules"
Localisation updates from https://translatewiki.net.

Change-Id: Idcff3ecd113643de511ce30a80dcda45b85472b9
QA: replace xpath with css now that it is supported

also newer revisions in Gemfile.lock from `bundle update`

Bug: 61579
Change-Id: Ib8a12896bed6dc7d0349bc799a2b6b36c2a0bab8
Merge "Get Flow non-JavaScript mode into mobile"
Closing & Summarizing topic frontend changes

Some additional changes:

* For post/topic/header javascript object, $container is moved to the
  corresponding action object, the reason is that the $container for
  each object is dependent on the action; for example, editting a topic
  has a different container than summarizing a topic

* Make generateBlockAction() handle multiple blocks for the same API request

* Optimize all svg images

Change-Id: Iec2a184387a08674afadc92b7d5bd40d7ec2e68c
Localisation updates from https://translatewiki.net.

Change-Id: Iec919603c1a13452adf3986a50e516d4676f5aa9
Localisation updates from https://translatewiki.net.

Change-Id: I7712a694cc2dcf2c81303ea16e2395af03fb1081
Add permission checking to revision diff

* Throw exception if users don't have permission view either revisions

* The diff should always run against wikitext

The way it works now is a little bit awkward, it will compare moderated html content if the content is not viewable. 

Change-Id: Ic34b168ea7f0126311329b042b1a9e522bc147ff
Fix topic hidden message when collapsed

Bug: 62073
Change-Id: I3c60462a0abf523942beac1ed63e0beb9bd945a4
API: Add prop=flowinfo to detect if Flow is enabled on a page

More things to come in the future!

Bug: 60809
Change-Id: I5201f5faa2413078f6a097b29022f22fb0457762
Implement multiPut method.

Currently uses batch inserts for insert() variant and just loops
through for update().

In theory could use REPLACE for all cases in the future.

Change-Id: I020c1ca6b323e33233e8301348cd5f1b69c90c6e
Merge "Fix potential issue in ::convertUUIDs"
Merge "Fix topic hidden message when collapsed"
Update i18n shim

A performance issue was fixed in the shim(s) generated by
generateJsonI18n.php, so it needed to be updated.

Change-Id: I80015d6945cbc59b75616995e79b0df9c373b420