Property/Category setup: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
(+(Deptree_parent, Deptree_child).)
(ISSUE: Forced updating stopped working.)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==<span style="color:gray;">Property vs Category setup</span>==
==info==


'''Notes:'''
'''Notes:'''
:Due to how this work (MW/SMW) Category changes here don't automatically update the data in the related Category pages. For that the related property pages also need to be Null-edited (or API-Purged).
:Due to how this work (MW/SMW) Category data changes here don't automatically update the data in the related Category & property pages.
:When in source-edit mode the [Show Preview] prints data on the used, and newly added, cases.
:The only successful way so far to force proper data updating across the board seems to be two API-Purged calls on the related property page(s).
:(the second call would be on properties that show up in the unclassified‎ category while they should not.)
:{{error|Currently not working anymore. Unclassified cases can't be forced to there target category anymore. Find fix, and/or alternative simpler solution.}}
 
:When in source-edit mode the '''[Show Preview]''' prints data on the used, and newly added property, cases.


{{#ask:[[prop_name::+]]
{{#ask:[[prop_name::+]]
|?Prop_name
|?Prop_name
|?Prop_name#-
|?Prop name#-=Prop name(txt)
|?Prop_cat
|?Prop_cat
|?Prop_cat#-
|?Prop cat#-=Prop cat(txt)
|format=table
|?Prop key
|sort=prop_name
|format=table
|order=asc
|sort=prop_name
|limit=0
|order=asc
|mainlabel=-
|limit=0
|searchlabel=Active cases list.
|mainlabel=-
|class=sortable wikitable smwtable
|searchlabel=Active cases list (smwtable).
}} ({{#ask:[[prop_name::+]]|format=count}})
|class=sortable wikitable smwtable
}} ({{#ask:[[prop_name::+]]|format=count}})<br>
Property category entries: {{#ask:[[Category:Properties]]|format=count}}<br>
Property pages count(1): {{#ask:[[Property:+]][[Has type::+]]|format=count}}<br>
Property pages count(2): [https://ringofbrodgar.com/wiki/Special:AllPages?namespace=102 AllPages(Property)]
 
==<span style="color:gray;">Property vs Category setup</span>==


<!-- debug --
<!-- debug --
Line 170: Line 180:


{{  Property_cat | 1=Crt-isdeadly | 2=game/kritter
{{  Property_cat | 1=Crt-isdeadly | 2=game/kritter
}}{{Property_cat | 1=Crt-armor | 2=game/kritter
}}{{Property_cat | 1=Crt-basequality | 2=game/kritter
}}{{Property_cat | 1=Crt-basequality-txt | 2=game/kritter
}}{{Property_cat | 1=Crt-hitpoints | 2=game/kritter
}}{{Property_cat | 1=Crt-hitpoints-txt | 2=game/kritter
}}{{Property_cat | 1=Crt-fleeinghitpoints | 2=game/kritter
}}{{Property_cat | 1=Crt-fleeinghitpoints-txt | 2=game/kritter
}}
}}


Line 228: Line 245:
}}{{Property_cat | 1=Trees_branchtype | 2=game/tree
}}{{Property_cat | 1=Trees_branchtype | 2=game/tree
}}{{Property_cat | 1=Tree_terrains | 2=game/tree
}}{{Property_cat | 1=Tree_terrains | 2=game/tree
}}<!-- alternative(sub-objects) tree/log properties
{{  Property_cat | 1=Tree/name‎ | 2=game/tree
}}{{Property_cat | 1=‎Tree/trv | 2=game/tree
}}{{Property_cat | 1=‎Tree/logs | 2=game/tree
}}{{Property_cat | 1=‎Treelog/stoneaxe | 2=game/tree
}}{{Property_cat | 1=‎Treelog/metalaxe | 2=game/tree
}}{{Property_cat | 1=‎Treelog/bonesaw | 2=game/tree
}}{{Property_cat | 1=‎Treelog/metalsaw | 2=game/tree
}}{{Property_cat | 1=‎Treelog/sawmill | 2=game/tree
}}
}}
{{  Property_cat | 1=Seed_of | 2=game/bush
{{  Property_cat | 1=Seed_of | 2=game/bush
}}{{Property_cat | 1=Grown_from | 2=game/tree
}}{{Property_cat | 1=Grown_from | 2=game/tree
Line 236: Line 263:
}}{{Property_cat | 1=Boardperlog | 2=game/tree
}}{{Property_cat | 1=Boardperlog | 2=game/tree
}}{{Property_cat | 1=Boardperlog_m | 2=game/tree
}}{{Property_cat | 1=Boardperlog_m | 2=game/tree
}}{{Property_cat | 1=Boardperlog_sawmill | 2=game/tree
}}
}}


Line 396: Line 424:
}}
}}


{{  Property_cat | 1=Test_Boolean 1 | 2=sandbox
{{  Property_cat | 1=Test_Boolean 1 | 2=sandbox | 3=B
}}{{Property_cat | 1=Test_Date 1 | 2=sandbox
}}{{Property_cat | 1=Test_Date 1 | 2=sandbox | 3=D
}}{{Property_cat | 1=Test_Keyword 1 | 2=sandbox
}}{{Property_cat | 1=Test_Keyword 1 | 2=sandbox | 3=K
}}{{Property_cat | 1=Test_Keyword 2 | 2=sandbox
}}{{Property_cat | 1=Test_Keyword 2 | 2=sandbox | 3=K
}}{{Property_cat | 1=Test_Keyword 3 | 2=sandbox
}}{{Property_cat | 1=Test_Keyword 3 | 2=sandbox | 3=K
}}{{Property_cat | 1=Test_Number | 2=sandbox
}}{{Property_cat | 1=Test_Number | 2=sandbox | 3=N
}}{{Property_cat | 1=Test_Number 1 | 2=sandbox
}}{{Property_cat | 1=Test_Number 1 | 2=sandbox | 3=N
}}{{Property_cat | 1=Test_Number 2 | 2=sandbox
}}{{Property_cat | 1=Test_Number 2 | 2=sandbox | 3=N
}}{{Property_cat | 1=Test_Number 3 | 2=sandbox
}}{{Property_cat | 1=Test_Number 3 | 2=sandbox | 3=N
}}{{Property_cat | 1=Test_Page 1 | 2=sandbox
}}{{Property_cat | 1=Test_Page 1 | 2=sandbox | 3=P
}}{{Property_cat | 1=Test_Page 2 | 2=sandbox
}}{{Property_cat | 1=Test_Page 2 | 2=sandbox | 3=P
}}{{Property_cat | 1=Test_Page 3 | 2=sandbox
}}{{Property_cat | 1=Test_Page 3 | 2=sandbox | 3=P
}}{{Property_cat | 1=Test_Record | 2=sandbox
}}{{Property_cat | 1=Test_Record | 2=sandbox | 3=R
}}{{Property_cat | 1=Test_Record 1 | 2=sandbox
}}{{Property_cat | 1=Test_Record 1 | 2=sandbox | 3=R
}}{{Property_cat | 1=Test_Text 1 | 2=sandbox
}}{{Property_cat | 1=Test_Text 1 | 2=sandbox | 3=T
}}{{Property_cat | 1=Test_Text 2 | 2=sandbox
}}{{Property_cat | 1=Test_Text 2 | 2=sandbox | 3=T
}}{{Property_cat | 1=Test_Text 3 | 2=sandbox
}}{{Property_cat | 1=Test_Text 3 | 2=sandbox | 3=T
}}
}}


{{  Property_cat | 1=Prop_name | 2=properties_branch
{{  Property_cat | 1=Prop_name | 2=properties_branch
}}{{Property_cat | 1=Prop_cat | 2=properties_branch
}}{{Property_cat | 1=Prop_cat | 2=properties_branch
}}{{Property_cat | 1=Prop_key | 2=properties_branch
}}{{Property_cat | 1=Category_exists | 2=properties_branch
}}{{Property_cat | 1=Category_exists | 2=properties_branch
}}
}}

Latest revision as of 09:20, 21 September 2024

info

Notes:

Due to how this work (MW/SMW) Category data changes here don't automatically update the data in the related Category & property pages.
The only successful way so far to force proper data updating across the board seems to be two API-Purged calls on the related property page(s).
(the second call would be on properties that show up in the unclassified‎ category while they should not.)
Currently not working anymore. Unclassified cases can't be forced to there target category anymore. Find fix, and/or alternative simpler solution.
When in source-edit mode the [Show Preview] prints data on the used, and newly added property, cases.

Active cases list (smwtable). (178)
Property category entries: 353
Property pages count(1): 298
Property pages count(2): AllPages(Property)

Property vs Category setup