Mailing List Archive

MediaWiki 1.2.0rc4 release candidate
Changes from 1.2.0rc3:
* Fixed new bug that broke 'remember my password' logins
* Fixed text alignment for thumbnail images, enhanced recentchanges in
RTL languages
* $wgSitename auto-detection now includes port number if not running on
port 80
* Tightened up indexes on links tables to try to prevent corrupted
entries

https://sourceforge.net/project/showfiles.php?group_id=34373

Anyone using rc3 is encouraged to upgrade. (To fix the login bug alone,
you can copy in User.php and Setup.php from rc4 to your rc3
installation.)

If you're using MySQL 4.0, you should also update the linkscc table to
fix the index there. update.php will do this, or remove
LocalSettings.php and re-run the in-place installer. (Or manually run
maintenance/archives/patch-linkscc.sql.)

-- brion vibber (brion @ pobox.com)
Re: MediaWiki 1.2.0rc4 release candidate [ In reply to ]
Hi. I'm new to this list. Couldn't find my answer anywhere, so hope this
hasn't been asked/answer too many times before.

I'm trying to figure out the upgrade procedure. I'm currently running
mediawiki-1.2.0rc3 and would like to upgrade to rc4.
My setup is such that $wgScriptPath is set to /wiki, and /wiki is a sym
link to mediawiki-1.2.0rc3.

I've copied LocalSettings.php and AdminSettings.php to the rc4
directory. Trying to run the update.php from either the web browser or
command line results in:

php update.php
Can't use command-line utils with in-place install yet, sorry.

What's the correct way to do this update?

Cheers,

Dan Milne

Brion Vibber wrote:

> Changes from 1.2.0rc3:
> * Fixed new bug that broke 'remember my password' logins
> * Fixed text alignment for thumbnail images, enhanced recentchanges in
> RTL languages
> * $wgSitename auto-detection now includes port number if not running
> on port 80
> * Tightened up indexes on links tables to try to prevent corrupted
> entries
>
> https://sourceforge.net/project/showfiles.php?group_id=34373
>
> Anyone using rc3 is encouraged to upgrade. (To fix the login bug
> alone, you can copy in User.php and Setup.php from rc4 to your rc3
> installation.)
>
> If you're using MySQL 4.0, you should also update the linkscc table to
> fix the index there. update.php will do this, or remove
> LocalSettings.php and re-run the in-place installer. (Or manually run
> maintenance/archives/patch-linkscc.sql.)
>
> -- brion vibber (brion @ pobox.com)
>
>------------------------------------------------------------------------
>
>_______________________________________________
>MediaWiki-l mailing list
>MediaWiki-l@Wikimedia.org
>http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
>
Re: MediaWiki 1.2.0rc4 release candidate [ In reply to ]
Daniel Milne wrote on March 15:
> I'm trying to figure out the upgrade procedure. I'm currently running
> mediawiki-1.2.0rc3 and would like to upgrade to rc4.
> My setup is such that $wgScriptPath is set to /wiki, and /wiki is a sym
> link to mediawiki-1.2.0rc3.
>
> I've copied LocalSettings.php and AdminSettings.php to the rc4
> directory. Trying to run the update.php from either the web browser or
> command line results in:
>
> php update.php
> Can't use command-line utils with in-place install yet, sorry.
>
> What's the correct way to do this update?

For the moment, the way to do an update with an in-place install is:

* decompress the new version in a fresh directory (or over the existing
directory, and move the old LocalSettings.php out of the way for now)
* run the setup, giving it the same info as before (same database etc)

The in-place install will make any necessary changes to the database
structure if it recognizes there's already a database there.

I realize this isn't 100% ideal... it should be refined in upcoming
point releases.

-- brion vibber (brion @ pobox.com)