Last modified: 2014-03-07 23:33:44 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 T60875, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58875 - #ask yield defective Html table syntax.
#ask yield defective Html table syntax.
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
https://translatewiki.net/w/i.php?tit...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-22 21:32 UTC by Purodha Blissenbach
Modified: 2014-03-07 23:33 UTC (History)
5 users (show)

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


Attachments

Description Purodha Blissenbach 2013-12-22 21:32:41 UTC
In translatewiki.net, the code 

{{#ask: [[Summary:+]] [[Status::!closed]] [[Developer::{{FULLPAGENAME}}]]
| limit=1000
| mainlabel=-
| ?Project
| ?Thread
| ?Developer 
| ?Status
| ?Modification date
| sort=Modification date
| order=desc
| default=→ Currently there are no open support requests available for you.
}}

on the page User:Purodha (included from User:Purodha/2do via a template) yields defective HTML with incorrect nextings of table parts:

<table class="sortable wikitable smwtable"><th class="Project"><a href="/wiki/Property:Project" title=Property:Project>Project</a></th><th class="Thread"><a href="/wiki/Property:Thread" title=Property:Thread>Thread</a></th><th class="Developer"><a href="/wiki/Property:Developer" title=Property:Developer>Developer</a></th><th class="Status"><a href="/wiki/Property:Status" title=Property:Status>Status</a></th><th class="Modification-date"><span class="smw-highlighter" data-type="1" data-state="inline" data-title="Property"><span class="smwbuiltin"><a href="/wiki/Property:Modification_date" title="Property:Modification date">Modification date</a></span><span class="smwttcontent">This property is a special property in this wiki.</span></span><tr class="row-odd"><td class="Project smwtype_wpg"><a href="/wiki/Translating:MediaWiki" title=Translating:MediaWiki>MediaWiki</a></td><td class="Thread smwtype_wpg"><a href="/wiki/Thread:Support/Completely_bogus:_%22One_result_found_after_filtering%22_in_translation_page" title="Thread:Support/Completely bogus: &quot;One result found after filtering&quot; in translation page">Support/Completely bogus: "One result found after filtering" in translation page</a></td><td class="Developer smwtype_wpg"><strong class="selflink">Purodha</strong></td><td class="Status smwtype_txt">open</td><td data-sort-value="2456386.4579167" class="Modification-date smwtype_dat">3 April 2013 22:59:24</tr><tr class="row-even"></td><td class="Project smwtype_wpg"><a href="/w/i.php?title=Intuition&amp;action=edit&amp;redlink=1" class=new title="Intuition (page does not exist)">Intuition</a></td><td class="Thread smwtype_wpg"><a href="/wiki/Thread:Support/About_Toolserver:Wlm-show-images-bad-only/ksh" title="Thread:Support/About Toolserver:Wlm-show-images-bad-only/ksh">Support/About Toolserver:Wlm-show-images-bad-only/ksh</a></td><td class="Developer smwtype_wpg"><strong class="selflink">Purodha</strong></td><td class="Status smwtype_txt">open</td><td data-sort-value="2456289.0270255" class="Modification-date smwtype_dat">27 December 2012 12:38:55</table>

Since the result is a partially unreadalble and unusable page, the defective template call is currently disabled using {{X-Template ... 
Feel free to amend when debugging!
Comment 1 MWJames 2014-03-07 23:33:44 UTC
Using [0] to analyse the above html, the analyser did not uncover any illegal tag constellations and has been passed with "Table passed, see the resulting source code bellow, You have a Simple Table" therefore the generated code from the table queryresult printer is valid.

[0] http://wet-boew.github.io/wet-boew/demos/tableparser/validator-htmltable.html

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


Navigation
Links