[Mediawiki-l] Error with the Move command

Tolliver tolliver at dal.ca
Tue Jan 18 19:46:27 UTC 2011


Hello,

Is there any suggestions on what could be preventing the ability to 
utilize $wgGroupPermissions functionality?


On 18/01/2011 8:17 AM, Tolliver wrote:
> Here is the original message:
>
> Hello,
>
> When I try to move a page I get the following error:
> *You are not allowed to execute the action you have requested.
>
> *Current setup:
> MediaWiki 1.16.0
> PHP 5.1.6(apache2handler)
> MySQL 5.0.77
>
>
> -------------------
>
> Additional information:
>
> I can not move a page to a Namespace, but I can move it from a Namespace to Main. I suspect the problem to be with $wgGroupPermissions, because if I switch a permission from false to true, or vise versa, there isn't any change.
>
> Here is what the part of my LocalSettings.php looks like:
>
>>   $wgExtraNamespaces[100] = "NetRedesign";
>>   $wgExtraNamespaces[102] = "Border";
>>   $wgExtraNamespaces[104] = "Dwight";
>>   $wgExtraNamespaces[106] = "Ensg";
>>   $wgExtraNamespaces[108] = "Reg-Off";
>>   $wgExtraNamespaces[110] = "LegalCounsel";
>>
>>   require_once( "extensions/NamespacePermissions.php" );
>>
>>   $wgNamespacesToBeSearchedDefault = array( NS_MAIN =>    1, NS_USER =>    1,
>>   100 =>    1, 102 =>    1,104 =>    1,106 =>    1,108 =>    1,110 =>    1);
>>
>>   $wgGroupPermissions[ "NetRedesign_RW" ][ "ns100_edit" ] = true;
>>   $wgGroupPermissions[ "NetRedesign_RW" ][ "ns100_read" ] = true;
>>   $wgGroupPermissions[ "NetRedesign_RW" ][ "ns100_create" ] = true;
>>   $wgGroupPermissions[ "NetRedesign_RW" ][ "ns100_move" ] = true;
>>   $wgGroupPermissions[ "NetRedesign_RW" ][ "ns100_upload" ] = true;
>>   $wgGroupPermissions[ "NetRedesign_RO" ][ "ns100_read" ] = true;
>>   $wgGroupPermissions[ "NetRedesign_RW" ][ "ns100_delete" ] = true;
>>
>>   $wgGroupPermissions[ "Border_RW" ][ "ns102_edit" ] = true;
>>   $wgGroupPermissions[ "Border_RW" ][ "ns102_read" ] = true;
>>   $wgGroupPermissions[ "Border_RW" ][ "ns102_create" ] = true;
>>   $wgGroupPermissions[ "Border_RW" ][ "ns102_move" ] = true;
>>   $wgGroupPermissions[ "Border_RW" ][ "ns102_upload" ] = true;
>>   $wgGroupPermissions[ "Border_RO" ][ "ns102_read" ] = true;
>>
>>   $wgGroupPermissions[ "Dwight_RW" ][ "ns104_edit" ] = true;
>>   $wgGroupPermissions[ "Dwight_RW" ][ "ns104_read" ] = true;
>>   $wgGroupPermissions[ "Dwight_RW" ][ "ns104_create" ] = true;
>>   $wgGroupPermissions[ "Dwight_RW" ][ "ns104_move" ] = true;
>>   $wgGroupPermissions[ "Dwight_RW" ][ "ns104_upload" ] = true;
>>   $wgGroupPermissions[ "Dwight_RO" ][ "ns104_read" ] = true;
>>
>>   $wgGroupPermissions[ "Ensg_RW" ][ "ns106_edit" ] = true;
>>   $wgGroupPermissions[ "Ensg_RW" ][ "ns106_read" ] = true;
>>   $wgGroupPermissions[ "Ensg_RW" ][ "ns106_create" ] = true;
>>   $wgGroupPermissions[ "Ensg_RW" ][ "ns106_move" ] = true;
>>   $wgGroupPermissions[ "Ensg_RW" ][ "ns106_upload" ] = true;
>>   $wgGroupPermissions[ "Ensg_RO" ][ "ns106_read" ] = true;
>>
>>   $wgGroupPermissions[ "Reg-Off_RW" ][ "ns108_edit" ] = true;
>>   $wgGroupPermissions[ "Reg-Off_RW" ][ "ns108_read" ] = true;
>>   $wgGroupPermissions[ "Reg-Off_RW" ][ "ns108_create" ] = true;
>>   $wgGroupPermissions[ "Reg-Off_RW" ][ "ns108_move" ] = true;
>>   $wgGroupPermissions[ "Reg-Off_RW" ][ "ns108_upload" ] = true;
>>   $wgGroupPermissions[ "Reg-Off_RO" ][ "ns108_read" ] = true;
>>
>>   $wgGroupPermissions[ "LegalCounsel_RW" ][ "ns110_edit" ] = true;
>>   $wgGroupPermissions[ "LegalCounsel_RW" ][ "ns110_read" ] = true;
>>   $wgGroupPermissions[ "LegalCounsel_RW" ][ "ns110_create" ] = true;
>>   $wgGroupPermissions[ "LegalCounsel_RW" ][ "ns110_move" ] = true;
>>   $wgGroupPermissions[ "LegalCounsel_RW" ][ "ns110_upload" ] = true;
>>   $wgGroupPermissions[ "LegalCounsel_RO" ][ "ns110_read" ] = true;
>>
> Thanks,
> Graham
> ---------------------------------------------------
> On 17/01/2011 9:03 PM, Chad wrote:
>> On Mon, Jan 17, 2011 at 2:33 PM, Tolliver<tolliver at dal.ca>   wrote:
>>> Hello,
>>>
>>> I haven't gotten a response regarding this issue; does the configuration
>>> look correct?
>>>
>> You never said what the error actually was.
>>
>> -Chad
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>




More information about the MediaWiki-l mailing list