User:Legoktm/mwscript

From MediaWiki.org
Jump to navigation Jump to search

To run local scripts on terbium without waiting for deployment...

export MW_INSTALL_PATH=/usr/local/apache/common-local/php-1.24wmf10 # make sure to change this number
mwscript ../../../../../home/legoktm/checkLocalNames.php --wiki=enwikivoyage
# Also this!
sudo -u apache foreachwikiindblist /usr/local/apache/common-local/wikivoyage.dblist ../../../../../home/legoktm/checkLocalNames.php