ProfessionalWiki / ProfessionalWiki/Network
Cannot enable namespaces listed in extension.json as excluded
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 33
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
extension.json includes:
"PageNetworkExcludedNamespaces": {
"value": [ 2, 4, 8, 12 ]
},
However, arrays defined in extension.json can only be added to (there isn't much documentation for this, but you can see
https://www.mediawiki.org/wiki/Manual:Extension.json/Schema#Merge_strategies). So, it is not possible to remove those four default namespaces from the exclude list. It would be better to set that to an empty array and allow site admins to add namespaces as needed.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with extension.json and the MediaWiki Extension.json schema merge-strategies documentation linked in the issue. Check how PageNetworkExcludedNamespaces is defined, then set its default value to an empty array so site administrators can add namespaces; verify that the extension configuration still accepts administrator-provided namespaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100