== Perform the file upgrade ==
The For extensions that support the [[mw:Manual:Extension_registration|new extension registration mechanism for loading extensions has changed, so ]] you can change the old 'requires' can be replaced by with a call to the 'wfLoadExtension' function <code>require_once\( *"\$IP/extensions/.*/([^/]*)" * \); wfLoadExtension( '\1' );</code>
With the software downloaded (git fetch), and a check to see if you've modified anything (git status), you can simply switch the branch you're on <code>git checkout -b REL1_26 origin/REL1_26</code> and then do the database upgrade.
You must preserve:
* # The LocalSettings.php file* # DatabaseSettings file, where it exists* # The extensions directory* # The images directory
If using an alternative uploads directory, preserve this; and if using custom skins, preserve these too. The core code is now updated.
== Perform the database upgrade ==
You will need an AdminSettings.php file set up in the correct format; see
AdminSettings.sample in the wiki root for more information and examples.
From the command line, browse to the maintenance directory and run the
with $wgEnableUploads in later versions. When upgrading, consult the release
notes to check for configuration changes which would alter the expected
behaviour behavior of MediaWiki.
== Change the wiki pointer ==
In order to quickly upgrade, revert or take the site offline, you can simply use a symbolic link and point that to the correct target folder. However, note that this can present problems for your extensions when <code>$IP</code> is not defined correctlydue to the nature of symbolic links.
== Test ==