« Issue/2474 » : différence entre les versions
De Semantic MediaWiki - Sandbox
(Page créée avec « Relates to #2474CiteRef::gh:smw:2474 <pre> {{#ask: Modification date::+ |?Modification date |format=csv |limit=5000 }} </pre> {{#ask: Modification date::+... ») |
(chg) |
||
(11 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
Relates to #2474[[CiteRef::gh:smw:2474]] | ; Relates to #2474[[CiteRef::gh:smw:2474]] | ||
* {{#ask: [[Modification date::+]] | |||
|format=count | |||
}} values with [[Property:Modification date]] | |||
; Example 1 | |||
<pre> | <pre> | ||
{{#ask: [[Modification date::+]] | {{#ask: [[Modification date::+]] | ||
Ligne 14 : | Ligne 19 : | ||
}} | }} | ||
;Result | |||
1000. OK, because https://www.semantic-mediawiki.org/wiki/Help:$smwgQMaxInlineLimit is set to 1000. | |||
; Example 2 | |||
<pre> | <pre> | ||
{{#ask: [[Modification date::+]] | {{#ask: [[Modification date::+]] | ||
Ligne 26 : | Ligne 35 : | ||
|limit=222 | |limit=222 | ||
}} | }} | ||
;Result | |||
222, is OK | |||
; [[Issue/2505|Example 3]] | |||
<pre> | |||
{{#ask: [[Modification date::+]] | |||
|?Modification date | |||
|format=csv | |||
}} | |||
</pre> | |||
{{#ask: [[Modification date::+]] | |||
|?Modification date | |||
|format=csv | |||
}} | |||
;Result | |||
100, NOT OK because https://www.semantic-mediawiki.org/wiki/Help:$smwgQDefaultLimit is set to 200[[CiteRef::gh:smw:2505]] | |||
{{#scite:gh:smw:2474 | {{#scite:gh:smw:2474 |
Dernière version du 12 juin 2017 à 13:52
- Relates to #24741
- 10108 values with Property:Modification date
- Example 1
{{#ask: [[Modification date::+]] |?Modification date |format=csv |limit=5000 }}
- Result
1000. OK, because https://www.semantic-mediawiki.org/wiki/Help:$smwgQMaxInlineLimit is set to 1000.
- Example 2
{{#ask: [[Modification date::+]] |?Modification date |format=csv |limit=222 }}
- Result
222, is OK
{{#ask: [[Modification date::+]] |?Modification date |format=csv }}
- Result
100, NOT OK because https://www.semantic-mediawiki.org/wiki/Help:$smwgQDefaultLimit is set to 2002