Différences entre les versions de « Intro and Outro testing »

De Semantic MediaWiki - Sandbox

m (forgot to mention leaflet)
 
(6 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 +
This page tests intro and outro parameters in all result formats.
 +
 +
Summary:
 +
* 32 result formats does parse wikitext in intro or outro as (now) expected in Special:Ask
 +
* 28 result formats does parse wikitext in intro or outro as (now) expected in normal pages.
 +
* 7 result formats does not parse wikitext in intro or outro (this is not a regression: they had never parsed wikitext in intro or outro - confirmed with an earlier version of SMW): timeseries, jqplotchart, map, leaflet, valuerank, datatables and eventcalendar.
 +
* 1 result format (moderntimeline) does not show intro or outro data in either normal pages or Special:Ask (maybe it is not implemented).
 +
* 16 result formats were not tested because of several reasons: it is already broken; it is not listed on Special:Ask; it is not expected to have intro or outro parameters (for example, math formats); missing data to test them; the result format is not activated in this wiki, etc.
 +
 
=== By Semantic MediaWiki itself ===
 
=== By Semantic MediaWiki itself ===
 +
==== broadtable ====
 +
{{#ask:
 +
[[Category:City]]
 +
[[Located in::Germany]]
 +
|format=broadtable
 +
|mainlabel=City
 +
|limit=1
 +
|intro=[[Main Page|Intro]]
 +
|outro=[[Main Page|Outro]]
 +
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== table ====
 
==== table ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=table
 
  |format=table
 
  |mainlabel=City
 
  |mainlabel=City
Ligne 10 : Ligne 34 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
Findings:  
+
 
 +
Findings:
 
* Normal page: OK
 
* Normal page: OK
* Special page: OK
+
* Special:Ask: OK
 +
 
 
==== table (class=datatable) ====
 
==== table (class=datatable) ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 +
|format=table
 
  |mainlabel=City
 
  |mainlabel=City
 
  |class=datatable
 
  |class=datatable
Ligne 23 : Ligne 50 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
Findings:  
+
 
 +
Findings:
 
* Normal page: OK
 
* Normal page: OK
* Special page: OK
+
* Special:Ask: OK
 +
 
 
==== count ====
 
==== count ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=count
 
  |format=count
 
  |limit=1
 
  |limit=1
Ligne 35 : Ligne 64 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: Not tested (not listed on Special:Ask)
 +
 
==== debug ====
 
==== debug ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
|?Population
 
|?area#km²=Area
 
 
  |format=debug
 
  |format=debug
 
  |limit=1
 
  |limit=1
Ligne 46 : Ligne 78 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: Not tested. Not expected to have intro or outro param in this format
 +
 
==== embedded ====
 
==== embedded ====
<!-- {{#ask:
+
<!-- disabled because this format breaks the TOC
 +
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=embedded
 
  |format=embedded
 
  |embedformat=h2
 
  |embedformat=h2
Ligne 56 : Ligne 94 :
 
  |intro=[[Main Page|Intro]]
 
  |intro=[[Main Page|Intro]]
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
}} -->
+
}}
 +
-->
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
 
==== list ====
 
==== list ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=list
 
  |format=list
 
  |limit=1
 
  |limit=1
Ligne 66 : Ligne 109 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== ol ====
 
==== ol ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=ol
 
  |format=ol
 
  |limit=1
 
  |limit=1
Ligne 75 : Ligne 123 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== ul ====
 
==== ul ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=ul
 
  |format=ul
 
  |limit=1
 
  |limit=1
Ligne 84 : Ligne 137 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== csv ====
 
==== csv ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=csv
 
  |format=csv
 
  |limit=1
 
  |limit=1
Ligne 93 : Ligne 151 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Export formats in general will not produce an intro/outro text. [https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4467#issuecomment-578430901 See].
 +
 
==== json ====
 
==== json ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=json
 
  |format=json
 
  |limit=1
 
  |limit=1
Ligne 102 : Ligne 164 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Export formats in general will not produce an intro/outro text. [https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4467#issuecomment-578430901 See].
 +
 
==== category ====
 
==== category ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=category
 
  |format=category
 
  |limit=1
 
  |limit=1
Ligne 111 : Ligne 177 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== rdf ====
 
==== rdf ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=rdf
 
  |format=rdf
 
  |limit=1
 
  |limit=1
Ligne 120 : Ligne 191 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Export formats in general will not produce an intro/outro text. [https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4467#issuecomment-578430901 See].
 +
 
==== dsv ====
 
==== dsv ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=dsv
 
  |format=dsv
 
  |limit=1
 
  |limit=1
Ligne 129 : Ligne 204 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Export formats in general will not produce an intro/outro text. [https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4467#issuecomment-578430901 See].
 +
 
==== feed ====
 
==== feed ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=feed
 
  |format=feed
 
  |limit=1
 
  |limit=1
Ligne 138 : Ligne 217 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Export formats in general will not produce an intro/outro text. [https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4467#issuecomment-578430901 See].
 +
 
==== plainlist ====
 
==== plainlist ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=plainlist
 
  |format=plainlist
 
  |limit=1
 
  |limit=1
Ligne 147 : Ligne 230 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== templatefile ====
 
==== templatefile ====
 
{{#ask:
 
{{#ask:
Ligne 163 : Ligne 251 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Export formats in general will not produce an intro/outro text. [https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4467#issuecomment-578430901 See].
 +
 
=== By extensions to Semantic MediaWiki ===
 
=== By extensions to Semantic MediaWiki ===
 
==== sparkline ====
 
==== sparkline ====
{{#ask:  
+
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=sparkline
 
  |format=sparkline
 
  |link=all
 
  |link=all
Ligne 176 : Ligne 268 :
 
  |class=demo-center
 
  |class=demo-center
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK (I don't know the data to test it here, but seems to be working)
 +
* Special:Ask: OK (I don't know the data to test it here, but seems to be working)
 +
 
==== dygraphs ====
 
==== dygraphs ====
Not tested yet: missing data to test. Not sure if intro/outro is allowed/expected to work.
+
Findings:
 +
* Not tested yet: missing data to test. Not sure if intro/outro is allowed/expected to work with
 +
 
 
==== googlepie ====
 
==== googlepie ====
Not tested: not activated here. Probably will be removed.
+
Findings:
 +
* Not tested: not activated here. This format will probably be removed
 +
 
 
==== jqplotseries ====
 
==== jqplotseries ====
 
{{#ask:
 
{{#ask:
Ligne 188 : Ligne 289 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK (I don't know the data to test it here, but seems to be working)
 +
* Special:Ask: OK (I don't know the data to test it here, but seems to be working)
 +
 
==== timeseries ====
 
==== timeseries ====
 
{{#ask:
 
{{#ask:
Ligne 213 : Ligne 319 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: NOT OK (Wikitext not parsed)
 +
* Special:Ask: OK
 +
 
==== googlebar ====
 
==== googlebar ====
Not tested: not activated here. Probably will be removed.
+
Findings:
 +
* Not tested: not activated here. This format will probably be removed
 +
 
 
==== jqplotchart ====
 
==== jqplotchart ====
 
{{#ask:
 
{{#ask:
Ligne 240 : Ligne 353 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: NOT OK (Wikitext not parsed)
 +
* Special:Ask: OK
 +
 
==== d3chart ====
 
==== d3chart ====
Not tested: seems already broken in smw.org.
+
Findings: Not tested: seems already broken in smw.org
 +
 
 
==== gantt ====
 
==== gantt ====
 
{{#ask:
 
{{#ask:
Ligne 264 : Ligne 383 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== spreadsheet ====
 
==== spreadsheet ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |?Population
 
  |?Population
 
  |?Area#km²=Size in km²
 
  |?Area#km²=Size in km²
Ligne 274 : Ligne 398 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Export formats in general will not produce an intro/outro text. [https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4467#issuecomment-578430901 See].
 +
 
==== bibtex ====
 
==== bibtex ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=bibtex
 
  |format=bibtex
 
  |intro=[[Main Page|Intro]]
 
  |intro=[[Main Page|Intro]]
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Export formats in general will not produce an intro/outro text. [https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4467#issuecomment-578430901 See].
 +
 
==== icalendar ====
 
==== icalendar ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |?Has conference=summary
 
  |?Has conference=summary
 
  |?Has planned start=start
 
  |?Has planned start=start
Ligne 293 : Ligne 425 :
 
  |format=icalendar
 
  |format=icalendar
 
  |title=SMWCon
 
  |title=SMWCon
  |description=The dates of all SMWCons.
+
  |description=The dates of all SMWCons
 
  |searchlabel=Export for iCalendar
 
  |searchlabel=Export for iCalendar
 
  |intro=[[Main Page|Intro]]
 
  |intro=[[Main Page|Intro]]
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Export formats in general will not produce an intro/outro text. [https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4467#issuecomment-578430901 See].
 +
 
==== vcard ====
 
==== vcard ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
  [[Located in::Germany]]  
+
  [[Located in::Germany]]
 
  |format=vcard
 
  |format=vcard
 
  |searchlabel=Export vcard
 
  |searchlabel=Export vcard
Ligne 307 : Ligne 443 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Export formats in general will not produce an intro/outro text. [https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4467#issuecomment-578430901 See].
 +
 
==== kml ====
 
==== kml ====
 
{{#ask:
 
{{#ask:
Ligne 316 : Ligne 456 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Export formats in general will not produce an intro/outro text. [https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4467#issuecomment-578430901 See].
 +
 
==== map ====
 
==== map ====
 
{{#ask: [[Category:City]]
 
{{#ask: [[Category:City]]
 
  |?Has coordinates
 
  |?Has coordinates
 
  |format=map
 
  |format=map
 +
|limit=1
 
  |intro=[[Main Page|Intro]]
 
  |intro=[[Main Page|Intro]]
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: NOT OK (Wikitext not parsed)
 +
* Special:Ask: Not tested (not listed on Special:Ask)
 +
 
==== leaflet ====
 
==== leaflet ====
 
{{#ask: [[Category:City]]
 
{{#ask: [[Category:City]]
 
  |?Has coordinates
 
  |?Has coordinates
 
  |format=leaflet
 
  |format=leaflet
 +
|limit=1
 
  |intro=[[Main Page|Intro]]
 
  |intro=[[Main Page|Intro]]
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: NOT OK (Wikitext not parsed)
 +
* Special:Ask: OK
 +
 
==== process ====
 
==== process ====
Not tested: seems already broken.
+
Findings:
 +
* Not tested: seems already broken
 +
 
 
==== graph ====
 
==== graph ====
Not tested: seems already broken.
+
Findings:
 +
* Not tested: seems already broken
 +
 
 
==== max ====
 
==== max ====
{{#ask:
+
Findings:
[[Category:City]]
+
* Not tested: math format. Not expected to have intro/outro
|?Population
+
 
|format=max
 
|intro=[[Main Page|Intro]]
 
|outro=[[Main Page|Outro]]
 
}}
 
 
==== product ====
 
==== product ====
Not tested: math format. Not expected to have intro/outro.
+
Findings:
 +
* Not tested: math format. Not expected to have intro/outro
 +
 
 
==== sum ====
 
==== sum ====
Not tested: math format. Not expected to have intro/outro.
+
Findings:
 +
* Not tested: math format. Not expected to have intro/outro
 +
 
 
==== average ====
 
==== average ====
Not tested: math format. Not expected to have intro/outro.
+
Findings:
 +
* Not tested: math format. Not expected to have intro/outro
 +
 
 
==== min ====
 
==== min ====
Not tested: math format. Not expected to have intro/outro.
+
Findings:
 +
* Not tested: math format. Not expected to have intro/outro
 +
 
 
==== median ====
 
==== median ====
Not tested: math format. Not expected to have intro/outro.
+
Findings:
 +
* Not tested: math format. Not expected to have intro/outro
 +
 
 
==== filtered ====
 
==== filtered ====
 
{{#ask: [[Category:Display Title Test Pages]]
 
{{#ask: [[Category:Display Title Test Pages]]
Ligne 359 : Ligne 525 :
 
|list view type=list
 
|list view type=list
 
|headers=hide
 
|headers=hide
 +
|limit=1
 
|intro=[[Main Page|Intro]]
 
|intro=[[Main Page|Intro]]
 
|outro=[[Main Page|Outro]]
 
|outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== listwidget ====
 
==== listwidget ====
 
{{#ask:
 
{{#ask:
Ligne 372 : Ligne 544 :
 
  |listtype=unordered
 
  |listtype=unordered
 
  |widget=alphabet
 
  |widget=alphabet
 +
|limit=1
 
  |intro=[[Main Page|Intro]]
 
  |intro=[[Main Page|Intro]]
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== tagcloud ====
 
==== tagcloud ====
 
{{#ask:
 
{{#ask:
Ligne 382 : Ligne 560 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== incoming ====
 
==== incoming ====
 
{{#ask:
 
{{#ask:
Ligne 391 : Ligne 574 :
 
  |sep=;
 
  |sep=;
 
  |min=1
 
  |min=1
 +
|limit=1
 
  |intro=[[Main Page|Intro]]
 
  |intro=[[Main Page|Intro]]
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== array ====
 
==== array ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
 
  |format=array
 
  |format=array
 +
|limit=1
 
  |intro=[[Main Page|Intro]]
 
  |intro=[[Main Page|Intro]]
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== valuerank ====
 
==== valuerank ====
 
{{#ask:
 
{{#ask:
Ligne 408 : Ligne 603 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: NOT OK (Wikitext not parsed)
 +
* Special:Ask: OK
 +
 
==== tree ====
 
==== tree ====
 
{{#ask:
 
{{#ask:
Ligne 415 : Ligne 615 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== pagewidget ====
 
==== pagewidget ====
<!--
+
<!-- disabled because this format breaks the TOC
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
Ligne 422 : Ligne 627 :
 
  |intro=[[Main Page|Intro]]
 
  |intro=[[Main Page|Intro]]
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
}} -->
+
}}
 +
-->
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
 
==== hash ====
 
==== hash ====
 
{{#ask:
 
{{#ask:
 
  [[Category:City]]
 
  [[Category:City]]
 
  |format=hash
 
  |format=hash
 +
|limit=1
 
  |intro=[[Main Page|Intro]]
 
  |intro=[[Main Page|Intro]]
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== outline ====
 
==== outline ====
 
{{#ask:
 
{{#ask:
Ligne 437 : Ligne 653 :
 
  |format=outline
 
  |format=outline
 
  |outlineproperties=Located in
 
  |outlineproperties=Located in
 +
|limit=1
 
  |intro=[[Main Page|Intro]]
 
  |intro=[[Main Page|Intro]]
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== oltree ====
 
==== oltree ====
 
{{#ask:
 
{{#ask:
Ligne 446 : Ligne 668 :
 
  |format=oltree
 
  |format=oltree
 
  |parent=Located in
 
  |parent=Located in
 +
|limit=1
 
  |intro=[[Main Page|Intro]]
 
  |intro=[[Main Page|Intro]]
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== datatables ====
 
==== datatables ====
 
{{#ask:
 
{{#ask:
Ligne 458 : Ligne 686 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: NOT OK (Wikitext not parsed)
 +
* Special:Ask: OK
 +
 
==== timeline ====
 
==== timeline ====
 
{{#ask:
 
{{#ask:
Ligne 467 : Ligne 700 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== eventcalendar ====
 
==== eventcalendar ====
 
{{#ask:
 
{{#ask:
 
  [[Has event::+]]
 
  [[Has event::+]]
  [[Has event start::+]]                  
+
  [[Has event start::+]]                  
 
  |?Has event=title
 
  |?Has event=title
 
  |?Has event start
 
  |?Has event start
  |?Has event end              
+
  |?Has event end              
  |?Has event description=description    
+
  |?Has event description=description  
  |?Has event icon=icon            
+
  |?Has event icon=icon            
 
  |?Has event color=color
 
  |?Has event color=color
  |?Has event location=location        
+
  |?Has event location=location        
  |format=eventcalendar          
+
  |format=eventcalendar          
 
  |defaultview=month
 
  |defaultview=month
 
  |start=earliest
 
  |start=earliest
Ligne 484 : Ligne 722 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: NOT OK (Wikitext not parsed)
 +
* Special:Ask: OK
 +
 
==== eventline ====
 
==== eventline ====
 
{{#ask:
 
{{#ask:
Ligne 493 : Ligne 736 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== calendar ====
 
==== calendar ====
Not tested: seems already broken.
+
Findings:
 +
* Not tested: seems already broken
 +
 
 
==== moderntimeline ====
 
==== moderntimeline ====
 
{{#ask:
 
{{#ask:
Ligne 504 : Ligne 754 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: NOT OK. It does not render intro or outro (maybe it is not implemented)
 +
* Special:Ask:  NOT OK. It does not render intro or outro (maybe it is not implemented)
 +
 
==== latest ====
 
==== latest ====
 
{{#ask:
 
{{#ask:
Ligne 513 : Ligne 768 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK
 +
 
==== earliest ====
 
==== earliest ====
 
{{#ask:
 
{{#ask:
Ligne 522 : Ligne 782 :
 
  |outro=[[Main Page|Outro]]
 
  |outro=[[Main Page|Outro]]
 
}}
 
}}
 +
 +
Findings:
 +
* Normal page: OK
 +
* Special:Ask: OK

Dernière version du 10 mai 2020 à 00:04

This page tests intro and outro parameters in all result formats.

Summary:

  • 32 result formats does parse wikitext in intro or outro as (now) expected in Special:Ask
  • 28 result formats does parse wikitext in intro or outro as (now) expected in normal pages.
  • 7 result formats does not parse wikitext in intro or outro (this is not a regression: they had never parsed wikitext in intro or outro - confirmed with an earlier version of SMW): timeseries, jqplotchart, map, leaflet, valuerank, datatables and eventcalendar.
  • 1 result format (moderntimeline) does not show intro or outro data in either normal pages or Special:Ask (maybe it is not implemented).
  • 16 result formats were not tested because of several reasons: it is already broken; it is not listed on Special:Ask; it is not expected to have intro or outro parameters (for example, math formats); missing data to test them; the result format is not activated in this wiki, etc.

By Semantic MediaWiki itself

broadtable

Intro

City
Berlin
... autres résultats

Outro

Findings:

  • Normal page: OK
  • Special:Ask: OK

table

Intro

City
Berlin
... autres résultats

Outro

Findings:

  • Normal page: OK
  • Special:Ask: OK

table (class=datatable)

Intro

Outro

Findings:

  • Normal page: OK
  • Special:Ask: OK

count

Intro3Outro

Findings:

  • Normal page: OK
  • Special:Ask: Not tested (not listed on Special:Ask)

debug

Intro

Debug outputElasticStore
{ "smw": { "query": "[[Category:City]] [[Located in::Germany]]", "sort": { "": "ASC" }, "metrics": { "query size": 3, "query depth": 1 }, "description_log": [ { "Conjunction": "[[Catégorie:City]] [[Located in::Germany]]" }, [ { "ClassDescription": "[[Catégorie:City]]" } ], [ { "SomeProperty": "[[Located in::Germany]]" } ] ] }, "elastic": [ { "index": "smw-data-db9910120150926-02100_", "type": "data", "body": { "_source": false, "from": 0, "size": 2, "query": { "constant_score": { "filter": { "bool": { "must": [ { "bool": { "filter": [ { "bool": { "should": [ { "term": { "P:4.wpgID": 643 } }, { "terms": { "P:4.wpgID": [ 2211 ] } } ] } } ] } }, { "bool": { "filter": { "term": { "P:33211.wpgID": 642 } } } } ] } } } }, "sort": [ { "subject.sortkey.sort": { "order": "asc" }, "subject.title.sort": { "order": "asc" } } ] } }, { "_shards": { "total": 1, "successful": 1, "failed": 0 }, "valid": true, "explanations": [ { "index": "smw-data-db9910120150926-02100_-v2", "valid": true, "explanation": "+ConstantScore(+(#((P:4.wpgID:[643 TO 643] P:4.wpgID:{2211})~1)) +(#P:33211.wpgID:[642 TO 642])) #*:*" } ] } ] }

Outro

Findings:

  • Normal page: OK
  • Special:Ask: Not tested. Not expected to have intro or outro param in this format

embedded

Findings:

  • Normal page: OK
  • Special:Ask: OK

list

IntroBerlin... autres résultatsOutro

Findings:

  • Normal page: OK
  • Special:Ask: OK

ol

Intro

  1. Berlin

... autres résultatsOutro

Findings:

  • Normal page: OK
  • Special:Ask: OK

ul

Intro

... autres résultatsOutro

Findings:

  • Normal page: OK
  • Special:Ask: OK

csv

CSV

Findings:

  • Export formats in general will not produce an intro/outro text. See.

json

JSON

Findings:

  • Export formats in general will not produce an intro/outro text. See.

category

Intro

Outro

Findings:

  • Normal page: OK
  • Special:Ask: OK

rdf

RDF

Findings:

  • Export formats in general will not produce an intro/outro text. See.

dsv

DSV

Findings:

  • Export formats in general will not produce an intro/outro text. See.

feed

RSS

Findings:

  • Export formats in general will not produce an intro/outro text. See.

plainlist

IntroBerlin... autres résultatsOutro

Findings:

  • Normal page: OK
  • Special:Ask: OK

templatefile

beacon export file

Findings:

  • Export formats in general will not produce an intro/outro text. See.

By extensions to Semantic MediaWiki

sparkline

IntroLes données demandées n’ont pas pu être affichées à cause de certains critères de sélection insuffisants.Outro

Findings:

  • Normal page: OK (I don't know the data to test it here, but seems to be working)
  • Special:Ask: OK (I don't know the data to test it here, but seems to be working)

dygraphs

Findings:

  • Not tested yet: missing data to test. Not sure if intro/outro is allowed/expected to work with

googlepie

Findings:

  • Not tested: not activated here. This format will probably be removed

jqplotseries

IntroL’histogramme ou le graphe sont vides car il n’y a pas de donnéesOutro

Findings:

  • Normal page: OK (I don't know the data to test it here, but seems to be working)
  • Special:Ask: OK (I don't know the data to test it here, but seems to be working)

timeseries

[[Main Page|Intro]]

[[Main Page|Outro]]

Findings:

  • Normal page: NOT OK (Wikitext not parsed)
  • Special:Ask: OK

googlebar

Findings:

  • Not tested: not activated here. This format will probably be removed

jqplotchart

[[Main Page|Intro]]

[[Main Page|Outro]]

Findings:

  • Normal page: NOT OK (Wikitext not parsed)
  • Special:Ask: OK

d3chart

Findings: Not tested: seems already broken in smw.org

gantt

Intro

Outro

Findings:

  • Normal page: OK
  • Special:Ask: OK

spreadsheet

Feuille de calcul

Findings:

  • Export formats in general will not produce an intro/outro text. See.

bibtex

... autres résultats

Findings:

  • Export formats in general will not produce an intro/outro text. See.

icalendar

Export for iCalendar

Findings:

  • Export formats in general will not produce an intro/outro text. See.

vcard

Export vcard

Findings:

  • Export formats in general will not produce an intro/outro text. See.

kml

Export as KML-file

Findings:

  • Export formats in general will not produce an intro/outro text. See.

map

[[Main Page|Intro]]

Chargement de la carte...

[[Main Page|Outro]]

Findings:

  • Normal page: NOT OK (Wikitext not parsed)
  • Special:Ask: Not tested (not listed on Special:Ask)

leaflet

[[Main Page|Intro]]

Chargement de la carte...

[[Main Page|Outro]]

Findings:

  • Normal page: NOT OK (Wikitext not parsed)
  • Special:Ask: OK

process

Findings:

  • Not tested: seems already broken

graph

Findings:

  • Not tested: seems already broken

max

Findings:

  • Not tested: math format. Not expected to have intro/outro

product

Findings:

  • Not tested: math format. Not expected to have intro/outro

sum

Findings:

  • Not tested: math format. Not expected to have intro/outro

average

Findings:

  • Not tested: math format. Not expected to have intro/outro

min

Findings:

  • Not tested: math format. Not expected to have intro/outro

median

Findings:

  • Not tested: math format. Not expected to have intro/outro

filtered

Intro

Outro

Findings:

  • Normal page: OK
  • Special:Ask: OK

listwidget

Intro

Outro

Findings:

  • Normal page: OK
  • Special:Ask: OK

tagcloud

IntroAucun résultat.Outro

Findings:

  • Normal page: OK
  • Special:Ask: OK

incoming

IntroAucun résultat.Outro

Findings:

  • Normal page: OK
  • Special:Ask: OK

array

IntroActiveicon TestOutro

Findings:

  • Normal page: OK
  • Special:Ask: OK

valuerank

[[Main Page|Intro]]

    [[Main Page|Outro]]

    Findings:

    • Normal page: NOT OK (Wikitext not parsed)
    • Special:Ask: OK

    tree

    IntroAucune propriété parente fournie. L’arbre ne peut pas être construit sans une propriété parente spécifiée.Outro

    Findings:

    • Normal page: OK
    • Special:Ask: OK

    pagewidget

    Findings:

    • Normal page: OK
    • Special:Ask: OK

    hash

    IntroActiveicon Test... autres résultatsOutro

    Findings:

    • Normal page: OK
    • Special:Ask: OK

    outline

    Intro

    Greece

    ... autres résultats Outro

    Findings:

    • Normal page: OK
    • Special:Ask: OK

    oltree

    Intro

    1. United Kingdom

    Outro

    Findings:

    • Normal page: OK
    • Special:Ask: OK

    datatables

    Intro

    Outro

    Findings:

    • Normal page: NOT OK (Wikitext not parsed)
    • Special:Ask: OK

    timeline

    Intro

    Outro

    Findings:

    • Normal page: OK
    • Special:Ask: OK

    eventcalendar

    [[Main Page|Intro]]

    [[Main Page|Outro]]

    Findings:

    • Normal page: NOT OK (Wikitext not parsed)
    • Special:Ask: OK

    eventline

    Intro

    Outro

    Findings:

    • Normal page: OK
    • Special:Ask: OK

    calendar

    Findings:

    • Not tested: seems already broken

    moderntimeline

    Findings:

    • Normal page: NOT OK. It does not render intro or outro (maybe it is not implemented)
    • Special:Ask: NOT OK. It does not render intro or outro (maybe it is not implemented)

    latest

    Intro2 septembre 2018 16:23:40Outro

    Findings:

    • Normal page: OK
    • Special:Ask: OK

    earliest

    Intro2 septembre 2018 16:23:40Outro

    Findings:

    • Normal page: OK
    • Special:Ask: OK
    Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.