This version is approved.
No categories assigned
Files in namespaces
-
- Last edited 4 years ago by MLR
-
-
- This page is approved
< Manual:Extension
Revision as of 14:17, 10 July 2020 by Mlink-rodrigue (talk | contribs)
NSFileRepo enables uploading files to namepaces. The extension restricts access to upload and read files and images to a given set of user groups associated with the protected namespaces.
Associating files with namespaces
Files are uploaded to the File namespace (NS_FILE), but contain an additional namespace reference:
[[{FILE_NS}:{Namespace}:{Filename}]]
For example, a file can be uploaded to the namespace Private. where access to that namespace can be resticted to particular user groups:
[[File:Private:Filename.jpg]]
The namespace for a file can be provided in the upload dialog. By default, the namespace of the wiki page is provided, if you upload a file directly during page editing.