r24594 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24593‎ | r24594 | r24595 >
Date:17:39, 4 August 2007
Author:brion
Status:old
Tags:
Comment:
space->underscore
Modified paths:
  • /trunk/extensions/CentralAuth/WikiMap.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralAuth/WikiMap.php
@@ -63,7 +63,7 @@
6464
6565 private function getLocalUrl( $page ) {
6666 // FIXME: this may be generalized...
67 - return str_replace( '$1', wfUrlEncode( $page ), $this->mPath );
 67+ return str_replace( '$1', wfUrlEncode( str_replace( ' ', '_', $page ) ), $this->mPath );
6868 }
6969
7070 function getUrl( $page ) {

Status & tagging log