Commit f9b3e495 authored by Marijn van Wezel's avatar Marijn van Wezel
Browse files

Use number instead of constant, since the constant might not be available yet

parent a8735bef
Pipeline #2765 passed with stage
in 9 seconds
{
"name": "Semantic Structured Discussions",
"type": "semantic",
"version": "1.0.0",
"version": "1.0.1",
"author": [
"Marijn van Wezel ([https://wikibase-solutions.com Wikibase Solutions])"
],
......
......@@ -47,7 +47,7 @@ final class Hooks {
// Enable semantic annotations for pages in the "Topic" namespace
// phpcs:ignore MediaWiki.NamingConventions.ValidGlobalName.allowedPrefix
global $smwgNamespacesWithSemanticLinks;
$smwgNamespacesWithSemanticLinks[NS_TOPIC] = true;
$smwgNamespacesWithSemanticLinks[2600] = true;
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment