-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tim Starling wrote:
So here's what I've done in my working copy,
soon to be committed:
* Removed InitialiseMessages.inc and rebuildMessages.php
* During upgrade, delete all pages in the MediaWiki namespace which were
last modified by "MediaWiki default".
* Reoptimised the message cache for the sparse MediaWiki namespace.
I've gone ahead and taken this live; the batch deletions are running in
the background.
A couple tweaks:
* The deleteDefaultMessages script now ensures that the 'MediaWiki
default' user is set up as a bot, so the flood of deletions is hidden
from recent changes.
* It turns out some messages try to transclude other messages. French
Wikipedia's MediaWiki:Copyrightwarning for instance trancluded
MediaWiki:Copyrightpage to get the default local page name for the
copyright information page; also some of the default messages for the
Special:Export page in various languages fetch the 'Main Page' name this
way for the example text. I've changed the transclusion logic to fetch
from the message cache when pulling a {{MediaWiki:}} page that doesn't
exist in the database; that should better match the 'expected' behavior
from these pages seeming to exist for viewing purposes.
Some wikis also experienced a temporary problem with the '!TOO BIG'
message being showed in place of all UI messages.
I think this could have been due to funny updating behavior; several
machines which were recently reinstalled didn't have the 'sudo'
configuration set up correctly, so parts of the update scripts didn't
run correctly. This may have lead to inconsistent behavior, though I'm
not sure that's the cause; or it may have just been partial updates
where MessageCache had new code but DefaultSettings didn't have the
configuration variable yet, so the maximum message size triggered on
everything.
- -- brion vibber (brion @
pobox.com)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFFoOsZwRnhpk1wk44RAsVhAJ0XexHAPbcljbfWsQdwnN88KxtMPQCfcpEj
CyTDXbImzJ4u9B8dWKmUWj0=
=XAtU
-----END PGP SIGNATURE-----