r24887 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24886‎ | r24887 | r24888 >
Date:22:45, 17 August 2007
Author:yaron
Status:old
Tags:
Comment:
'preload' value gets propagated to 'AddData'
Modified paths:
  • /trunk/extensions/SemanticForms/specials/SF_AddPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/specials/SF_AddPage.php
@@ -59,6 +59,10 @@
6060 } else {
6161 $ad = SpecialPage::getPage('AddData');
6262 $redirect_url = $ad->getTitle()->getFullURL() . "/" . $form_name . "/" . sffTitleURLString($page_title);
 63+ # add 'preload' value, if it was set
 64+ $preload = $wgRequest->getVal('preload');
 65+ if ($preload != '')
 66+ $redirect_url .= "?preload=$preload";
6367 }
6468 $text =<<<END
6569 <script type="text/javascript">

Status & tagging log