Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 10:36 pm EST
Geeklog Forums
MediaWiki integration with Geeklog
Status: offline
Euan
Forum User
Full Member
Registered: 04/22/02
Posts: 292
Hi all. Just posted a brief how-to and some files for a very basic integration of MediaWiki with Geeklog. See it here on my site.
If you have any questions let me know. Please note this is a very basic integration, but it allows your users to log in with their Geeklog username and password.
Cheers,
Euan.
-- Heather Engineering
-- No job too small
If you have any questions let me know. Please note this is a very basic integration, but it allows your users to log in with their Geeklog username and password.
Cheers,
Euan.
-- Heather Engineering
-- No job too small
18
15
Quote
Darren
Anonymous
PHP v4.2 switched off register_globals, so if you haven't changed this setting, you'll need to add 'global $_DB_host, $_DB_user, $_DB_pass' to each function in AuthGeeklog.php that uses them (userExists, authenticate etc.)
19
16
Quote
Status: offline
romantaran
Forum User
Junior
Registered: 03/19/05
Posts: 34
Location:Russia
Quote by euan: Hi all. Just posted a brief how-to and some files for a very basic integration of MediaWiki with Geeklog.
Wow! It is very necessary! I'll try it!
14
18
Quote
Status: offline
romantaran
Forum User
Junior
Registered: 03/19/05
Posts: 34
Location:Russia
I have two separate databases for GL and for MediaWiki. Maybe because of this integration doesn't work. What can I do?
21
13
Quote
Status: offline
Euan
Forum User
Full Member
Registered: 04/22/02
Posts: 292
At the moment, the integration doesn't support having register globals off. I need to fix it - maybe this weekend, but I'm way behind schedule on too many things....
There should be no problem to allow having two databases. I'll see if I can add a config section to allow choosing your database, but no promises.
-- Heather Engineering
-- No job too small
There should be no problem to allow having two databases. I'll see if I can add a config section to allow choosing your database, but no promises.
-- Heather Engineering
-- No job too small
18
18
Quote
Status: offline
romantaran
Forum User
Junior
Registered: 03/19/05
Posts: 34
Location:Russia
Now it works! I have register_globals "on" but there was the problem like Darren wrote. So I have done what he said.
15
18
Quote
Status: offline
samstone
Forum User
Full Member
Registered: 09/29/02
Posts: 820
Hi Euan,
Thanks for the quick response.
Since we are on this topic, could you point out why I should use ErfurtWiki rather than mediawiki? Mediawiki seems to have more programmers behind it.
After seeing that you have ErfurtWiki integration with Geeklog, I checked the features and found that it doesn't support Unicode. I am a little confused because I understand you site is unicode. Have you had any problem using ErfurtWiki with unicode?
Sam
Thanks for the quick response.
Since we are on this topic, could you point out why I should use ErfurtWiki rather than mediawiki? Mediawiki seems to have more programmers behind it.
After seeing that you have ErfurtWiki integration with Geeklog, I checked the features and found that it doesn't support Unicode. I am a little confused because I understand you site is unicode. Have you had any problem using ErfurtWiki with unicode?
Sam
17
19
Quote
Status: offline
Euan
Forum User
Full Member
Registered: 04/22/02
Posts: 292
The only real difference is that ErfurtWiki is embedded within the Geeklog page - just a looks thing. The MediaWiki integration at the moment is just a login thing - when you log into MediaWiki, it checks your credentials against the Geeklog database. Clearly, MediaWiki also has a more mature feature set than ErfurtWiki.
I would like to improve this integration - there is potential, I'm sure - but don't have much time. I'll look into getting 1.6.2 working, and that's about it for the moment. If other people want to cooperate on this, I'm open to offers (I'm already starting to work with people on the Rating and Glinks plugins).
As for UTF-8 in ErfurtWiki, I hadn't noticed any problems.... I always just set up my sites in UTF-8 only. Are you finding it doesn't work?
Cheers, Euan.
-- Heather Engineering
-- No job too small
I would like to improve this integration - there is potential, I'm sure - but don't have much time. I'll look into getting 1.6.2 working, and that's about it for the moment. If other people want to cooperate on this, I'm open to offers (I'm already starting to work with people on the Rating and Glinks plugins).
As for UTF-8 in ErfurtWiki, I hadn't noticed any problems.... I always just set up my sites in UTF-8 only. Are you finding it doesn't work?
Cheers, Euan.
-- Heather Engineering
-- No job too small
17
11
Quote
Status: offline
ItsCurly
Forum User
Junior
Registered: 12/05/05
Posts: 24
Hi,
I have installed MediaWiki, looks great. Now have to figure out how to use it.
I have also followed the instructions for integrating into Geeklog, but now I can't log into MediaWiki at all, it rejects my username and password, although accepts the username. Password requests don't arrive but could be a setting on the server.
1. Is there any logical reason for this that anyone could think of?
2. Not really geeklog related, but how can I re run the setup of MediaWiki? I still have config directory intact although not writeable.
3. The instructions for the integration as per heatherengineering.com say to log into MediaWiki when done. Will this automatically allow existing users to login, or do I need to create them initially in MediaWiki and then they won't need to log in twice?
Curly
I have installed MediaWiki, looks great. Now have to figure out how to use it.
I have also followed the instructions for integrating into Geeklog, but now I can't log into MediaWiki at all, it rejects my username and password, although accepts the username. Password requests don't arrive but could be a setting on the server.
1. Is there any logical reason for this that anyone could think of?
2. Not really geeklog related, but how can I re run the setup of MediaWiki? I still have config directory intact although not writeable.
3. The instructions for the integration as per heatherengineering.com say to log into MediaWiki when done. Will this automatically allow existing users to login, or do I need to create them initially in MediaWiki and then they won't need to log in twice?
Curly
24
21
Quote
Status: offline
Euan
Forum User
Full Member
Registered: 04/22/02
Posts: 292
I had a look at the integration again, and it seems to be working for me with the latest version of MediaWiki.
If you are having trouble with this integration, make sure that you are editing the path to your Geeklog config.php in the AuthGeeklog.php file. If things still don't work and the path is definitely correct, feel free to post here with details of the problem.
Cheers,
Euan.
-- Heather Engineering
-- No job too small
If you are having trouble with this integration, make sure that you are editing the path to your Geeklog config.php in the AuthGeeklog.php file. If things still don't work and the path is definitely correct, feel free to post here with details of the problem.
Cheers,
Euan.
-- Heather Engineering
-- No job too small
22
15
Quote
Yeraze
Anonymous
I just got this working with Geeklog 1.4 & Mediawiki 1.6.7... Like Darren said, even with register_globals enabled I had to add the "globals " lines in AuthGeeklog.php...
But to further complicate things, I have both geeklog & MediaWiki saving into the same database... WIth the newer PHP versions, "mysql_connect" is not guaranteed to return a new connection if one already exists, so the mysql_close at the end was closing previously opened connections, generrally trashing everything. I had to add the extra "bool new_link" parameter to all the mysql_connect lines, and it's workin like a charm.
But to further complicate things, I have both geeklog & MediaWiki saving into the same database... WIth the newer PHP versions, "mysql_connect" is not guaranteed to return a new connection if one already exists, so the mysql_close at the end was closing previously opened connections, generrally trashing everything. I had to add the extra "bool new_link" parameter to all the mysql_connect lines, and it's workin like a charm.
17
12
Quote
All times are EST. The time is now 10:36 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content