Open main menu

Contents

Compatibility between Visual Editor and AccessControlEdit

Hello and thank you for your work on AccessControl Extension. I recently installed Visual Editor in order to make mediawiki easier for users and it seems at first sight that it is not compatible with AccessControl. People who have the rights to edit a page can't do it. Server error is returned while it works perfectly on pages that are not concerned by access restrictions. In order to be able to take a decision on whether or not we should continue with AccessControl I need to know if :

  1. It is just a configuration concern and if so I would love to know what to do.
  2. Access Control is not compatible with Visual Editor yet and it is not planned that it will be soon.
  3. Access Control is not compatible with Visual Editor yet but it will be soon.

Regards.

AccessControl extensionEdit

Heiya Want,

were is some activity on your extensions talk page since you last updated it, including code suggestions. The questions is if you are still actively maintaining this extension. This would be cool and very much appreciated.

Cheers --[[kgh]] (talk) 13:47, 29 April 2015 (UTC)

I am answered on yours talk pages. Want (talk) 16:34, 29 April 2015 (UTC)
Thanks for your fast reply. I answered on my talk page. Cheers --[[kgh]] (talk) 13:58, 30 April 2015 (UTC)
Hi Want!
Could you please help me out with the problem I struggle with AC? I posted it on AC talk.
Thank you in advance!

Create a phabricatorEdit

Hi could you create a phabricator account so that you can be added to task at https://phabricator.wikimedia.org/tag/mediawiki-extensions-accesscontrol/ and be added to the project. Anyways gerrit is being switch to phabricator soon not sure when. Paladox2017 (talk) 14:52, 3 August 2015 (UTC)

Translation notification: Universal Language Selector/Compact Language Links/Announcement draft June 2016Edit

Hello Want,

You are receiving this notification because you signed up as a translator to čeština on MediaWiki. The page Universal Language Selector/Compact Language Links/Announcement draft June 2016 is available for translation. You can translate it here:


The deadline for translating this page is 2016-06-30.

Hello, please help us translate this announcement for Compact Language Links, a feature that is scheduled to roll out to Wikimedia wikis sometime very soon. Thank you.

Your help is greatly appreciated. Translators like you help MediaWiki to function as a truly multilingual community.

You can change your notification preferences.

Thank you!

MediaWiki translation coordinators‎, 17:25, 15 June 2016 (UTC)

Fresh installations issueEdit

Hello Want,

I am trying to install the AccessControl for my wiki that is hosted on a shared server (HostGator):

  • Mediawiki v 1.27.1
  • AccessControl release: REL1_27-62d3051
  • Define the following Namespaces on my LocalSettings file:
define("NS_POWER", 2680);
define("NS_POWER_TALK", 2681);

  • Add namespaces for access control.
$wgExtraNamespaces[NS_POWER] = "Power";
$wgExtraNamespaces[NS_POWER_TALK] = "Power_talk";
$wgAdminCanReadAll = true;
$wgAccessControlRedirect = false;

  • Created the Power:UL page on "Power" Namespace with the following content:
* User
I tried fullname and username neither options didn't work.
  • I have used the following tag inside the protected article (placed on top):
<accesscontrol>Administrators,Power:UL</accesscontrol>

Error message:

Fatal error: Call to a member function getNativeData() on null in /InstallationDirectory/extensions/AccessControl/AccessControl.hooks.php on line 122

Warning on accessible pages message:

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method AccessControlHooks::accessControlExtension() should not be called statically in /InstallationDirectory/includes/Hooks.php on line 195

Have I missed something? :$ Help please, Thanks on advanced! :)

I would like to help, but my last changes is in branch REL1_26 - version 2.5.1 (7324c30) 25. 2. 2016, 17:01, which I use with MediaWiki 1.28.0-alpha (951c101) see my wiki [1] Changes provided in next version 2.6 do not function in our wiki. Therefore I use own version. Not need do create extra namespaces for accesslists with my version. Want (talk) 16:48, 1 November 2016 (UTC)
Thanks a lot will double check on the mentioned above wiki much appreciated.
Any news ? I Have the same issue on LTS mediawiki 1.27. Wingsofcourage (talk) 13:50, 18 January 2018 (UTC)
Recommend to use git branch authorized by me. Want (talk) 14:28, 18 January 2018 (UTC)

Breaking Special pagesEdit

After trying to access Special pages while using the AccessControl extension, I run into this error message.

[c27a6aacc3234f88cc03c1e7] /mediawiki/index.php/Special:RecentChanges MWException from line 105 of mediawiki\includes\page\WikiPage.php: Invalid or virtual namespace -1 given.

Backtrace:

  1. 0 mediawiki\extensions\AccessControl\AccessControl.hooks.php(86): WikiPage::factory(Title)
  2. 1 mediawiki\extensions\AccessControl\AccessControl.hooks.php(295): AccessControlHooks::getContentPage(integer, string)
  3. 2 [internal function]: AccessControlHooks::onUserCan(Title, User, string, string)
  4. 3 mediawiki\includes\Hooks.php(195): call_user_func_array(string, array)
  5. 4 mediawiki\includes\Title.php(2049): Hooks::run(string, array)
  6. 5 mediawiki\includes\Title.php(2492): Title->checkPermissionHooks(string, User, array, string, boolean)
  7. 6 mediawiki\includes\Title.php(1917): Title->getUserPermissionsErrorsInternal(string, User, string)
  8. 7 mediawiki\includes\MediaWiki.php(201): Title->getUserPermissionsErrors(string, User)
  9. 8 mediawiki\includes\MediaWiki.php(745): MediaWiki->performRequest()
  10. 9 mediawiki\includes\MediaWiki.php(519): MediaWiki->main()
  11. 10 mediawiki\index.php(43): MediaWiki->run()
  12. 11 {main}

