No categories assigned

NSFileRepo

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