X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FUser.php;h=f86295376735dab26c9386a54e58da76eb6af145;hb=a7f26eb3b7d2e83c81d58c4469479b49cf8bd6e9;hp=9168c33710746d0c659c85e897a4ce60bd903132;hpb=1a4928389f999b76a0be196f8b7586e194f01295;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/User.php b/includes/User.php index 9168c33710..f862953767 100644 --- a/includes/User.php +++ b/includes/User.php @@ -102,6 +102,7 @@ class User implements IDBAccessObject { */ protected static $mCoreRights = array( 'apihighlimits', + 'applychangetags', 'autoconfirmed', 'autopatrol', 'bigdelete', @@ -109,6 +110,7 @@ class User implements IDBAccessObject { 'blockemail', 'bot', 'browsearchive', + 'changetags', 'createaccount', 'createpage', 'createtalk', @@ -3631,7 +3633,8 @@ class User implements IDBAccessObject { if ( !$dbw->affectedRows() ) { // User was changed in the meantime or loaded with stale data MWExceptionHandler::logException( new MWException( - "CAS update failed on user_touched for user ID '{$this->mId}'." + "CAS update failed on user_touched for user ID '{$this->mId}';" . + "the version of the user to be saved is older than the current version." ) ); // Maybe the problem was a missed cache update; clear it to be safe $this->clearSharedCache();