Hello,
I had already searched google for that string, and didn't have any success. However, one thing I neglected to mention was; I can move a page provided its not to a Namespace, but I can move it from a Namespace to Main.
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" ][ "obliged100_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;
Much obliged! -----------------------------------------------------------
Hello,
I haven't gotten a response regarding this issue; does the configuration look correct?
Thank you!
I had already searched google for that string, and didn't have any success. However, one thing I neglected to mention was; I can move a page provided its not to a Namespace, but I can move it from a Namespace to Main.
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;
Much obliged!
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Mon, Jan 17, 2011 at 2:33 PM, Tolliver tolliver@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
Hello Chad,
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, Tollivertolliver@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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, Tollivertolliver@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hello,
Just in case any one else experiences this problem, I have resolved my issue.
The fix was:
Adding the following line in NamespacePermissions.php $wgGroupPermissions[ "ns{$title}RW" ][ "ns{$num}_move-target" ] = true;
(found it on Mediawiki.org)
Hope this is of some help.
----------------------------------------------------- On 18/01/2011 3:46 PM, Tolliver wrote:
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, Tollivertolliver@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org