Last modified: 2010-05-15 15:33:12 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 2870 - PATCH: Fix invalid XHTML ouput generated by includes/EditPage.php
PATCH: Fix invalid XHTML ouput generated by includes/EditPage.php
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.4.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://rbach.priv.at/Patches/mediawik...
: patch, patch-need-review
Depends on:
Blocks: html
  Show dependency treegraph
 
Reported: 2005-07-15 18:51 UTC by Robert Bachmann
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

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


Attachments

Description Robert Bachmann 2005-07-15 18:51:12 UTC
PROBLEM

Invalid markup is created when previewing a page, e.g:
<p><center><font color="#cc0000"><strong>Note:</strong> Remember that this is only a 
preview, and has not yet been saved!</font></center></p>

The XHTML specification does not allow <center> to occur inside of <p>.

SOLUTION

Replace <p><center><font color="#cc0000"> with 
<p style="text-align: center; color:#cc0000;">.

APPLY THE PATCH

cd mediawiki-1.4.x/
wget http://rbach.priv.at/Patches/mediawiki-20050715.diff
patch -p0 < mediawiki-20050715.diff
Comment 1 JeLuF 2005-07-16 21:24:08 UTC
This is already fixed in MediaWiki 1.5. The layout of that paragraph has been
moved to CSS.

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


Navigation
Links