https://bugzilla.wikimedia.org/show_bug.cgi?id=32056

       Web browser: ---
             Bug #: 32056
           Summary: Issues with custom installation
           Product: MediaWiki extensions
           Version: any
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: CentralAuth
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


I setup CentralAuth extension om my server with 4 wiki (and use symlinks for
shared code), with stable version REL1_17. And I have some issues with this
extension:

* Access to Special:GlobalGroupPermissions from new wiki is not possible - used
"hasGlobalPermission" method and in new wiki can't exists any global groups -
one way to resolve this issue is temporary change this check with
$wgUser->isAllowed method.

* Special:SpecialGlobalGroupMembership redirected to Special:UserRights and
changing "hasGlobalPermission" to "isAllowed" in source code does not
resolving.

* Wiki names in MergeAccount and CentralAuth interface is simple not displayed
(without any PHP errors).

* Extension creates two entries on Special:Version: for CentralAuth and for
MergeAccount (in one setup file). Reasonable solution is combine them, but they
can't be used separately.

I read that this extensions is hardcoded for Wikimedia wikis, but if developers
marked this extension as "stable" in mediawiki.org, probably must provide its
good work or good instructions to its correctly setup or mark as broken for
custom installations.

GlobalConfiguration file:

<pre>
require_once("$GC/extensions/CentralAuth/CentralAuth.php");
$wgLocalDatabases = array( 'meta', 'mw01', 'mw02', 'mw03' );
$wgConf->wikis = $wgLocalDatabases;
$wgConf->suffixes = $wgLocalDatabases;
$wgConf->extractAllGlobals( $wgDBname );
</pre>

(This config I get from one of mediawiki.org manuals about configuration a wiki
falimiles. $GC is global path to root MediaWiki folder, called "phase3" in
SVN.)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to