Service/wiki: Difference between revisions
No edit summary |
No edit summary |
||
| Line 85: | Line 85: | ||
mysql -u root -p pe_sugarlabswiki < extensions/OpenID/openid_table.sql | mysql -u root -p pe_sugarlabswiki < extensions/OpenID/openid_table.sql | ||
== Installation == | |||
== Upgrade notes == | |||
Our MediaWiki instances are installed from git to allow easy rebasing of our changes on upgrades. | |||
git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git wiki-devel | |||
cd wiki-devel | |||
git co -b REL1_19 remotes/origin/REL1_19 | |||
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions.git extensions-all | |||
cd extensions-all | |||
git submodule update --init | |||
cd ../extensions | |||
# for each needed extensions | |||
ln -s ../extensions-all/EXT | |||
For the full details on this installation method, see http://www.mediawiki.org/wiki/Download_from_Git | |||
== SVN Upgrade notes == | |||
'''THESE INSTRUCTIONS COVER SVN-BASED INSTALLATIONS -- THE PROCEDURE NEEDS TO BE RETHOUGHT FOR GIT''' | |||
We update our MediaWiki instances by simply pulling from the remote git repo and then switching to a | |||
different stable branch: | |||
git pull | |||
git co -b REL1_xx remotes/origin/REL1_xx | |||
Because the "extensions" directory comes from a different | Because the "extensions" directory comes from a different | ||