Page MenuHomePhabricator

Installing revision 37404 breaks the system
Closed, InvalidPublic

Description

Author: Gerard.meijssen

Description:
Wikipedia is running CrossNamespaceLinks according to Special:Version revision 37404. When you install this revision from SVN it breaks the system. A traceback informs you about this:

Aliases file does not exist: /var/www/revisions/WMF_testsystem/extensions/CrossNamespaceLinks/SpecialCrossNamespaceLinks.alias.php

Backtrace:

#0 /var/www/revisions/WMF_testsystem/includes/SpecialPage.php(240): Language->getSpecialPageAliases()
#1 /var/www/revisions/WMF_testsystem/includes/SpecialPage.php(262): SpecialPage::initAliasList()
#2 /var/www/revisions/WMF_testsystem/includes/SpecialPage.php(406): SpecialPage::resolveAlias('Version')
#3 /var/www/revisions/WMF_testsystem/includes/SpecialPage.php(507): SpecialPage::getPageByAlias('Version')
#4 /var/www/revisions/WMF_testsystem/includes/Wiki.php(229): SpecialPage::executePath(Object(Title))
#5 /var/www/revisions/WMF_testsystem/includes/Wiki.php(59): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#6 /var/www/revisions/WMF_testsystem/index.php(116): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
#7 {main}

When you install the extension without specifying the revision, it installs completely and it still advertises the same revision.

My conclusion is that SVN is confused and needs a new revision for CrossNamespaceLinks.
Thanks,

GerardM

Version: unspecified
Severity: enhancement

Details

Reference
bz18154

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:36 PM
bzimport set Reference to bz18154.
bzimport added a subscriber: Unknown Object (MLST).

You cannot rely on the version number shown on Special:Version because it shows the revision of the base file only. In the current case the alias file was committed separatly (by accident?) with revision r37404.

A few weeks ago there was a short discussion about the use of revision number in Special:Version.

Gerard.meijssen wrote:

If you cannot rely on that number, you can not build a test environment that mimics the current Wikipedia production system. When Brion creates the latest mix and match for the production environment, all the extensions are 15a even when he does not include it in what goes life.

The information has to be good. Currently it breaks the system.
Thanks,

GerardM

r37404 would be very old and obsolete, this is irrelevant.

Wikimedia has the same SVN version of extensions installed as it has MediaWiki, except where mentioned otherwise in our server admin log -- http://wikitech.wikimedia.org/view/Server_admin_log