Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[OOC][Info]Nothing Better Than This Wiki, part II
RE: [OOC][Info]Nothing Better Than This Wiki, part II
#93
Just for the record, if we decide to open the wiki up -- as the place is vastly more organized than this forum -- I figured out a way to hide certain namespaces. We can choose whichever ones we want.

Just so I don't lose it: $wgWhitelistReadRegexp = [ "/(?!(?:Draft:|Hidden:))^/" ];

Yes, this is me using a negative lookahead so I can turn a whitelist into a blacklist.  RhinosF1 and I agreed that we would need a pull request for this, and that adding it to the ManageWiki interface would be too easy for users to screw up.
"Kitto daijoubu da yo." - Sakura Kinomoto


Messages In This Thread
RE: [OOC][Info]Nothing Better Than This Wiki, part II - by Labster - 02-23-2022, 04:09 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)