Krinkle has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/395120 )

Change subject: multiversion: Update docs for 'wfShellWikiCmd' hook
......................................................................

multiversion: Update docs for 'wfShellWikiCmd' hook

This hook was already renamed from 'wfShellMaintenanceCmd' to
'wfShellWikiCmd' shortly after its creation in 2012.

Follows-up 770c9d8c2eda.

Update the code comments to ease future debugging.

Change-Id: Ia06ccce381a71178ddb8f2f3f1a6cfafa4e98f27
---
M multiversion/MWMultiVersion.php
M wmf-config/CommonSettings.php
2 files changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/20/395120/1

diff --git a/multiversion/MWMultiVersion.php b/multiversion/MWMultiVersion.php
index 2b59447..395ef86 100644
--- a/multiversion/MWMultiVersion.php
+++ b/multiversion/MWMultiVersion.php
@@ -266,7 +266,8 @@
        }
 
        /**
-        * Handler for the wfShellMaintenanceCmd hook.
+        * Handler for the wfShellWikiCmd hook.
+        *
         * This converts shell commands like "php $IP/maintenance/foo.php" into
         * commands that use the "MWScript.php" wrapper, for example:
         * "php /srv/mediawiki-staging/multiversion/MWScript.php 
maintenance/foo.php"
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index b529ac4..d806b58 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -258,7 +258,7 @@
 
 ini_set( 'memory_limit', $wmgMemoryLimit );
 
-# Rewrite commands given to wfShellWikiCmd() to use Het-Deploy
+# Change calls to wfShellWikiCmd() to use MWScript.php wrapper
 $wgHooks['wfShellWikiCmd'][] = 'MWMultiVersion::onWfShellMaintenanceCmd';
 
 setlocale( LC_ALL, 'en_US.UTF-8' );

-- 
To view, visit https://gerrit.wikimedia.org/r/395120
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia06ccce381a71178ddb8f2f3f1a6cfafa4e98f27
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Krinkle <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to