Im really not sure.
But upi may be able to protect pages through the API. If that is true, you could make an
extension.
The problem is that the protect page comment requires admin access. So I guess you could
have it access the page as you or a bot and protect the page.
If you know PHP, you can also use the snoopy class to act as a bot and protect the page.
If you are in the page editing it to add the extension/template... couldn't you just
then protect the page? (may be less time than making a new extension)
On Jun 30, 2010, at 12:35 PM, Vadtec wrote:
I've posted this question twice before without so
much as a courtesy response of
"Sorry, we don't know." I'd really appreciate some help with this, as I
have not
been able to track down any information on protecting pages (aside from "click
protect at the top of the page") and asking in the IRC chan on freenode usually
goes unanswered as well.
--------------------------------------------------------------------------------
Greetings all,
Is it possible for an extension to set a page as "protected"? I have a tag
that
displays help info for my extension, I'd like to drop it in a page, and have the
tag set the page as protected via a parameter. The idea is to allow the tag to
display its output but have the page be protected from editing.
Thanks for any advice, much appreciated.
- Vadtec
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l