Merge "Fetch latest title content from API instead of relying on (old) html"
Require getRevisionType in classes that extend AbstractRevision

That method is there in both PostRevision & Header, but we should make it more
explicit that it's needed (especially since AbstractRevision::toStorageRow calls
it)

Change-Id: Ic034a7bfe45fe713bf4ced500c916911af8ee879
Merge "Require getRevisionType in classes that extend AbstractRevision"
Don't dynamically define $container

Change-Id: Ib17b12c8c60460930085ee082590c6ae30c52016
(cherry picked from commit 4055755d6ca6e6da867dee6adf098435c8fba922)
Add Flow events to Special:Contributions.

Bug: 57868
Change-Id: Ibfed9fe1e0e0ec4b185046a0035eb601808130f6
Use FlowAction permissions in AbstractRevision

... instead of the hard-coded permissions, which make it impossible to have
different permissions per action (e.g. to hide posts, users must have flow-hide
permission, but they don't need that permission to see hidden posts)

FlowActions already check permissions against the current moderation status, so
mostRestrictivePermission is useless now.

Also stop using AbstractRevision::isAllowed outside of AbstractRevision objects.

Meanwhile also changed permissions for hidden posts; logged-in users can now see
them (as requested in mingle 421)

Mingle: 421
Change-Id: Iaca064314cca91b66ab9064e5c7ecaff73fda508
Cleanup ApiParsoidUtilsFlow

* Use API to enforce 'to' and 'from' parameters are either
  "html" or "wikitext"
* Remove useless help url and deprecated version indicator

Change-Id: I289db6099a6ea1219cdb40c94a96c52d787a46fe
ApiBase is a context source

Change-Id: I48e23faa451be1d542c8d64a23e71086477c6511
Replacing single quotes with double quotes

Bug: 57597
Change-Id: If6a077ff106f6d2c55e74c1903f9a4fb85aaa4a9
Attribution for authors of moderated content

This patch mainly focussed on posts.
User tool links etc are already added to title too, but that's about it. Will
need design to know how to display topic title.

Mingle: 421
Change-Id: I284f1f03bfb88cb0de38b5571d8b2e3ccbcf79a5
Connvert index option to db option when no index is found

Change-Id: Iffe25832f13641bd30b3a6dcf60f435373ac3380
Instead of failing, remove history logs that user can't see

Also, the permission check ignored all entries but the last.

Change-Id: Idc0e2a554a297e96d68b382b59e0876d91a7e883
(cherry picked from commit 1fa19be8046e77cd6b6e9bdf5d90dec2a85388bc)
Merge "ApiBase is a context source"
Merge "Instead of failing, remove history logs that user can't see"
Merge "Cleanup ApiParsoidUtilsFlow"
Don't fail if there is not history (e.g. everything is moderated)

Change-Id: I2f86b8c278912597f36c5019cf5fad23062fb58a
(cherry picked from commit 2495b4b8ed3c9bf06a651ec9b68181557403bcb7)
Remove 'parse' prefix from ApiParsoidUtilsFlow

Top level modules (action=blah) typically do not
have custom prefixes.

Change-Id: Idb452ac05abb0abef42a0b018d7879bab2c46189
Merge "Remove 'parse' prefix from ApiParsoidUtilsFlow"
Localisation updates from https://translatewiki.net.

Change-Id: Ifedd3aff119b05cd1dc37d6144d8d07b2a26c2ef
Update test requirements

Selenium_user needs special rights, VisualEditor off by default.

Change-Id: I673ddfb013499cbec8427652726395b3510d6274