From: Marius Hoch Date: Fri, 12 Jul 2013 15:04:04 +0000 (+0200) Subject: Parse the undelete-search-prefix message X-Git-Tag: 1.31.0-rc.0~19195^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22brouteur%22%2C%28%24id_rubrique%20?a=commitdiff_plain;h=53cb8a359d59db3ca8539cb1987bbd6c0f1c9f00;p=lhc%2Fweb%2Fwiklou.git Parse the undelete-search-prefix message Requested on dewiki to use an explaining wikilink there. Change-Id: Ib36afee75089c04fcd73bc0000c964f39869c6bb --- diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index caf6a8b66f..d4aed113bf 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -792,13 +792,16 @@ class SpecialUndelete extends SpecialPage { Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) . Xml::fieldset( $this->msg( 'undelete-search-box' )->text() ) . Html::hidden( 'title', $this->getTitle()->getPrefixedDBkey() ) . - Xml::inputLabel( - $this->msg( 'undelete-search-prefix' )->text(), - 'prefix', + Html::rawElement( + 'label', + array( 'for' => 'prefix' ), + $this->msg( 'undelete-search-prefix' )->parse() + ) . + Xml::input( 'prefix', 20, $this->mSearchPrefix, - array( 'autofocus' => true ) + array( 'id' => 'prefix', 'autofocus' => true ) ) . ' ' . Xml::submitButton( $this->msg( 'undelete-search-submit' )->text() ) . Xml::closeElement( 'fieldset' ) .