X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fspecials%2FSpecialBooksources.php;h=72f4e466e1ad442787b29e106320d529c646237d;hb=2c9194d02086a98ea457a88f3e897fd789dd90d9;hp=581619fcdcff2b4868b372fcf2fe24a1e6e48c99;hpb=9e0774551bec9201de2f26521a13a81acd7c5fbd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialBooksources.php b/includes/specials/SpecialBooksources.php index 581619fcdc..72f4e466e1 100644 --- a/includes/specials/SpecialBooksources.php +++ b/includes/specials/SpecialBooksources.php @@ -117,15 +117,13 @@ class SpecialBookSources extends SpecialPage { * @return string */ private function makeForm() { - global $wgScript; - $form = Html::openElement( 'fieldset' ) . "\n"; $form .= Html::element( 'legend', array(), $this->msg( 'booksources-search-legend' )->text() ) . "\n"; - $form .= Html::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) . "\n"; + $form .= Html::openElement( 'form', array( 'method' => 'get', 'action' => wfScript() ) ) . "\n"; $form .= Html::hidden( 'title', $this->getPageTitle()->getPrefixedText() ) . "\n"; $form .= '

' . Xml::inputLabel( $this->msg( 'booksources-isbn' )->text(),