Thanx for the reply
It worked  only when I set the 
$wgGroupPermissions['user']['protect'] = true;




Roan Kattouw-2 wrote:
> 
> 2010/3/5 Herulee <[email protected]>:
>>
>> 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
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Page-Locking-tp27793348p27794269.html
Sent from the WikiMedia API mailing list archive at Nabble.com.


_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to