No categories assigned

Files in namespaces

< Manual:Extension
Revision as of 14:17, 10 July 2020 by Mlink-rodrigue (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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.


Target namespace during image upload
Target namespace during image upload


Related info

Attachments

Discussions