Last modified: 2009-09-21 16:34:56 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 T22730, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20730 - Fix URL path of MediaWiki repository on Special:Version
Fix URL path of MediaWiki repository on Special:Version
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.16.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Special:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-18 21:54 UTC by Meno25
Modified: 2009-09-21 16:34 UTC (History)
2 users (show)

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


Attachments

Description Meno25 2009-09-18 21:54:08 UTC
This was noticed after the recent upgrade of Wikimedia wikis (currently running on r56620). On [[Special:Version]], please fix the URL of MediaWiki repository.

Example of current URLs:
http://svn.wikimedia.org/viewvc/mediawiki/branches/wmf-deployment/?revision=56620

Example of corrected URLs:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/?pathrev=56620
Comment 1 Brion Vibber 2009-09-18 21:55:46 UTC
It would be incorrect to point at trunk instead of the actual branch used.
Comment 2 Meno25 2009-09-18 21:57:15 UTC
(In reply to comment #0)
(Damn. I should not submit bugs when I am not fully awake.)

Just change "/?revision=" to "?pathrev=" in URLs.
Comment 3 Huji 2009-09-20 09:22:43 UTC
I guess that is because of this section of SpecialVersion.php (lines 480 to 485).

if ( substr( $pathRelativeToRepo, 0, 6 ) == '/trunk' ) {
	$viewvc .= '/?pathrev=';
} else {
	// Avoids 404 error using pathrev when it does not found
	$viewvc .= '/?revision=';
}
Comment 4 Brion Vibber 2009-09-21 16:34:56 UTC
Done in r56713

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


Navigation
Links