Jforrester has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/367562 )
Change subject: SpecialUndelete: Don't try to add a form to the page unless it
exists
......................................................................
SpecialUndelete: Don't try to add a form to the page unless it exists
Bug: T171523
Change-Id: I1083ce168797a698c76c3fdff4eac06edfb0ac6a
---
M includes/specials/SpecialUndelete.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/62/367562/1
diff --git a/includes/specials/SpecialUndelete.php
b/includes/specials/SpecialUndelete.php
index 810f8fb..cd218e6 100644
--- a/includes/specials/SpecialUndelete.php
+++ b/includes/specials/SpecialUndelete.php
@@ -858,9 +858,9 @@
$misc = Html::hidden( 'target', $this->mTarget );
$misc .= Html::hidden( 'wpEditToken',
$this->getUser()->getEditToken() );
$history .= $misc;
- }
- $form->appendContent( new OOUI\HtmlSnippet( $history ) );
+ $form->appendContent( new OOUI\HtmlSnippet( $history )
);
+ }
$out->addHTML( $form );
--
To view, visit https://gerrit.wikimedia.org/r/367562
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1083ce168797a698c76c3fdff4eac06edfb0ac6a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits