jenkins-bot has submitted this change and it was merged. Change subject: Remove bad instructions ......................................................................
Remove bad instructions Some are outdated and some ask you to do things in the wrong order. Change-Id: I13f7bfd5317b4e14df1d20d6d9f0c5f728f747d1 --- M tests/browser/README 1 file changed, 9 insertions(+), 10 deletions(-) Approvals: Chad: Looks good to me, approved jenkins-bot: Verified diff --git a/tests/browser/README b/tests/browser/README index 208aca7..76f8c64 100644 --- a/tests/browser/README +++ b/tests/browser/README @@ -39,9 +39,6 @@ export MW_INSTALL_PATH=/srv/mediawiki pushd $MW_INSTALL_PATH/.. if [ ! -d Elastica ]; then git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Elastica; fi - pushd Elastica - git submodule update --init --recursive - popd if [ ! -d CirrusSearch ]; then git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CirrusSearch; fi if [ ! -d TimedMediaHandler ]; then git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TimedMediaHandler; fi if [ ! -d MwEmbedSupport ]; then git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MwEmbedSupport; fi @@ -59,13 +56,6 @@ rm /tmp/www-data-crontab sudo apt-get install -y oggvideotools ffmpeg ffmpeg2theora libav-tools libavcodec-extra-53 imagemagick ghostscript xpdf-utils php5-curl php5-redis popd - php CirrusSearch/maintenance/updateSearchIndexConfig.php - php CirrusSearch/maintenance/forceSearchIndex.php --forceUpdate --skipLinks --indexOnSkip - php CirrusSearch/maintenance/forceSearchIndex.php --forceUpdate --skipParse - popd - sudo /etc/init.d/apache2 restart - - Then add this to your LocalSettings.php: require( "$IP/extensions/Elastica/Elastica.php" ); require( "$IP/extensions/CirrusSearch/CirrusSearch.php" ); @@ -80,6 +70,15 @@ $wgDebugLogFile = '/tmp/mw-log'; $wgCapitalLinks = false; +Finally, go back to the console: + php CirrusSearch/maintenance/updateSearchIndexConfig.php + php CirrusSearch/maintenance/forceSearchIndex.php --forceUpdate --skipLinks --indexOnSkip + php CirrusSearch/maintenance/forceSearchIndex.php --forceUpdate --skipParse + popd + sudo /etc/init.d/apache2 restart + + + Replace: $wgUseInstantCommons = false with -- To view, visit https://gerrit.wikimedia.org/r/115163 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I13f7bfd5317b4e14df1d20d6d9f0c5f728f747d1 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/CirrusSearch Gerrit-Branch: master Gerrit-Owner: Manybubbles <never...@wikimedia.org> Gerrit-Reviewer: Chad <ch...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits