Opened 16 years ago

Closed 15 years ago

#304 closed task (fixed)

Usermap for OSGeo wiki

Reported by: christian Owned by: christian
Priority: normal Milestone:
Component: SysAdmin Keywords: usermap mediawiki
Cc: warmerdam, martin

Description

Installation of a Mediawiki extension to display a Usermap and maps of every users home location.

Tasks:

  • Postgressql installation (Martin)
  • editing of the mediawiki settings (Martin)
  • documentaion for using the extension (Christian)

Note: In the installed version on the OSGeo wiki are some major changes to the UserLocalization extension (http://www.mediawiki.org/wiki/Extension:UserLocalization). You can find the actual code at: http://christian-willmes.de/software/userMap.tar.gz

Change History (8)

comment:1 by christian, 16 years ago

Owner: changed from webcom@… to christian
Status: newassigned

comment:2 by warmerdam, 16 years ago

Cc: warmerdam martin added
Component: WebSiteSAC
Keywords: mediawiki added

comment:3 by christian, 16 years ago

  • It seems that the code I wrote is not compatible to Mediawiki 1.11 (I wrote and tested it under a 1.13.2 instalation), maybe it is something with the RawHTML settings. I try to find out what the problem is and than make a workaround for it.

comment:4 by martin, 16 years ago

I had been planning to update the Wiki software anyway, therefore I'd like to announce a Wiki maintenance window at 15:00-16:00 UTC,

Martin.

comment:5 by christian, 16 years ago

great, thanks for the wiki update martin! :)

But there is now a problem with the database access via php, folowing error is caused:

*Warning*: preg_match() [function.preg-match <http://wiki.osgeo.org/function.preg-match>]: Unknown modifier 'p' in */var/www/mediawiki-1.13.2/includes/EditPage.php* on line *747*

*Warning*: pg_connect() [function.pg-connect <http://wiki.osgeo.org/function.pg-connect>]: Unable to connect to PostgreSQL server: could not translate host name "dbname=usermap" to address: Name or service not known in */var/www/wiki_osgeo/extensions/userMap/umDB.php* on line *18*

*Warning*: pg_last_error() [function.pg-last-error <http://wiki.osgeo.org/function.pg-last-error>]: No PostgreSQL link opened yet in */var/www/wiki_osgeo/extensions/userMap/umDB.php* on line *19* Verbindungsaufbau fehlgeschlagen: host= dbname=usermap user=usermap password=

looks like host and pw are not providet?

comment:6 by martin, 16 years ago

Yup, not providing host an pw was the plan .... apparently it didn't work.

The 'regular' PostgreSQL client connect defaults to using the Unix domain socket when the hostname is empty - and I had configured the PostgreSQL DB to accept connections without password authentication for this very special case. Apparently the PostgreSQL interface in PHP doesn't inherit this behaviour - thus now I have configured 'regular', password-authenticated database connect from within the PHP script,

Martin.

comment:7 by christian, 15 years ago

Its running now. :-) Again, thanks very much to Martin!

A first documentation of how to use this extension can be found at: http://wiki.osgeo.org/wiki/UserMap_Documentation

I imagine, that there will maybe some bugs comming up in the first time. So we can leave this ticket open? Or should we adress a new ticket for every upcoming bug?

comment:8 by tmitchell, 15 years ago

Resolution: fixed
Status: assignedclosed

Closing - looks like things are running fine from past few months.

Note: See TracTickets for help on using tickets.