Quote:
Originally Posted by El_Muerte
|
Interesting, before I started writing this extension I searched the web for integrations, but the ones I found had some limitations (e.g. the user had to login twice, once in vB, and once in Wiki)
Quote:
Originally Posted by El_Muerte
But I needed to hack quite some things in the MediaWiki code to remove the User: and UserTalk: namespaces and a couple of other things because our forum wasn't restricted much in the usernames.
Is MediaWiki 1.7 more flexible? Or did you still have to hack some of the core files?
|
MediaWiki 1.7 is more flexible in that it has more hooks. Unfortunately the limitation user names has not gone away.
So far I have had no need to modify MediaWiki's code.
In my extension I solved this limitation by implementing a transparent user name 'translation' system where if there is a vB user named [Clan]Mist, in mediaWiki he/she is authenticated as ClanMist-5 (assuming that 5 is this user's userid).
This, however, is transparent to the user, as whenever the user's name is displayed by MediaWiki, it is shown as [Clan]Mist. In fact the user can either log in through vBulletin, or login through MediaWiki's login page, and in both cases the user would enter his/her vB login [Clan]Mist.
The name ClanMist-5 is only used in URLs and in internal mediawiki processing.
At least this is the theory.. <g>