RefactorWiki
Hi all,Yesterday, I released the first open source version of RefactorWiki, a Java-component and accompanying J2EE-webmodule to rename (move) pages and their respective links within a Wiki. Currently the following php-based Wiki-engines are supported: WackoWiki v4, WikkaWiki v1.1.6.0.
Feel free to check it out at sourceforge: http://refactorwiki.sourceforge.net.
12-2-2005: Sourceforge homepages seem unavailable; check the direct project page: http://sourceforge.net/projects/refactorwiki/
Cheers,
- Mark
CategoryUsercontributions
I looked at the sourceforge page, but what I cannot figure out is what *exactly* this does when "moving" (renaming) a page. Are there any detailed specs somewhere?
thanks for this very nice contribution. I'll give it a try ASAP.
Out of curiosity - I'm a totally Java newbie - why use Java instead of plain php?
I have no exact specification of the refactor-process, but when you download the source [1] and look at nl.mhm.wiki.refactor.Wikka1160PageRefactorer
public boolean refactor(RefactorAssignment assignment) throws HibernateException, ValidationException
you should be able to figure our what's happening. Don't hesitate if you have any questions.
As far as the choice for Java; I'm better at it than at PHP, Java offers various tools to greatly ease development; furthermore; when implementing the refactor-action in php, you risk that a timeout is hit when refactoring multiple pages.
I'll soon post instructions on how to integrate PHP and Tomcat (J2EE WebContainer) in Apache.
Cheers,
- Mark
[1] - http://sourceforge.net/project/showfiles.php?group_id=130626, RefactorWikiCore-0.2-src.zip