jenkins-bot has submitted this change and it was merged.

Change subject: Parse the undelete-search-prefix message
......................................................................


Parse the undelete-search-prefix message

Requested on dewiki to use an explaining wikilink there.

Change-Id: Ib36afee75089c04fcd73bc0000c964f39869c6bb
---
M includes/specials/SpecialUndelete.php
1 file changed, 7 insertions(+), 4 deletions(-)

Approvals:
  Raimond Spekking: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/specials/SpecialUndelete.php 
b/includes/specials/SpecialUndelete.php
index caf6a8b..d4aed11 100644
--- a/includes/specials/SpecialUndelete.php
+++ b/includes/specials/SpecialUndelete.php
@@ -792,13 +792,16 @@
                        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' ) .

-- 
To view, visit https://gerrit.wikimedia.org/r/73415
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib36afee75089c04fcd73bc0000c964f39869c6bb
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Hoo man <h...@online.de>
Gerrit-Reviewer: Hoo man <h...@online.de>
Gerrit-Reviewer: Raimond Spekking <raimond.spekk...@gmail.com>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to