r56023 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56022‎ | r56023 | r56024 >
Date:10:10, 8 September 2009
Author:jojo
Status:deferred
Tags:
Comment:
fix: remove trailing "/"(s) from subtitle
Modified paths:
  • /trunk/extensions/Collection/Collection.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/Collection.body.php
@@ -58,7 +58,7 @@
5959 }
6060 $wgOut->redirect( wfAppendQuery(
6161 SkinTemplate::makeSpecialUrl( 'Book' ),
62 - $wgRequest->appendQueryArray( array( 'bookcmd' => $par ), true )
 62+ $wgRequest->appendQueryArray( array( 'bookcmd' => rtrim( $par, '/' ) ), true )
6363 ) );
6464 return;
6565 }

Status & tagging log