« 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
 
(3 versions intermédiaires par le même utilisateur non affichées)
Ligne 2 : Ligne 2 :


Pages used:
Pages used:
* [[:Category:Issue Setting Category via Property - Category1]]
# [[:Category:Issue Setting Category via Property - Category1]]
* [[:Category:Issue Setting Category via Property - Category2]]
# [[:Category:Issue Setting Category via Property - Category2]]
* [[Issue Setting Category via Property/Page with Property]]
# [[Issue Setting Category via Property/Page with Property]]
* [[Property:Issue Setting Category via Property - Category Name]]
# [[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:
* {{#show:Issue Setting Category via Property/Page with Property |?Issue Setting Category via Property - Category Name}}
We use this query to set the category of this page.
[[Category:{{#show:Issue Setting Category via Property/Page with Property |?Issue Setting Category via Property - Category Name}}]]
 
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:

  1. Category:Issue Setting Category via Property - Category1
  2. Category:Issue Setting Category via Property - Category2
  3. Issue Setting Category via Property/Page with Property
  4. 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.

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.