Special pages are registered in the $wgSpecialPages global with the ['NewProperty'] key currently.
We may want to not register this key in the first place, or unset it later (depending on what the implementor deems to be nicest)
The registration currently happens in repo/Wikibase.php
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Addshore | T255576 Prevent users from accessing Special:NewProperty when federation is enabled | |||
Resolved | Rosalie_WMDE | T256117 Do not register Special:NewProperty when federated properties is enabled |
Event Timeline
Change 607721 had a related patch set uploaded (by Rosalie Perside (WMDE); owner: Rosalie Perside (WMDE)):
[mediawiki/extensions/Wikibase@master] Do not register Special:NewProperty when federated properties is enabled
Note that the registration of special pages is currently being reworked in T256251: Migrate Client special pages to extension JSON. That should be more or less alright for the current version of the attached change, since that only affects the inside of the special page factory. (When I first saw this task, I was worried that the whole $wgSpecialPages['NewProperty'] assignment would be wrapped in an if, which wouldn’t work so well in the extension JSON file.)
Change 607721 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] FP: Do not register Special:NewProperty when federated properties is enabled
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/ /607721