Category:Category: Difference between revisions

1,067 bytes removed ,  Thursday at 04:46
m
Protected "Category (Class)": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]
(Install package: OSW Core)
 
m (Protected "Category (Class)": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(3 intermediate revisions by the same user not shown)
footer_template
Line 1: Line 1:
<!-- Include optional extensions of this page  -->
{{#ask: [[ExtendsDocumentationOf::{{FULLPAGENAME}}]]
|format=embedded
|embedformat=h1
|embedonly=yes
}}
=={{#switch:{{USERLANGUAGECODE}}|en=Graph|de=Graph}}==
=={{#switch:{{USERLANGUAGECODE}}|en=Graph|de=Graph}}==
<div style="width: 100%;" class="InteractiveSemanticGraph" data-config='{ "root":"{{FULLPAGENAME}}", "properties":["Subcategory of","-Subcategory of","HasUtf8Icon"], "permalink":true, "depth":2, "edit": true, "edge_labels": false}'></div>
<div style="width: 100%;" class="InteractiveSemanticGraph" data-config='{ "root":"{{FULLPAGENAME}}", "properties":["SubClassOf","HasImage","HasUtf8Icon"], "ignore_properties":["Subcategory_of", "-Subcategory_of", "Has_query", "Display_title_of", "Display_title_of_lowercase", "Display_title_of_normalized"], "permalink":true, "depth":2, "edit": true, "edge_labels": false, "query_limit":25}'></div>
<br>
<br>
<br>
<br>
jsondata
Line 1: Line 1:
{
{
    "label": [
"label": [
        {
{
            "text": "Category (Class)",
"text": "Category (Class)",
            "lang": "en"
"lang": "en"
        }
}
    ],
],
    "uuid": "89aafe6d-ae5a-4f29-97ff-df7736d4cab6",
"uuid": "89aafe6d-ae5a-4f29-97ff-df7736d4cab6",
    "description": [
"description": [
        {
{
            "text": "Meta-Category for Categories",
"text": "Meta-Category for Categories",
            "lang": "en"
"lang": "en"
        }
}
    ],
],
    "name": "CategoryClass"
"name": "CategoryClass",
"type": [
"Category:Category"
]
}
}
jsonschema
Line 1: Line 1:
{
{
    "@context": [
"@context": [
        "/wiki/Category:Entity?action=raw\u0026slot=jsonschema",
{
        {
"exact_ontology_match***": {
            "subclass_of": {
"@id": "owl:equivalentClass",
                "@id": "rdf:subclass_of",
"@type": "@id"
                "@type": "@id"
},
            },
"metaclass": {
            "metaclass": {
"@id": "Property:HasMetaCategory",
                "@id": "Property:HasMetaCategory",
"@type": "@id"
                "@type": "@id"
},
            },
"subclass_of": {
            "type": {
"@id": "rdfs:subClassOf",
                "@id": "Property:HasType",
"@type": "@id"
                "@type": "@id"
},
            },
"subclass_of*": {
            "utf8_icon": "Property:HasUtf8Icon"
"@id": "Property:SubClassOf",
        }
"@type": "@id"
    ],
},
    "type": "object",
"utf8_icon": "Property:HasUtf8Icon"
    "title": "Category",
},
    "title*": {
"/wiki/Category:Entity?action=raw\u0026slot=jsonschema"
        "de": "Kategorie",
],
        "en": "Category"
"allOf": [
    },
{
    "allOf": [
"$ref": "/wiki/Category:Entity?action=raw\u0026slot=jsonschema"
        {
}
            "type": "object",
],
            "$ref": "/wiki/Category:Entity?action=raw\u0026slot=jsonschema"
"uuid": "89aafe6d-ae5a-4f29-97ff-df7736d4cab6",
        }
"type": "object",
    ],
"title": "Category",
    "required": [
"title*": {
        "subclass_of",
"de": "Kategorie (Klasse)",
        "type"
"en": "Category (Class)"
    ],
},
    "properties": {
"required": [
        "metaclass": {
"subclass_of",
            "title": "Metaclasses/-categories",
"type"
            "title*": {
],
                "de": "Metaklassen/-kategorien"
"properties": {
            },
"type": {
            "type": "array",
"items": {
            "format": "table",
"subclassof_range": "Category:Category",
            "items": {
"format": "autocomplete",
                "title": "Metaclass",
"options": {
                "title*": {
"autocomplete": {
                    "de": "Metaklasse"
"$comment": "All categories here since subclassof_range is limited by depth 5",
                },
"query": "[[:Category:%2B]]"
                "type": "string",
}
                "format": "autocomplete",
}
                "query": "[[IsA::Category:Category]] |?Display_title_of=label",
},
                "previewWikiTextTemplate": "[[:{{result.fulltext}}]]",
"default": [
                "labelTemplate": "{{result.printouts.label.[0]}}"
"Category:Category"
            }
],
        },
"options": {
        "type": {
"hidden": true
            "title": "Types/Categories",
}
            "title*": {
},
                "de": "Typen/Kategorien"
"subclass_of": {
            },
"title": "Supercategories",
            "type": "array",
"title*": {
            "format": "table",
"de": "Überkategorien"
            "items": {
},
                "title": "Type",
"type": "array",
                "title*": {
"propertyOrder": -1009,
                    "de": "Type"
"items": {
                },
"title": "Category",
                "type": "string",
"title*": {
                "format": "autocomplete",
"de": "Kategorie"
                "query": "[[IsA::Category:Category]] |?Display_title_of=label",
},
                "previewWikiTextTemplate": "[[:{{result.fulltext}}]]",
"type": "string",
                "labelTemplate": "{{result.printouts.label.[0]}}"
"format": "autocomplete",
            },
"subclassof_range": "Category:Entity"
            "minLength": 1,
},
            "default": [
"default": [
                "Category:Category"
"Category:Entity"
            ],
],
            "options": {
"options": {
                "hidden": true
"hidden": false
            }
}
        },
},
        "subclass_of": {
"metaclass": {
            "title": "Supercategories",
"title": "Metaclasses/-categories",
            "title*": {
"title*": {
                "en": "Supercategories",
"de": "Metaklassen/-kategorien"
                "de": "Überkategorien"
},
            },
"type": "array",
            "type": "array",
"format": "table",
            "items": {
"propertyOrder": -1008,
                "title": "Category",
"items": {
                "title*": {
"title": "Metaclass",
                    "en": "Category",
"title*": {
                    "de": "Kategorie"
"de": "Metaklasse"
                },
},
                "type": "string",
"type": "string",
                "format": "autocomplete",
"format": "autocomplete",
                "query": "[[IsA::Category:Category]] |?Display_title_of=label",
"subclassof_range": "Category:Category"
                "previewWikiTextTemplate": "[[:{{result.fulltext}}]]",
}
                "labelTemplate": "{{result.printouts.label.[0]}}"
},
            },
"utf8_icon": {
            "default": [
"type": "array",
                "Category:Entity"
"title": "UTF8-Icons",
            ],
"title*": {
            "options": {
"de": "UTF8-Symbole"
                "hidden": false
},
            }
"description": "see https://www.unicode.org/cldr/charts/latest/annotations/romance.html",
        },
"description*": {
        "utf8_icon": {
"de": "siehe https://www.unicode.org/cldr/charts/latest/annotations/germanic.html"
            "type": "array",
},
            "title": "UTF8-Icons",
"items": {
            "description": "see https://www.w3schools.com/charsets/ref_utf_symbols.asp",
"type": "string",
            "description*": {
"title": "UTF8-Icon",
                "de": "see https://www.w3schools.com/charsets/ref_utf_symbols.asp"
"minLength": 1,
            },
"maxLength": 2
            "items": {
}
                "type": "string",
}
                "title": "UTF8-Icon",
}
                "minLength": 1,
                "maxLength": 2
            }
        }
    }
}
}
schema_template
Line 26: Line 26:
     {{/each}}
     {{/each}}
     },
     },
     "required": ["type"],
     "required": [
        "type"
    ],
     "properties": {
     "properties": {
         "type": {
         "type": {