cancel
Showing results for 
Search instead for 
Did you mean: 

[Alfresco 3c] Mediawiki Amp

rbergstrom
Champ in-the-making
Champ in-the-making
Hello:

The Mediawiki integration amp was listed as part of release 3c, but I can't locate the amp in any of the released packages.  Any pointers as to where I can find it?

Thanks,

// rbergstrom
15 REPLIES 15

rbergstrom
Champ in-the-making
Champ in-the-making
Alfresco and Mediawiki uses the same Alfresco repository (for example My SQL DB - Alfresco). Look at the installation steps once again. Alll you need is Alfresco, PHP Integration and Mediawiki Integration amp files. Do not install Mediawiki standard version (also don't need install PHP full version). Basically, AMP files do the magic work for you.

That's exactly what I have done.  I am not using the standard version of Mediawiki.  Anyone else using the Mediawiki piece with a remote mySQL installation?

siquser
Champ in-the-making
Champ in-the-making
I've not tried remote SQL, i.e. I put MY SQL also on the same box. I'm not sure whether yours is on Unix/Linux server but mine is windows 2003 server.

rbergstrom
Champ in-the-making
Champ in-the-making
It seems that the mediawiki integration does not like remote database servers.  I created a mySQL instance on the local machine and everything works perfectly.  This is fine for the short term.  However, longer term however I would like to use the remote database infrastructure.

I have tried modifying LocalSettings.php with my server ip, database name, hostname, and password, but it doesn't seem to take.  I'll dig into this and post any solution, but I would welcome any insight.

// RAB

siquser
Champ in-the-making
Champ in-the-making
In my opinion MySQL DB on REMOTE Server should not be an problem (but you never know).
I presume your servers (Alfresco Server & My SQL DB Server) are on Same Domain, if not, then that could an issue too.

My 2 cents…

vipo
Champ in-the-making
Champ in-the-making
I've tried using the nightly build (org.alfresco.module.mediawikiintegration.amp, from 02-Jan-2009, 3d-dev), because the AMP is missing from 3c distribution.
After getting PHP-Server work fine and MMT-instaling MediaWiki-AMP, i have to clean tomcat manually (removing alfresco-directory in tomcat/webapps, because tomcat didn't a clean deploy).
Note: i really should have used "apply_amps.sh" instead of manually installing this 😉
After a restart the MediaWiki-module startet (from catalina.out log)

UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.mediawikiintegration' version 1.1.

I then tried to edit the file /php/wiki/LocalSettings.php (in the expanded WAR alfresco directory) to setup my remote MySQL-connection informations (setting some $wgDB* variables) and did a clean restart. Then added a WikiAdministrator-User in the Wiki-workspace (to give access).

I 've checked the MySQL-Db:
Alfresco did create tables named 'mediawiki_<space-id>_*, so the connection to MySQL obviously did work out (as expected).

Also i can see the login-form, after login a got this error:

com.caucho.quercus.QuercusException: org.alfresco.module.mediawikiintegration.MediaWikiSpace.validate: org.alfresco.repo.security.authentication.AuthenticationUtil.pushAuthentication()V

java.lang.NoSuchMethodError: org.alfresco.repo.security.authentication.AuthenticationUtil.pushAuthentication()V


So (probably) the nightly build version (3d) uses methods (pushAuthentication), which are not implemented in the alfresco.jars from 3c.

So i was not able to use MediaWiki 😞

Can anybody give a hint to a MediWiki.amp (version 1.0?) usable with 3c?

vipo
Champ in-the-making
Champ in-the-making
I only could find the actual source on the web (Subversion/HEAD):

https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/source/ja...

there (Alfresco 3d-dev) the missing function is implemented.

Under

http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/modules/mediawiki-integration/...

the new MediaWiki-Integration source code can be found.

Has anyone a buildenvironment ready, which can create the MediaWiki-AMP file needed to work with 3c (not using the 3d-dev head, but the previous version)?