https://bugzilla.wikimedia.org/show_bug.cgi?id=30262

       Web browser: ---
             Bug #: 30262
           Summary: <p> tags are inserted between transcluded pages, if
                    they contain images
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: https://secure.wikimedia.org/wikisource/pl/wiki/Encykl
                    opedia_staropolska/Handel
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ProofreadPage
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Created attachment 8891
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8891
Screenshot of a rendered page

Let's assume:
- Page 1 contains only text (no paragraphs)
- Page 2 contains only text (no paragraphs)
- Page 3 contains only text (no paragraphs), in the middle of text there was
inserted image.

When transcluding those pages using <pages> tag, MediaWiki inserts between
pages <p> tag, which incorretly divides text.

In the URL field there is address to sample page on pl.wikisource, which
demonstrates the issue. I have also attached screenshot.

I don't know what causes parser to change the way text is rendered, when there
is an image in the text. 

I think there should not be \n inserted between pages, which is related to bug
#27637 closed as INVALID. 

Now inserting any images makes overall quality of the document lower instead of
higher.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to