Skip to content

Commit

Permalink
fix: add missing namespace const
Browse files Browse the repository at this point in the history
  • Loading branch information
simontaurus committed Nov 10, 2024
1 parent 2c42705 commit 0d68805
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/osw/model/page_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ class PagePackageMetaData(BaseModel):
"NS_MEDIA": "Media",
"NS_MODULE": "Module",
"NS_JSONSCHEMA": "JsonSchema",
"NS_ITEM": "Item",
"NS_ITEM_TALK": "Item talk",
# SMW: https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/
# ebb03c1537810f4ee8c1a25198b8d2e243cc38a1/src/NamespaceManager.php#L119
"SMW_NS_PROPERTY": "Property",
Expand Down Expand Up @@ -298,6 +300,7 @@ class PagePackageMetaData(BaseModel):
"NS_CATEGORY_TALK": 15,
"NS_SPECIAL": -1,
"NS_MEDIA": -2,
"NS_ITEM": 7000,
}

# inverse
Expand Down

0 comments on commit 0d68805

Please sign in to comment.