Thanx for the reply
It worked only when I set the
$wgGroupPermissions['user']['protect'] = true;
Roan Kattouw-2 wrote:
2010/3/5 Herulee <heramb.forums(a)googlemail.com>om>:
It gives me the error
There seems to be a problem with your login session;
this action has been canceled as a precaution against session hijacking.
Please hit "back" and reload the page you came from, then try again.</p>
<p>You may view and change the protection level here for the page
Use api.php?action=protect , not index.php?action=protect , and make
sure you're passing login cookies correctly.
Roan Kattouw (Catrope)
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api