Last modified: 2008-08-28 16:43:14 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 T14680, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12680 - the inclusion of « empty » special pages with {{special:Foo}} should either generate valid or no code
the inclusion of « empty » special pages with {{special:Foo}} should either g...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://validator.w3.org/check?uri=htt...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-18 18:31 UTC by lɛʁi לערי ריינהארט
Modified: 2008-08-28 16:43 UTC (History)
2 users (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2008-01-18 18:31:16 UTC
Dear friends;

[[ps:user:I18n]] includes two special pages

{{special:Prefixindex/MediaWiki:Gadget}}

{{special:Prefixindex/MediaWiki talk:Gadget}}

both render to

<table style="background: inherit;" border="0" width="100%"></table>

validator.w3.org reports:

----
Validation Output: 2 Errors 
 Line 99, Column 67: end tag for "table" which is not finished.
…kground: inherit;" border="0" width="100%"></table>

✉ 

Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>  ...

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
----

The same is reported for
 Line 102, Column 67: end tag for "table" which is not finished.
…kground: inherit;" border="0" width="100%"></table>

I neither have enough knowledge about the specifications nor do I know if that code
  <table style="background: inherit;" border="0" width="100%"></table>
is valid or not.


I assume that a pragmatic approach would be not to include code for the inclusion of « empty » special pages.


reference link:
« This Page Is Valid XHTML 1.0 Transitional! »
http://validator.w3.org/check?uri=http%3A%2F%2Fcommons.wikimedia.org%2Fwiki%2FUser%3AI18n%3Fuselang%3Dyi%23globalWrapper&charset=%28detect+automatically%29&doctype=Inline&group=0


Best regards Reinhardt [[user:Gangleri]]
Comment 1 Antoine "hashar" Musso (WMF) 2008-08-28 16:43:14 UTC
This issue got fixed somehow. I can reproduce it with current trunk. It just render <p><br /></p>

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


Navigation
Links