It would be nice to be able to protect non existent pages (create=)
I'd submit the code I tweaked myself, but I'm not sure what is the best implementation to do it (since if the page exists, create is not available, and that's the only option available when the page does not exist, the other protections being ignored)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please add protect functions, Thanks, Yoni
Done.
It would be nice to be able to protect non existent pages (create=)
I'd submit the code I tweaked myself, but I'm not sure what is the best implementation to do it (since if the page exists, create is not available, and that's the only option available when the page does not exist, the other protections being ignored)
I guess, it must be a separate method in Site class.