Last modified: 2006-10-19 17:27:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 7624 - Provide another way to upgrade existing mediawiki installation
Provide another way to upgrade existing mediawiki installation
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-10-18 15:05 UTC by Romain
Modified: 2006-10-19 17:27 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Romain 2006-10-18 15:05:52 UTC
When it comes to upgrade an existing version of Mediawiki there are for what I
know 2 ways :
- Using the SVN repository
- Download the zip file and upgrade manually using the upgrade guide.
In my case, I don't have access to the svn so I always have to use the zip file.
But because we don't know what files have been changed since the previous
version, I always have to create a backup of the existing files, copy the new,
make the update using the php script and then re setup some stuff (like the
search field position, etc)

Is there a way to have for each new version some diff files so we can patch an
existing version or at least a list of what files have been modified since the
previous version so we can update only the files that are newer ?
Comment 1 Brion Vibber 2006-10-18 22:14:29 UTC
1) Just copy all the files in; that's it.

2) If you want to make a patch file between any two versions it's trivial using the standard Unix 'diff' utility, or building a diff 
from Subversion.
Comment 2 Romain 2006-10-19 14:11:26 UTC
That's the problem with the 1st suggestion, if I copy all the files of the new
version into my existing mediawiki installation then I loose some customization
(like on monobook). That's why a list a what files have been changed since the
previous version can help : I can only copy the updated files.

For the second suggestion, of course it will work but there still a problem : if
I have made some customization on monobook then the diff and patch system will
also want to update this file, which I don't want.

A cool thing to have is maybe :
* a list of what have been update on the wikimedia web site for any new version
* a tool that will update only needed file and not the other ones

Can you comment on this ?
Comment 3 Brion Vibber 2006-10-19 17:27:09 UTC
svn or making diffs can do both of these already.

Note You need to log in before you can comment on or make changes to this bug.