Service/wiki: Difference between revisions
No edit summary |
No edit summary |
||
| Line 97: | Line 97: | ||
For the full details on this installation method, see http://www.mediawiki.org/wiki/Download_from_Git | For the full details on this installation method, see http://www.mediawiki.org/wiki/Download_from_Git | ||
== | == Upgrade notes == | ||
We update our MediaWiki instances by simply pulling from the remote git repo and then switching to a | We update our MediaWiki instances by simply pulling from the remote git repo and then switching to a | ||
| Line 107: | Line 105: | ||
git co -b REL1_xx remotes/origin/REL1_xx | git co -b REL1_xx remotes/origin/REL1_xx | ||
The "extensions-all" directory contains a bunch of git repositories stitched together with 'git submodule'. | |||
To update it: | |||
cd extensions-all | |||
git submodule update | |||
cd extensions | |||
Now run update | Now run update script: | ||
php maintenance/update.php | |||
In the case of Local Labs wikis the correct command for performing the updates is: | In the case of Local Labs wikis the correct command for performing the updates is: | ||
php update.php --conf /srv/www-sugarlabs/pe.sugarlabs.org/wiki/LocalSettings.php | php maintenance/update.php --conf /srv/www-sugarlabs/pe.sugarlabs.org/wiki/LocalSettings.php | ||
(replace pe.sugarlabs.org for the correct path for your local lab w) | (replace pe.sugarlabs.org for the correct path for your local lab w) | ||