which may be more
suited to your needs than something as heavyweight as CentralAuth. :D
-- brion
On Wed, Feb 18, 2015 at 10:55 AM, Brion Vibber <bvibber(a)wikimedia.org>
wrote:
A few quick notes --
Be warned that poking directly in the user_groups table can leave in-cache
user data out of sync with the database. You might have to restart
memcached if using it, or clear the objectcache table in the database,
depending on configuration.
More generally, remember that group membership doesn't do anything unless
the config is in $wgGroupPermissions -- so make sure you have a common
setup of permissions for all your wikis, or it might be seeing the group
but not conferring a permission from it.
Also, the group names are probably case sensitive -- 'SysOp' may not mean
the same as 'sysop'.
(Note that if you're using an authentication plugin you can override
things like group membership; on Wikimedia's sites these are provided via
CentralAuth extension. That might be overkill for your use if you only need
to adjust a couple accounts.)
-- brion
On Wed, Feb 18, 2015 at 9:35 AM, Adam Hubble <adamhubble(a)gmail.com> wrote:
Hi there,
I've recently been given control of a wiki which I believe is set up as a
wiki family for different languages. The default wiki can be found at
http://wiki.magicjudges.org/en/w (and other languages are
http://wiki.magicjudges.org/XX/w, with XX being various language codes).
I am both bureaucrat and sysop on the English wiki (and see the
appropriate
entries in en_user_groups table). We have a shared database, but from what
I can tell not shared tables for most things, as there are tables with
every language prefix. The language specific user tables only have the
SysOp user in. The language specific user_groups table has the groups for
the SysOp, WikiOp, and two previous wiki admins.
What I am trying to work out is how to make group permissions apply to all
the wikis in the family. I have manually added rows to a language specific
user_groups table (in this case, cs_user_groups), but when I access the
http://wiki.magicjudges.org/cs/w/Special:UserRights, I am being told I
don't have permissions (like it's just seeing me as a normal user).
What am I missing beyond adding these group permissions in the user_group
table for each language?
I am running MediaWiki 1.24.1, PHP 5.6.14 (php-fpm), and MariaDB 5.5.41.
Thanks in advance for any help or guidance that can be provided.
-Adam
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l