<p>On the other end of the spectrum, I would be happy if I could install a wiki and share the login credentials between <a href="http://en.wikipedia.org/wiki/WordPress" rel="nofollow noreferrer">WordPress</a> and the wiki. I hacked <a href="http://en.wikipedia.org/wiki/MediaWiki" rel="nofollow noreferrer">MediaWiki</a> a while ago to share logins with another site (in <a href="http://en.wikipedia.org/wiki/Active_Server_Pages" rel="nofollow noreferrer">ASP Classic</a>) via session cookies, and it was a pain to do and even worse to maintain. Ideally, I would like to find a plug-in or someone who knows a more elegant solution.</p>

[{'answer_id': 33815, 'author': 'ceejayoz', 'author_id': 1902010, 'author_profile': 'https://Stackoverflow.com/users/1902010', 'pm_score': 4, 'selected': True, 'text': '<p>The tutorial <em><a href="https://bbpress.org/forums/topic/mediawiki-bbpress-and-wordpress-integration/" rel="nofollow noreferrer">WordPress, bbPress &amp; MediaWiki</a></em> should get you on the right track to integrating MediaWiki into your WordPress install. It\'s certainly going to be a <em>lot</em> easier than hacking WordPress to have wiki features, especially with the sort of granular permissions you\'re describing.</p>\n'}, {'answer_id': 46988, 'author': 'Michael Ridley', 'author_id': 4838, 'author_profile': 'https://Stackoverflow.com/users/4838', 'pm_score': 1, 'selected': False, 'text': '<p>My company uses WordPress and MediaWiki internally and we use HTTP_AUTH access control to create a "single sign on".  As we add more applications, we simply integrate them into the HTTP_AUTH system where practical.  For security, you can run HTTP_AUTH over SSL.  The basic steps are:</p>\n\n<p>Configure the .htaccess to specify the authentication type.  We use MySQL in production but you could have a simple htpasswd file.</p>\n\n<p>In the WordPress directory\'s .htaccess file add the following:</p>\n\n<pre>\n  &lt;Files wp-login.php&gt;\n    AuthType Basic\n    AuthName "Restricted Access"\n    AuthUserFile /some/path/to/htpasswd\n    Require valid-user\n  &lt;/Files&gt;\n</pre>\n\n<p>In the WordPress wp-admin/ directory\'s .htaccess add the following:</p>\n\n<pre>\n  AuthType Basic\n  AuthName "Restricted Access"\n  AuthUserFile /some/path/to/htpasswd\n  Require valid-user\n</pre>\n\n<p>In the MediaWiki directory\'s .htaccess file add the following:</p>\n\n<pre>\n  AuthType Basic\n  AuthName "Restricted Access"\n  AuthUserFile /some/path/to/htpasswd\n</pre>\n\n<p>Then install the <a href="http://www.mediawiki.org/wiki/Extension:HttpAuth" rel="nofollow noreferrer">HttpAuth</a> extension for MediaWiki and the <a href="http://wordpress.org/extend/plugins/http-authentication/" rel="nofollow noreferrer">HTTP Authentication</a> plugin for WordPress and configure.  We had to make some slight modifications to the MediaWiki extension as our hosting environment does not provide mod_php but if you have mod_php it will work out of the box.</p>\n\n<p>Note that our environment is a private intranet so everyone is authenticated.  The above .htaccess files will work for publicly viewable blogs but some additional tweaking may be required for the MediaWiki .htaccess depending on whether you want everyone to be required to be authenticated or not and if the site is publicly available.</p>\n'}, {'answer_id': 243930, 'author': 'molave', 'author_id': 32118, 'author_profile': 'https://Stackoverflow.com/users/32118', 'pm_score': 2, 'selected': False, 'text': '<p><a href="http://ciarang.com/wiki/page/WPMW" rel="nofollow noreferrer">WPMW</a>, a solution for integrating a MediaWiki within a WordPress installation, might help.</p>\n'}, {'answer_id': 2066422, 'author': 'user209930', 'author_id': 209930, 'author_profile': 'https://Stackoverflow.com/users/209930', 'pm_score': 2, 'selected': False, 'text': '<p>Both MediaWiki and Wordpress support OpenID:</p>\n\n<p><a href="http://www.wordpress.org/extend/plugins/openid/" rel="nofollow noreferrer">http://www.wordpress.org/extend/plugins/openid/</a></p>\n\n<p><a href="http://www.mediawiki.org/wiki/Extension:OpenID" rel="nofollow noreferrer">http://www.mediawiki.org/wiki/Extension:OpenID</a></p>\n\n<p>Though, I think for automatic logins (after you log in to one, you automatically log in to the other) you would need to look into implementing checkid_immediate</p>\n\n<p><a href="http://www.openid.net/specs/openid-authentication-2_0.html#anchor28" rel="nofollow noreferrer">http://www.openid.net/specs/openid-authentication-2_0.html#anchor28</a></p>\n'}, {'answer_id': 6455913, 'author': 'A. Traviss Corry', 'author_id': 812426, 'author_profile': 'https://Stackoverflow.com/users/812426', 'pm_score': 2, 'selected': False, 'text': '<p>Another solution is described in <em><a href="http://dev.commons.gc.cuny.edu/2009/05/21/the-cuny-academic-commons-announces-wpmu-mediawiki-single-sign-on/" rel="nofollow">The CUNY Academic Commons Announces WPMu-MediaWiki Single Sign-on</a></em>. It just creates something that uses the WordPress login as the master. </p>\n'}, {'answer_id': 7631626, 'author': 'Erik', 'author_id': 976147, 'author_profile': 'https://Stackoverflow.com/users/976147', 'pm_score': 1, 'selected': False, 'text': '<p>Have a look at <a href="http://wordpress.org/plugins/wikiful/" rel="nofollow">Wikiful</a>, a <a href="http://en.wikipedia.org/wiki/WordPress" rel="nofollow">WordPress</a> plugin that bridges <a href="http://en.wikipedia.org/wiki/MediaWiki" rel="nofollow">MediaWiki</a> and WordPress. That might do the trick for you.</p>\n'}]
['https://Stackoverflow.com/questions/33745', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/255/']