Index: trunk/extensions/SemanticForms/specials/SF_AddPage.php |
— | — | @@ -59,6 +59,10 @@ |
60 | 60 | } else { |
61 | 61 | $ad = SpecialPage::getPage('AddData'); |
62 | 62 | $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"; |
63 | 67 | } |
64 | 68 | $text =<<<END |
65 | 69 | <script type="text/javascript"> |