Software voor het web

PHP Programmeur en Joomla! specialist

Documentation MediaWiki Bridge

Read the manual in the zip file first!

Unzip the file first and install Joomla AND MediaWiki extensions.

1. How can I add Joomla groups to MediaWiki? (Only Pro version)

You can set the Groups in localsettings.php from MediaWiki. The next lines in localsettings you can set the propagate usergroups.

// $wgAuthJoomla_PropagateGroups :
// Set this to true if you want Joomla user groups to be turned into Mediawiki
// group membership. If you want ALL roles to be turned into groups, leave
// $wgAuthJoomla_Groups empty. You can limit the roles that should be propagated
// by setting $wgAuthJoomla_Groups to an array containing names of groups to be
// propagated, like $wgAuthJoomla_Groups = array( 'Registered', 'Super Users' );
$wgAuthJoomla_PropagateGroups = true;
$wgAuthJoomla_Groups = null;  // null means propagate all groups

Now you can set the groups in MediaWiki Group Permissions like

$wgGroupPermissions['Registered']['read'] = true;

 You can use the Joomla usergroups in the MediaWiki User rights. For more info about this rights: link to MediaWiki manual

 2. Redirect after login/logout

In the last Joomla! version you cann't redirect after login and logout to an external link. I work on an alternative. In the meantime you can link to a menuitem (an article for example) with a link to the wiki.

This lines in your localsettings from MediaWiki:

$wgAuthJoomla_LogoutLink = base64_encode('index.php?Itemid=101'); //return location logout
$wgAuthJoomla_LoginLink = base64_encode('index.php?Itemid=101');  //return location login

 

Joomla! Extensions

Wilt u extra functionaliteit voor uw Joomla! klanten of uw eigen site? Alles is mogelijk met Joomla!

Contact

Kleinekolk 17 in Wapenveld

+31 (0)6 385 649 31

info@haroldprins.nl

Joomla! is a registered trademark of Open Source Matters, Harold Prins.nl are not affiliated with or endorsed by Open Source Matters or the Joomla! Project.