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

Change subject: Adjust sample page to avoid generating empty p tags
......................................................................


Adjust sample page to avoid generating empty p tags

The existing sample page was generating two empty p tags at the top
of the page which made testing more confusing than it needed to be.

Quick surveys are supposed to inject themselves after the first paragraph
and having an empty paragraph confuses this.

Change-Id: Ie794ea91145f12b0e2b19fece698cc6f52b45e7e
---
M tests/browser/samples/infobox_and_image.wikitext
1 file changed, 11 insertions(+), 11 deletions(-)

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



diff --git a/tests/browser/samples/infobox_and_image.wikitext 
b/tests/browser/samples/infobox_and_image.wikitext
index af5f895..f666dc8 100644
--- a/tests/browser/samples/infobox_and_image.wikitext
+++ b/tests/browser/samples/infobox_and_image.wikitext
@@ -1,15 +1,4 @@
-<!-- test infobox -->
 <div class="hatnote">"Barack" and "Obama" redirect here. For his father, see 
[[:Barack Obama, Sr.]].&#32;For other uses of "Barack", see [[:Barack 
(disambiguation)]].&#32;For other uses of "Obama", see [[:Obama 
(disambiguation)]].</div>
-[[Category:Wikipedia indefinitely move-protected pages|Barack Obama]]
-<nowiki></nowiki><indicator 
name="pp-default">[[File:Padlock-silver.svg|20px|link=Wikipedia:Protection 
policy#semi|alt=Page semi-protected|This article is semi-protected to promote 
compliance with the policy on biographies of living 
people]]</indicator>[[Category:Wikipedia indefinitely semi-protected 
biographies of living people|Barack Obama]]
-<nowiki /><indicator name="featured-star">[[File:cscr-featured.svg|20x20px
- |link=Wikipedia:Featured articles
- |
- |This is a featured article. Click here for more information.]]
-</indicator>[[Category:Featured articles]]
-
-<nowiki/>[[Category:Use American English from December 2014]][[Category:All 
Wikipedia articles written in American English]]
-<nowiki/>[[Category:Use mdy dates from July 2015]]
 {| class="infobox vcard " style="width: 22em; border: 4px double #d69d36; 
padding:0.3em; padding-bottom:0em;border: 1px solid #aaa; border-spacing: 3px; 
background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 
0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em;"
 ! colspan=2 class="n" style="text-align: center; font-size: 132%;"|<span 
class="fn">Barack Obama</span>
 |-
@@ -301,3 +290,14 @@
 Blank section.
 == External links ==
 Blank section.
+<!-- test infobox -->
+[[Category:Wikipedia indefinitely move-protected pages|Barack Obama]]
+<nowiki></nowiki><indicator 
name="pp-default">[[File:Padlock-silver.svg|20px|link=Wikipedia:Protection 
policy#semi|alt=Page semi-protected|This article is semi-protected to promote 
compliance with the policy on biographies of living 
people]]</indicator>[[Category:Wikipedia indefinitely semi-protected 
biographies of living people|Barack Obama]]
+<nowiki /><indicator name="featured-star">[[File:cscr-featured.svg|20x20px
+ |link=Wikipedia:Featured articles
+ |
+ |This is a featured article. Click here for more information.]]
+</indicator>[[Category:Featured articles]]
+
+<nowiki/>[[Category:Use American English from December 2014]][[Category:All 
Wikipedia articles written in American English]]
+<nowiki/>[[Category:Use mdy dates from July 2015]]

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie794ea91145f12b0e2b19fece698cc6f52b45e7e
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/QuickSurveys
Gerrit-Branch: dev
Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org>
Gerrit-Reviewer: Bmansurov <bmansu...@wikimedia.org>
Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org>
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