[Mediawiki-l] Do I need a fresh clean install? Advice and Help needed! - Thanks

Tim Starling tstarling at wikimedia.org
Thu Apr 7 02:05:05 UTC 2011


On 04/06/2011 11:50 PM, monkey wrote:
>> $DP = $IP;
>>
>> This is setting a global variable which has been obsolete since
>> MediaWiki 1.2 (2004). I'm not saying it's not a good idea to start
>> again every once in a while, I'm just saying that it's possible to go
>> a long, long way without doing that.
>>
>> You should be able to remove the extensions you don't want, and fix
>> the extensions you do want, without rewriting your configuration
>> files. I've found that "svn checkout --force" is a useful tool for
>> repairing tarball installations with modified files. I can give more
>> details on that if you want them.
>>
>>
>> Thanks Tim,
>
> I'll have a look into that --force parameter, but I've only ever changed
> localsettings.php ..

If you only changed LocalSettings.php, it might be easier to check out 
a new copy of the source and then move the files you want to keep, 
like configuration files and images.

> Removing extensions/installing extensions:
> - I had to "svn checkout" some specific revisions, like after updating going
> back again, to actually have a working copy and so on - doesn't this mess up
> the system?
> - and what about the databases? E.g. some extensions needed some
> DB-adjustments .. I've always run the update.php and so on, but how does
> this work when you go backwards?

It depends on the extension and the versions involved, in both cases.

-- Tim Starling




More information about the MediaWiki-l mailing list