Line 38: |
Line 38: |
| == Upgrade notes == | | == Upgrade notes == |
| | | |
− | See [[Sysadmin/Update_wiki]].
| + | Our Mediawiki instances are installed from Subversion. We update them by simply switching |
| + | to a different stable branch. |
| | | |
| + | Because the "extensions" directory comes from a different |
| + | repository, we need to take care not to confuse Subversion's little mind when it sees it. |
| + | Hence, we keep around a copy of the original extensions directory from the main repository. |
| + | |
| + | mv extensions extensions.keep |
| + | mv extensions.orig extensions |
| + | svn switch http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_16/phase3 |
| + | mv extensions extensions.orig |
| + | mv extensions.new extensions |
| + | cd extensions |
| + | svn switch http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_16/extensions |
| + | cd .. |
| + | |
| + | Now run update scripts: |
| + | |
| + | cd maintenance |
| + | php update.php |
| + | |
| + | If the SemanticMediaWiki extension is enabled (we don't use it), also refresh its tables: |
| + | |
| + | cd extensions/SemanticMediaWiki/maintenance |
| + | php SMW_setup.php |
| | | |
| == See also == | | == See also == |