Document access control for Special:ImportFromPid and recommend fix#192
Draft
Document access control for Special:ImportFromPid and recommend fix#192
Conversation
Agent-Logs-Url: https://github.com/MaRDI4NFDI/MaRDIRoadmap/sessions/7e610225-2af7-46d9-97d9-330d82d6fc58 Co-authored-by: physikerwelt <2777736+physikerwelt@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Clarify user groups that can access Import Special Page
Document access control for Special:ImportFromPid and recommend fix
Apr 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Special:ImportFromPidis gated on the MediaWikiimportright, which is only granted tosysopby default — making the page admin-only.Root cause
In
wikimedia/mediawiki-extensions-MathSearch(includes/Specials/SpecialImport.php):Recommended fix
Introduce a dedicated
mardimportright rather than reusing the broadimportright.SpecialImport.phpextension.jsonChanges need to land in
wikimedia/mediawiki-extensions-MathSearchand be picked up by the portal deployment. Full details indocs/import-special-page-access.md.