WordPress MediaWiki Integration

At the other end of the spectrum, I would be happy if I could install a wiki and share login credentials between WordPress and the wiki. Some time ago, I hacked into MediaWiki to share logins with another site (in ASP Classic ) via session cookies, and it was difficult and even worse to maintain. Ideally, I would like to find a plugin or someone who knows a more elegant solution.

+9
php mysql wordpress lamp mediawiki
source share
6 answers

A WordPress tutorial , bbPress, and MediaWiki should help you integrate MediaWiki correctly into your WordPress installation. This will certainly be a lot easier than hacking WordPress to have wiki features, especially with the kind of detailed permissions that you describe.

+9
source share

WPMW can help a solution for integrating MediaWiki into a WordPress installation.

+2
source share

Both MediaWiki and Wordpress support OpenID:

http://www.wordpress.org/extend/plugins/openid/

http://www.mediawiki.org/wiki/Extension:OpenID

Although I think that for automatic login (after you log in to one, you will log in to the other automatically) you will need to study the implementation of checkid_immediate

http://www.openid.net/specs/openid-authentication-2_0.html#anchor28

+2
source share

Another solution described in the CUNY Academic Community announces a single entry to WPMu-MediaWiki . It just creates something that uses the WordPress login as a wizard.

+2
source share

My company uses WordPress and MediaWiki internally, and we use HTTP_AUTH access control to create single sign-on. As additional applications are added, we simply integrate them into the HTTP_AUTH system, where it is practically possible. For security, you can run HTTP_AUTH over SSL. The main steps:

Configure .htaccess to specify the type of authentication. We use MySQL in production, but you may have a simple htpasswd file.

In the .htaccess directory of the WordPress directory, add the following:

   <Files wp-login.php>
     AuthType Basic
     AuthName "Restricted Access"
     AuthUserFile / some / path / to / htpasswd
     Require valid-user
   </Files>

In WordPress wp-admin / directory.htaccess add the following:

   AuthType Basic
   AuthName "Restricted Access"
   AuthUserFile / some / path / to / htpasswd
   Require valid-user

In the MediaWiki.htaccess file, add the following:

   AuthType Basic
   AuthName "Restricted Access"
   AuthUserFile / some / path / to / htpasswd

Then install the HttpAuth extension for MediaWiki and HTTP Authentication for WordPress and setup. We had to make some changes to the MediaWiki extension, since our hosting environment does not provide mod_php, but if you have mod_php, it will work out of the box.

Please note that our environment is a private intranet, therefore all are authenticated. The above .htaccess files will work for public blogs, but MediaWiki.htaccess may require additional configuration depending on whether you want everyone to be required for authentication or not, and if the site is public.

+1
source share

Check out Wikiful , WordPress , which connects MediaWiki and WordPress. This can do the trick for you.

+1
source share

All Articles