Quantcast
Channel: Home
Viewing all articles
Browse latest Browse all 5

Documentation MediaWiki Bridge

$
0
0

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

 


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images