Page MenuHomePhabricator

Provide another way to upgrade existing mediawiki installation
Closed, InvalidPublic

Description

Author: romain.pelissier

Description:
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 ?


Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz7624

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:23 PM
bzimport set Reference to bz7624.
bzimport added a subscriber: Unknown Object (MLST).
  1. Just copy all the files in; that's it.
  1. 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.

romain.pelissier wrote:

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 ?

svn or making diffs can do both of these already.