Last modified: 2009-04-07 20:37:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20154, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18154 - Installing revision 37404 breaks the system
Installing revision 37404 breaks the system
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
CrossNamespaceLinks (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-25 17:48 UTC by Gerard Meijssen
Modified: 2009-04-07 20:37 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gerard Meijssen 2009-03-25 17:48:27 UTC
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
Comment 1 Raimond Spekking 2009-03-25 17:55:12 UTC
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.
Comment 2 Gerard Meijssen 2009-03-25 18:05:14 UTC
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  
Comment 3 Brion Vibber 2009-04-07 20:37:21 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links