Last modified: 2010-05-15 14:36:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1343 - Redundant whitespace around tables (<p><br/><p>)
Redundant whitespace around tables (<p><br/><p>)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
PC Linux
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 1176 1598 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-16 18:06 UTC by Paul Pogonyshev
Modified: 2010-05-15 14:36 UTC (History)
2 users (show)

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


Attachments
Before (26.05 KB, image/png)
2005-04-09 08:29 UTC, Ævar Arnfjörð Bjarmason
Details
After (26.01 KB, image/png)
2005-04-09 08:30 UTC, Ævar Arnfjörð Bjarmason
Details

Description Paul Pogonyshev 2005-01-16 18:06:45 UTC
For instance, consider a template {{Table test}} which inserts some table into
the page.  Now, if I create a page like

--- cut here ---
Blah, blah, blah

{{Table test}}

Blah, blah, blah
--- cut here ---

the table will be surrounded with <p><br/><p> in the generated HTML.  This is
very annoying, because it creates too large blank margins or forces you to lump
the text together into unreadable

--- cut here ---
Blah, blah, blah
{{Table test}}
Blah, blah, blah
--- cut here ---
Comment 1 Ævar Arnfjörð Bjarmason 2005-04-09 08:28:08 UTC
I've fixed this in my installation, attached are screenshots showing the
following wikitext being rendered ({{Table test}} includes the same table as the
one shown inline below):

Blah, blah, blah

{{Table test}}

Blah, blah, blah

Blah, blah, blah

-----

Blah, blah, blah

{| border="1" cellpadding="2" cellspacing="0"
|- bgcolor="#efefef"
! Year !! Population !! Change !! Municipal population
|-
| [[1981]] || 1,062 || - || -
|-
| [[1991]] || 1,122 || 70/5.65% || 2,108
|-
| [[2001]] || - || - || -
|}

Blah, blah, blah

Blah, blah, blah
Comment 2 Ævar Arnfjörð Bjarmason 2005-04-09 08:29:31 UTC
Created attachment 409 [details]
Before
Comment 3 Ævar Arnfjörð Bjarmason 2005-04-09 08:30:05 UTC
Created attachment 410 [details]
After
Comment 4 Ævar Arnfjörð Bjarmason 2005-04-09 08:37:43 UTC
I fixed the bug for tables in REL1_4 and HEAD and changed its summary to refer
only to tables, if you notice this problem elsewhere please file a seperate bug
 for that.
Comment 5 Ævar Arnfjörð Bjarmason 2005-04-12 03:20:05 UTC
*** Bug 1598 has been marked as a duplicate of this bug. ***
Comment 6 Ævar Arnfjörð Bjarmason 2005-04-12 04:04:57 UTC
*** Bug 1176 has been marked as a duplicate of this bug. ***

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


Navigation
Links