r104472 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104471‎ | r104472 | r104473 >
Date:19:25, 28 November 2011
Author:maxsem
Status:ok
Tags:
Comment:
Follow-up r104469: use standard URL builders to make it work on weird setups
Modified paths:
  • /trunk/extensions/ApiSandbox/ApiSandbox.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ApiSandbox/ApiSandbox.php
@@ -51,7 +51,7 @@
5252
5353 $desc[] = 'The ApiSandbox extension is installed on this wiki, it adds a graphical interface to using the MediaWiki Api.';
5454 $desc[] = 'It is helpful for new users, allowing request debugging without any extra tools.';
55 - $desc[] = 'See index.php?title=Special:ApiSandbox';
 55+ $desc[] = 'See ' . SpecialPage::getTitleFor( 'ApiSandbox' )->getFullUrl();
5656
5757 // Append some more whitespace for ApiMain
5858 for ( $i = 0; $i < 3; $i++ ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r104469Add a subscriber to the new API hook APIGetDescription to display some user i...reedy19:07, 28 November 2011

Status & tagging log