Page MenuHomePhabricator

Fix URL path of MediaWiki repository on Special:Version
Closed, ResolvedPublic


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:

Example of corrected URLs:

Version: 1.16.x
Severity: enhancement



Event Timeline

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

It would be incorrect to point at trunk instead of the actual branch used.

(In reply to comment #0)
(Damn. I should not submit bugs when I am not fully awake.)

Just change "/?revision=" to "?pathrev=" in URLs.

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=';