Cardcaptor Stacey (talk) 10:49, 24 November 2016 (UTC)

Version of extension? What is the name accesslist? How is used accesscontrol tag? Want (talk) 11:35, 24 November 2016 (UTC)
Thanks for the quick response! I'm using version 2.6. The extension works great on protected and normal pages, just doesn't like any Special:* pages. I've tried this on my local and live environments, but getting the same error. Cardcaptor Stacey (talk) 11:46, 24 November 2016 (UTC)
This extension is not intended to protect Special pages. But method for protection special pages exist. I use in LocalSettings.php (in example):
function disableSomeSpecialPages(&$list) {
    global $wgUser;
    if(!$wgUser->isAllowed('createpage')) {

    //All deny access for special pages for anonymous 
    #unset($list['Specialpages']);
    // Block a request for new account
    #unset($list['RequestAccount']);
    //
    unset($list['Mypage']);
    foreach(array(
            'Allmessages',
            'Withoutinterwiki'
            )as $i){unset($list[$i]);}
    }
    return true;
}
Thanks, but I don't need protection on my Special pages. The extension breaks on my Special pages. See my original post for the error message I get. Cardcaptor Stacey (talk) 10:33, 25 November 2016 (UTC)
Try version 2.5.1, what is from me. I don't use 2.6, because any change incorporated into code is problematic for me. I use last development code MediaWiki from git, with my version of AccessControl without any problems. See https://www.thewoodcraft.org/wiki/index.php/Special:Version Want (talk) 10:53, 25 November 2016 (UTC)
Thank you very much! 2.5.1 works great! Cardcaptor Stacey (talk) 14:51, 25 November 2016 (UTC)

Share your experience and feedback as a Wikimedian in this global surveyEdit

Your feedback matters: Final reminder to take the global Wikimedia surveyEdit

(Sorry to write in Engilsh)

Translation notification: MediaWiki 1.30Edit

Hello Want,

You are receiving this notification because you signed up as a translator to čeština on MediaWiki. The page MediaWiki 1.30 is available for translation. You can translate it here:



Your help is greatly appreciated. Translators like you help MediaWiki to function as a truly multilingual community.

You can change your notification preferences.

Thank you!

MediaWiki translation coordinators‎, 19:28, 1 August 2017 (UTC)

Translation notification: MediaWiki 1.31Edit

Hello Want,

You are receiving this notification because you signed up as a translator to čeština on MediaWiki. The page MediaWiki 1.31 is available for translation. You can translate it here:



Your help is greatly appreciated. Translators like you help MediaWiki to function as a truly multilingual community.

You can change your notification preferences.

Thank you!

MediaWiki translation coordinators‎, 14:11, 15 December 2017 (UTC)

Translation notification: Extension:EasyTimelineEdit

Hello Want,

You are receiving this notification because you signed up as a translator to čeština on MediaWiki. The page Extension:EasyTimeline is available for translation. You can translate it here:



Your help is greatly appreciated. Translators like you help MediaWiki to function as a truly multilingual community.

You can change your notification preferences.

Thank you!

MediaWiki translation coordinators‎, 23:24, 28 September 2018 (UTC)

Translation notification: Phabricator/HelpEdit

Hello Want,

You are receiving this notification because you signed up as a translator to čeština on MediaWiki. The page Phabricator/Help is available for translation. You can translate it here:



Your help is greatly appreciated. Translators like you help MediaWiki to function as a truly multilingual community.

You can change your notification preferences.

Thank you!

MediaWiki translation coordinators‎, 11:18, 30 September 2018 (UTC)

Translation notification: Wikimedia TechnologyEdit

Hello Want,

You are receiving this notification because you signed up as a translator to čeština on MediaWiki. The page Wikimedia Technology is available for translation. You can translate it here:



Your help is greatly appreciated. Translators like you help MediaWiki to function as a truly multilingual community.

You can change your notification preferences.

Thank you!

MediaWiki translation coordinators‎, 11:45, 5 October 2018 (UTC)

Translation notification: Extension:CheckUserEdit

Hello Want,

You are receiving this notification because you signed up as a translator to čeština on MediaWiki. The page Extension:CheckUser is available for translation. You can translate it here:



Your help is greatly appreciated. Translators like you help MediaWiki to function as a truly multilingual community.

You can change your notification preferences.

Thank you!

MediaWiki translation coordinators‎, 00:15, 8 October 2018 (UTC)

Translation notification: MediaWiki 1.32Edit

Hello Want,

You are receiving this notification because you signed up as a translator to čeština on MediaWiki. The page MediaWiki 1.32 is available for translation. You can translate it here:



Your help is greatly appreciated. Translators like you help MediaWiki to function as a truly multilingual community.

You can change your notification preferences.

Thank you!

MediaWiki translation coordinators‎, 13:38, 23 November 2018 (UTC)
  1. This survey is primarily meant to get feedback on the Wikimedia Foundation's current work, not long-term strategy.
  2. Legal stuff: No purchase necessary. Must be the age of majority to participate. Sponsored by the Wikimedia Foundation located at 149 New Montgomery, San Francisco, CA, USA, 94105. Ends January 31, 2017. Void where prohibited. Click here for contest rules.
Return to the user page of "Want".