Last modified: 2005-06-14 17:26:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2669, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 669 - |center| parameter in Image syntax does nothing
|center| parameter in Image syntax does nothing
Status: RESOLVED DUPLICATE of bug 187
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Tetris#G...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-10-09 19:16 UTC by Leah
Modified: 2005-06-14 17:26 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Leah 2004-10-09 19:16:22 UTC
Although images without captions may be centered by placing them in a <div>, it
is impossible to center framed images without using tables or <center>.  <div
class="thumb tnone"> is equivalent to left justification, and cannot be overridden.
Comment 1 Rowan Collins [IMSoP] 2004-10-09 22:06:03 UTC
Hmm... 

Firstly, the example URL given *does* use <div>, although it uses a specific
HTML attribute rather than a CSS style rule: Template:Center expands to "<div
align="center">{{{1}}}</div>"

Secondly, [[Image:Foo|center|caption]] *should* do this for you, with or without
|frame|, but testing in the sandbox I couldn't make it work. Retitling bug.
Comment 2 JeLuF 2004-10-09 22:09:51 UTC

*** This bug has been marked as a duplicate of 187 ***
Comment 3 Rowan Collins [IMSoP] 2004-10-09 22:25:40 UTC
I'm not convinced this is a duplicate. If it is, then bug 187 needs a better
summary, since I can reproduce zero effect of |center| on an otherwise blank
page. See, for example, http://en.wikipedia.org/wiki/User:IMSoP/sandbox where
the generated HTML is <div class="floatnone"><span style="text-align:
center">...; for me, this image sits at the left-hand side of the screen -
perhaps because the outer class= is overriding the inner style= ?
Comment 4 JeLuF 2004-10-11 21:25:13 UTC

*** This bug has been marked as a duplicate of 187 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links