Extension talk:AccessControl/2016

57 previous topics.

Previous discussion was archived at Extension talk:AccessControl/Archive 1 on 24 October 2016.

Updates for MW 1.27?

Uploaded this to a new MW 1.27 install and it is missing extension.json required for the latest MW version. TheDrew (talk) 21:48, 11 November 2016 (UTC)

"extension.json" is not required but recommended. So you still need to invoke this extension the "classic way" as described in the installation instructions. Eventually this one will get an "extension.json", too. [[kgh]] (talk) 23:39, 11 November 2016 (UTC)

Invalid or virtual namespace -1 given.

I installed this extension today. Whenever a search is done, or a special page is accessed, I receive this error: [96a4e972bfebcd93cd713a17] /index.php?search=stop&title=Special%3ASearch&go=Go MWException from line 105 of /var/www/html/includes/page/WikiPage.php: Invalid or virtual namespace -1 given. The initial number in the [] is always different, but the rest of the error message is the same. What can I do? Do you need any more information to help? 62.30.12.78 (talk) 15:22, 22 December 2016 (UTC)

What is your setup? PHP, MediaWiki, AccessControl? [[kgh]] (talk) 17:21, 23 December 2016 (UTC)
Yes, that is correct. 86.159.31.132 (talk) 12:00, 30 December 2016 (UTC)
Yes, that is correct. Sorry for confusion. I came on at home and at work. Both 86.159.31.132 and 62.30.12.78 are me 62.30.12.78 (talk) 10:17, 3 January 2017 (UTC)
Hi, and no worries. I was asking about the versions of the software mentioned. [[kgh]] (talk) 18:02, 3 January 2017 (UTC)
Mediawiki 1.27.1
PHP 5.5.9-1ubuntu4.19 (apache2handler)
Access Control 2.6 62.30.12.78 (talk) 10:09, 4 January 2017 (UTC)
I fixed this one by editing "includes/page/WikiPage.php", in function factory.
On line 120, replace :
} elseif ( $ns < 0 ) {
By :
} elseif ( $ns < -1 ) { 109.190.122.47 (talk) 11:02, 17 January 2017 (UTC)
Same Problem Here.
fix by 109.190.122.47 is working, but is this not just fixing the symptoms?
|MediaWiki
|1.28.0
|-
|PHP
|5.6.30 (apache2handler)
|-
|MariaDB
|10.1.21-MariaDB
|}
|AccessControl
|2.6(4c085e6)
|} PrinzQMP (talk) 09:31, 5 April 2017 (UTC)