« Issue/1481 (Fulltext)/URI examples/Another example » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
== Partial matching == | == Partial matching == | ||
<pre> | <pre> | ||
{{#ask: [[Category:Url | {{#ask: [[Category:Url example]] [[Has url::~ExampleC*]] | ||
|?Has url | |?Has url | ||
}} | }} | ||
</pre> | </pre> | ||
{{#ask: [[Category:Url | {{#ask: [[Category:Url example]] [[Has Url::~ExampleC*]] | ||
|?Has Url | |?Has Url | ||
}} | }} | ||
Ligne 34 : | Ligne 33 : | ||
{{#subobject: | {{#subobject: | ||
|@category=Url example | |@category=Url example | ||
|Has url=http://example.org/index.php?title= | |Has url=http://example.org/index.php?title=ExampleA/ExampleB/ExampleC&action=edit | ||
}}{{#subobject: | }}{{#subobject: | ||
|@category=Url example | |@category=Url example | ||
|Has url=http://example.org/index.php?title= | |Has url=http://example.org/index.php?title=ExampleA/ExampleB&action=edit | ||
}}{{#subobject: | }}{{#subobject: | ||
|@category=Url example | |@category=Url example | ||
|Has url=http://example.org/index.php?title= | |Has url=http://example.org/index.php?title=ExampleA&action=edit | ||
}} | }} | ||
</pre> | </pre> | ||
{{#subobject: | {{#subobject: | ||
|@category=Url example | |@category=Url example | ||
|Has url=http://example.org/index.php?title= | |Has url=http://example.org/index.php?title=ExampleA/ExampleB/ExampleC&action=edit | ||
}}{{#subobject: | }}{{#subobject: | ||
|@category=Url example | |@category=Url example | ||
|Has url=http://example.org/index.php?title= | |Has url=http://example.org/index.php?title=ExampleA/ExampleB&action=edit | ||
}}{{#subobject: | }}{{#subobject: | ||
|@category=Url example | |@category=Url example | ||
|Has url=http://example.org/index.php?title= | |Has url=http://example.org/index.php?title=ExampleA&action=edit | ||
}} | }} |
Version du 8 août 2016 à 18:03
Partial matching
{{#ask: [[Category:Url example]] [[Has url::~ExampleC*]] |?Has url }}
{{#ask: [[Category:Url example]] [[Has url::~bbb*]] |?Has url }}
Attribut:Has URL | |
---|---|
Issue/1481 (Fulltext)/URI examples | http://example.org/index.php?title=AAA/BBB/ccc&action=edit |
Issue/1481 (Fulltext)/URI examples | http://example.org/index.php?title=AAA/BBB&action=edit |
{{#ask: [[Category:Url example]] [[Has url::~AAA*]] |?Has url }}
Example
{{#subobject: |@category=Url example |Has url=http://example.org/index.php?title=ExampleA/ExampleB/ExampleC&action=edit }}{{#subobject: |@category=Url example |Has url=http://example.org/index.php?title=ExampleA/ExampleB&action=edit }}{{#subobject: |@category=Url example |Has url=http://example.org/index.php?title=ExampleA&action=edit }}