User talk:Want
Add topicCompatibility between Visual Editor and AccessControl
[edit]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 :
- It is just a configuration concern and if so I would love to know what to do.
- Access Control is not compatible with Visual Editor yet and it is not planned that it will be soon.
- Access Control is not compatible with Visual Editor yet but it will be soon.
Regards.
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 phabricator
[edit]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)
Fresh installations issue
[edit]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 pages
[edit]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: #0 mediawiki\extensions\AccessControl\AccessControl.hooks.php(86): WikiPage::factory(Title) #1 mediawiki\extensions\AccessControl\AccessControl.hooks.php(295): AccessControlHooks::getContentPage(integer, string) #2 [internal function]: AccessControlHooks::onUserCan(Title, User, string, string) #3 mediawiki\includes\Hooks.php(195): call_user_func_array(string, array) #4 mediawiki\includes\Title.php(2049): Hooks::run(string, array) #5 mediawiki\includes\Title.php(2492): Title->checkPermissionHooks(string, User, array, string, boolean) #6 mediawiki\includes\Title.php(1917): Title->getUserPermissionsErrorsInternal(string, User, string) #7 mediawiki\includes\MediaWiki.php(201): Title->getUserPermissionsErrors(string, User) #8 mediawiki\includes\MediaWiki.php(745): MediaWiki->performRequest() #9 mediawiki\includes\MediaWiki.php(519): MediaWiki->main() #10 mediawiki\index.php(43): MediaWiki->run() #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)
- 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)
- 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)
- This extension is not intended to protect Special pages. But method for protection special pages exist. I use in
Share your experience and feedback as a Wikimedian in this global survey
[edit]Hello! The Wikimedia Foundation is asking for your feedback in a survey. We want to know how well we are supporting your work on and off wiki, and how we can change or improve things in the future.[1] The opinions you share will directly affect the current and future work of the Wikimedia Foundation. You have been randomly selected to take this survey as we would like to hear from your Wikimedia community. To say thank you for your time, we are giving away 20 Wikimedia T-shirts to randomly selected people who take the survey.[2] The survey is available in various languages and will take between 20 and 40 minutes.
You can find more information about this project. This survey is hosted by a third-party service and governed by this privacy statement. Please visit our frequently asked questions page to find more information about this survey. If you need additional help, or if you wish to opt-out of future communications about this survey, send an email to surveys@wikimedia.org.
Thank you! --EGalvez (WMF) (talk) 21:27, 13 January 2017 (UTC)
References
[edit]- ↑ This survey is primarily meant to get feedback on the Wikimedia Foundation's current work, not long-term strategy.
- ↑ 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.
Your feedback matters: Final reminder to take the global Wikimedia survey
[edit](Sorry to write in Engilsh)
Hello! This is a final reminder that the Wikimedia Foundation survey will close on 28 February, 2017 (23:59 UTC). The survey is available in various languages and will take between 20 and 40 minutes. Take the survey now.
If you already took the survey - thank you! We won't bother you again.
About this survey: You can find more information about this project here or you can read the frequently asked questions. This survey is hosted by a third-party service and governed by this privacy statement. If you need additional help, or if you wish to opt-out of future communications about this survey, send an email through EmailUser function to User:EGalvez (WMF) or surveys@wikimedia.org. About the Wikimedia Foundation: The Wikimedia Foundation supports you by working on the software and technology to keep the sites fast, secure, and accessible, as well as supports Wikimedia programs and initiatives to expand access and support free knowledge globally. Thank you! --EGalvez (WMF) (talk) 08:24, 24 February 2017 (UTC)
Translation notification: MediaWiki 1.30
[edit]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)Thanks a ton for putting effort in redoing this extenion. Very much appreciated.
- Setup
- MediaWiki 1.31.2 (4187f85) 23:25, 17. Jun. 2019
- PHP 7.0.33-0+deb9u3 (apache2handler)
- MariaDB 10.1.38-MariaDB-0+deb9u1
- AccessControl 3.0-pre (e8c3ca0) 07:08, 20. Jun. 2019
- Issue
After invoking I get this notice and warning many times on the wiki:
Notice: Use of undefined constant PREG_UNMATCHED_AS_NULL - assumed 'PREG_UNMATCHED_AS_NULL' in /../w/extensions/AccessControl/AccessControl.hooks.php on line 351 Warning: preg_match() expects parameter 4 to be integer, string given in /../w/extensions/AccessControl/AccessControl.hooks.php on line 351
Apart from that I tested the old syntax for file access control and it appears to work as expected, i.e. as before.
--[[kgh]] (talk) 10:50, 30 June 2019 (UTC)
- Thanks for your message, PHP include the constant PREG_UNMATCHED_AS_NULL since 7.2.0 version. I'm going to make a change that set it if was undefined.
- Setup [www.thewoodcraft.org/ TheWoodcraft.org]
- MediaWiki 1.34.0-alpha (44b5248)
- PHP 7.3.3-1 (apache2handler)
- MariaDB 10.0.32-MariaDB-0+deb8u1
- AccessControl 3.0-pre (06930b0) 20:59, 27 June 2019
- --Want (talk) 14:40, 30 June 2019 (UTC)
- Ah, ok, I get it. I am on current stable of Debian which still ships with PHP 7.0 so making this code change will be great. Debian 10 will be released in a fortnight or so and brings PHP 7.2 but until people upgrade their servers still some time may pass. Thanks a lot for your cool work. Cheers --[[kgh]] (talk) 16:21, 1 July 2019 (UTC)
Help please!
[edit]Hi everyone. Have next situation:
Testuser in tester group
Testuser2 in user group
Premissions of tester group:
$wgGroupPermissions['tester']['read'] = true;
$wgGroupPermissions['tester']['createaccount'] = true;
$wgGroupPermissions['tester']['edit'] = true;
$wgGroupPermissions['tester']['writeapi'] = true;
$wgGroupPermissions['tester']['createpage'] = false;
$wgGroupPermissions['tester']['createtalk'] = false;
$wgGroupPermissions['tester']['upload'] = true;
$wgGroupPermissions['tester']['protect'] = true;
$wgGroupPermissions['tester']['editsemiprotected'] = true;
$wgGroupPermissions['tester']['unwatchedpages'] = true;
But, when I use <accesscontrol> Tester </accesscontrol> or <accesscontrol> @tester </accesscontrol> for my page Serv2 - this page still locked for Testuser and Testuser2 too. And when I use <accesscontrol> Testuser </accesscontrol> - it's working, but I need set premissions for groups, not for 1 user. What I'm gona do? Don't understand, help please. Madb0nes (talk) 10:49, 14 June 2023 (UTC)
- Please read info on the page Extension:AccessControl: „From version 2.0 the extension does not use wiki user groups (except sysop), only groups created by user access lists!”
- Set global permisions it's only for annonymous deny access. AccessControl manage access only authorized users. Want (talk) 12:46, 14 June 2023 (UTC)
- Aw, ok, thank you. Madb0nes (talk) 04:04, 15 June 2023 (UTC)
Translation notification: Manual:Interface/Sidebar
[edit]Hello Want,
You are receiving this notification because you signed up as a translator to čeština on MediaWiki. The page Manual:Interface/Sidebar 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.
To unsubscribe or to change your notification preferences for translations, please visit Special:TranslatorSignup.
Thank you!
MediaWiki translation coordinators, 10:03, 2 June 2024 (UTC)
Translation notification: Extension:ImportDump
[edit]Hello Want,
You are receiving this notification because you signed up as a translator to čeština on MediaWiki. The page Extension:ImportDump 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.
To unsubscribe or to change your notification preferences for translations, please visit Special:TranslatorSignup.
Thank you!
MediaWiki translation coordinators, 12:57, 14 June 2024 (UTC)
Translation notification: Help:Export
[edit]Hello Want,
You are receiving this notification because you signed up as a translator to čeština on MediaWiki. The page Help:Export 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.
To unsubscribe or to change your notification preferences for translations, please visit Special:TranslatorSignup.
Thank you!
MediaWiki translation coordinators, 18:43, 17 June 2024 (UTC)
Translation notification: Extension:Avatars
[edit]Hello Want,
You are receiving this notification because you signed up as a translator to čeština on MediaWiki. The page Extension:Avatars 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.
To unsubscribe or to change your notification preferences for translations, please visit Special:TranslatorSignup.
Thank you!
MediaWiki translation coordinators, 20:06, 27 September 2024 (UTC)