2

As my wiki is public and freely accessible worldwide, sometimes there is a need of not publishing some content before a certain event (let's say, a certain date). Let's say, I would like to upload a few files and keep them secret, however, I would like the content to be accessible to some super user groups. If I'm right, there is an extension Hidden Pages, but, from what I remember, it's more like a hack, and I wouldn't like to hide pages or files, but just restrict the view access. An example scenario I currently thinking of is as follows:

  • Create a restricted namespace
  • Upload a file into that namespace (as far as I remember, this is not possible in MediaWiki, though)
  • Do not link a file from elsewhere but a page that's in a restricted namespace as well, so it couldn't be leaked
  • Once a file could be published, just move a file (or a page) to an unrestricted namespace.

Is it possible in MediaWiki somehow?

  • Almost everything related to read restrictions in MediaWiki is a hack; the software was designed to be radically transparent. You can try e.g. Extension:Blacklist but you should assume that a dedicated attacker can work around it. – Tgr Dec 26 '15 at 1:25
1

This page should help to find your needed extension.

These 3 extensions seem to get the job done:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.