Load previous tags in ChangeTags::addTags() from DB_MASTER
authorLiangent <liangent@gmail.com>
Thu, 5 Jun 2014 13:00:52 +0000 (13:00 +0000)
committerLiangent <liangent@gmail.com>
Thu, 5 Jun 2014 18:24:24 +0000 (18:24 +0000)
commitbc2ffb28d6ce667e6a6127e07e203a97150228c8
treeff6f62d10f31fdceeb18adb48934cd9b4809e02a
parentb08254f12fba29d36c596252dbdf8a28f670dbf5
Load previous tags in ChangeTags::addTags() from DB_MASTER

This fixes a bug in mobile [1] that the tag added by MobileApp gets
overwritten by MobileFrontend, where both use ChangeTags::addTags(),
and MobileFrontend is registered (thus called) after MobileApp.

[1] http://lists.wikimedia.org/pipermail/mobile-l/2014-June/007260.html

Change-Id: Ie47649ef45f9eebdfeae73a0698ea5d21b150b56
includes/ChangeTags.php