Legoktm has uploaded a new change for review.
https://gerrit.wikimedia.org/r/197725
Change subject: sendForceRenameNotification: Skip redirects for now
......................................................................
sendForceRenameNotification: Skip redirects for now
Too many issues with messages going to the wrong people, etc. Skip for now
while we work out a proper solution for messaging those users.
Partial cherry-pick of b4be0b5
Change-Id: I685b869c8a522ff9b2d7cd309b08f0ccf292b240
---
M includes/UsersToRename/UsersToRenameDatabaseUpdates.php
1 file changed, 14 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth
refs/changes/25/197725/1
diff --git a/includes/UsersToRename/UsersToRenameDatabaseUpdates.php
b/includes/UsersToRename/UsersToRenameDatabaseUpdates.php
index a1e148e..69d58fe 100644
--- a/includes/UsersToRename/UsersToRenameDatabaseUpdates.php
+++ b/includes/UsersToRename/UsersToRenameDatabaseUpdates.php
@@ -2,7 +2,17 @@
class UsersToRenameDatabaseUpdates {
+ /**
+ * Notified via talk apge
+ */
const NOTIFIED = 4;
+ /**
+ * A redirect, temporarily skipped
+ */
+ const REDIRECT = 5;
+ /**
+ * Renamed!
+ */
const RENAMED = 8;
/**
@@ -31,6 +41,10 @@
$this->updateStatus( $name, $wiki, self::RENAMED );
}
+ public function markRedirectSkipped( $name, $wiki ) {
+ $this->updateStatus( $name, $wiki, self::REDIRECT );
+ }
+
public function remove( $name, $wiki ) {
$this->db->delete(
'users_to_rename',
--
To view, visit https://gerrit.wikimedia.org/r/197725
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I685b869c8a522ff9b2d7cd309b08f0ccf292b240
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: wmf/1.25wmf22
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits