aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/namespaceDupes.php
diff options
context:
space:
mode:
authorTyler Cipriani <tcipriani@wikimedia.org>2023-11-02 18:09:23 -0600
committerTyler Cipriani <tcipriani@wikimedia.org>2023-11-02 18:32:06 -0600
commit8b1532d4dda623158ee82778a770219e75111158 (patch)
tree6321544c5433dfc1b1b3ea9072a67328fa573496 /maintenance/namespaceDupes.php
parentcbacde72b2419370b74c87c6af4d904acc005a1e (diff)
downloadmediawikicore-8b1532d4dda623158ee82778a770219e75111158.tar.gz
mediawikicore-8b1532d4dda623158ee82778a770219e75111158.zip
Disable namespaceDupes.php for now
namespaceDupes.php has lacks limits on delete and update queries. For large updates and deletes this causes replication lag. Disable this script until this issue is resolved. Bug: T350443 Change-Id: I2b578535ff77f3080b4672ce098c24775f08a1e2
Diffstat (limited to 'maintenance/namespaceDupes.php')
-rw-r--r--maintenance/namespaceDupes.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/maintenance/namespaceDupes.php b/maintenance/namespaceDupes.php
index 01d761ffe57e..cda1d5ed4805 100644
--- a/maintenance/namespaceDupes.php
+++ b/maintenance/namespaceDupes.php
@@ -100,6 +100,9 @@ class NamespaceDupes extends Maintenance {
"Talk:File:Foo -> File_Talk:Foo" );
}
+ /**
+ * @suppress PhanPluginUnreachableCode
+ */
public function execute() {
$options = [
'fix' => $this->hasOption( 'fix' ),
@@ -111,6 +114,8 @@ class NamespaceDupes extends Maintenance {
'dest-namespace' => intval( $this->getOption( 'dest-namespace', 0 ) )
];
+ $this->fatalError( "Unsafe to run at this time. See: T350443\n" );
+
if ( $options['source-pseudo-namespace'] !== '' ) {
$retval = $this->checkPrefix( $options );
} else {