Make change tagging of edits in RecentChange::notifyNew/Edit
authorcenarium <cenarium.sysop@gmail.com>
Tue, 9 Feb 2016 09:05:23 +0000 (10:05 +0100)
committercenarium <cenarium.sysop@gmail.com>
Wed, 10 Feb 2016 12:03:30 +0000 (13:03 +0100)
commitb009e0af213346e95782a02877094e26c2d3ebeb
treea6216f7628680ff832059d541a50d8205d17cbc4
parentb49c4503070dbdf6b89a9fc5b95164e7ab73a8f5
Make change tagging of edits in RecentChange::notifyNew/Edit

Change tags to apply to an edit can now be passed directly to the
WikiPage::doEditContent function. They are then passed to the
RecentChange::notifyNew/Edit functions where tagging is made
after the recent change is saved. This ensures that other callers
of doEditContent will not run into the same issue as T100248.
ApiRollback is fixed in this way.
In addition, we'll have to pass tags in this way for core tagging
of edits (I2e48bd458fc8d7c289f04dc276f9287516e0b987), and this makes
it possible to merge the arrays of tags and call ChangeTags::addTags
only once.

Change-Id: I829960c7a33b70464065839d7504d7529dfd0b72
includes/EditPage.php
includes/api/ApiRollback.php
includes/changes/RecentChange.php
includes/page/WikiPage.php