« Issue Setting Category via Property » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
Ligne 2 : | Ligne 2 : | ||
Pages used: | Pages used: | ||
# [[:Category:Issue Setting Category via Property - Category1]] | |||
# [[:Category:Issue Setting Category via Property - Category2]] | |||
# [[Issue Setting Category via Property/Page with Property]] | |||
# [[Property:Issue Setting Category via Property - Category Name]] | |||
Query <nowiki>{{#show:Issue Setting Category via Property/Page with Property |?Issue Setting Category via Property - Category Name}}</nowiki> results in: | Query <nowiki>{{#show:Issue Setting Category via Property/Page with Property |?Issue Setting Category via Property - Category Name}}</nowiki> results in: | ||
Ligne 12 : | Ligne 12 : | ||
[[Category:{{#show:Issue Setting Category via Property/Page with Property |?Issue Setting Category via Property - Category Name}}]] | [[Category:{{#show:Issue Setting Category via Property/Page with Property |?Issue Setting Category via Property - Category Name}}]] | ||
The issue | The issue: When you change the value of the property in [[Issue Setting Category via Property/Page with Property | Page with Property]] the category is correctly updated on this page, but if you navigate to the category it is empty. |
Dernière version du 28 janvier 2020 à 21:00
Let me demo a problem with setting a page category where the category name comes from a query to another page's property.
Pages used:
- Category:Issue Setting Category via Property - Category1
- Category:Issue Setting Category via Property - Category2
- Issue Setting Category via Property/Page with Property
- Property:Issue Setting Category via Property - Category Name
Query {{#show:Issue Setting Category via Property/Page with Property |?Issue Setting Category via Property - Category Name}} results in:
- Issue Setting Category via Property - Category2
We use this query to set the category of this page.
The issue: When you change the value of the property in Page with Property the category is correctly updated on this page, but if you navigate to the category it is empty.