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

       Web browser: ---
            Bug ID: 43035
           Summary: Uncentered caption text in gallery image is page-left
                    (rather than image-frame-left) justified
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Problem encountered editing Wikipedia December 12, 2012.

SETUP:

1. Given a titled gallery with a captioned image (single image file in my
problem case)

2. The gallery is centered by bracketing with <center> and </center>

This results in the captioning text to also be centered (this is not
unexpected).

3. Attempt to uncenter the captioning by bracketing the caption text with
</center> and <center>

UNEXPECTED RESULT:
This results in the caption text appearing fully left justified using the page
boundary rather than the gallery image box outer boundary.

WORK AROUND (for this specific single image case):

A.) Close the gallery with </gallery>after the gallery image title

B.) Display the image file as a "thumb" of the appropriate width using the
"centered" option. (This will not center the text, but note that the text may
be centered explicitly by bracketing with <center> </center>)

ALTERNATE WORK-AROUND (Also only for single image case):

After closing the gallery Display the image file as a "wide image", these are
automatically centered and default to left justified text.

ADDITIONAL TESTS NOT PERFORMED:

No attempt was made to check the case of multiple images with uncentered text,
this should be part of the post-fix testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to