Page MenuHomePhabricator

Paragraphs are pulled out of infobox
Closed, ResolvedPublic


Consider the source code

{| class="infobox"
|Let's try a paragraph of text here.
OMG paragraph

I am the lead paragraph of this ship.

Expected: "I am the lead paragraph of this ship." is shifted to the top of the section.
Actual: " OMG paragraph" becomes the lead paragraph.

We should not interfere with the infobox.

Test Plan

Event Timeline

This is even stranger when you use the following source code (navbox scrubbed but paragraph inside it is shown!)

{| class="infobox navbox"
|Infobox p|
OMG paragraph inside infobox

Real first paragraph.

Change 318911 had a related patch set uploaded (by Phuedx):
Only relocate immediate descendant paragraphs

Change 318911 merged by jenkins-bot:
Only relocate immediate descendant paragraphs

@Nicholas.tsg the test URL has been updated. Please try again.

According to the attached screencaps, "Paragraph inside infobox" is appearing in the infobox table and "Real first paragraph" is appearing above the infobox table consistently, so this seems to be fixed. Here are the testing devices/environments I've checked,

iPhone 6S (iOS 10.0.1)

Galaxy SIII Android 4.4.2 (Google Chrome)

Galaxy SIII Android 4.4.2 (Browser)

Galaxy SIII Android 6.0.1 (Google Chrome)

bmansurov removed bmansurov as the assignee of this task.