r94369 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94368‎ | r94369 | r94370 >
Date:19:09, 12 August 2011
Author:catrope
Status:ok
Tags:
Comment:
Expand URLs in the SiteMatrix API. This should fix bug 30171
Modified paths:
  • /trunk/extensions/SiteMatrix/SiteMatrixApi.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SiteMatrix/SiteMatrixApi.php
@@ -57,7 +57,7 @@
5858
5959 $url = $matrix->getUrl( $lang, $site );
6060 $site_out = array(
61 - 'url' => $url,
 61+ 'url' => wfExpandUrl( $url ),
6262 'dbname' => $matrix->getDBName( $lang, $site ),
6363 'code' => $site,
6464 );
@@ -91,7 +91,7 @@
9292 $url = $matrix->getUrl( $lang, $site );
9393
9494 $wiki = array();
95 - $wiki['url'] = $url;
 95+ $wiki['url'] = wfExpandUrl( $url );
9696 $wiki['dbname'] = $matrix->getDBName( $lang, $site );
9797 $wiki['code'] = str_replace( '_', '-', $lang ) . ( $site != 'wiki' ? $site : '' );
9898

Follow-up revisions

RevisionCommit summaryAuthorDate
r945621.17wmf1: MFT r93711, r94346, r94369, r94376, r94404, r94502, r94509, r94511catrope20:30, 15 August 2011
r95628MFT to REL1_18 (extensions)...hashar15:32, 28 August 2011

Status & tagging log