Current development on JAMWiki is primarily focused on maintenance rather than new features due to a lack of developer availability. If you are interested in working on JAMWiki please join the jamwiki-devel mailing list.

Comments:JAMWiki 0.8.0

Contents

TODO Items[edit]

30-August-2009[edit]

This is a partial list of items that I'd like to get completed prior to the final JAMWiki 0.8.0 release:

  • Special:Export - Topics can be exported even if Spring Security has been configured not to allow access to that topic.
  • Special:Export - Topic names should be converted to Mediawiki namespaces.
  • Special:Import - Support topic names containing "?". JAMWiki will not support names containing a "?", but during imports the "?" will be stripped so that the topic can be imported successfully from Mediawiki.
  • Special:Log - The edit comment in Special:Log when moving a topic contains duplicate text such as "Topic OldTopic renamed to NewTopic (OldTopic moved to NewTopic)". Partially fixed with revision 2699. Reloading log items still generates incorrect messages. Fixed.
  • Special:Log - Localization of log comments could be improved (this comment actually applies more to Special:RecentChanges.
  • Tech:Performance - Review more of User:dfisla's work to determine what else can be included in 0.8.0.
  • More unit tests.
  • More help text & translation updates.
  • Update jamwiki.org documentation to reflect recent changes to the code.

I'd like to get the first beta release out this week and will then focus on getting the above issues resolved for a final release. For anyone wondering when 0.8.0 final will actually be ready, I'm going to be on vacation through September 28 so expect anywhere from 1-2 months after I return. -- Ryan • (comments) • 30-Aug-2009 18:09 PDT

At this point the code is in good shape for release. -- Ryan • (comments) • 22-Oct-2009 20:36 PDT

How can i translate the Special:Specialpages on my JAMWiki ?[edit]

Archived from the Feedback page:

Is possible translate the contentes of Special:Specialpages ? thanks! --Rafael Torres 21-Jul-2008 07:23 PDT

????--EDVJAR 28-Jul-2008 12:11 PDT

At present Special:Specialpages is set up by default in the language of the user who first installed JAMWiki. Obviously an enhancement is needed so that this page can be localized - this should be easy to do, so if I don't get to it soon then I'd be glad to help someone else who might be interested in working on it. -- Ryan 14-Sep-2008 09:25 PDT
Note that BottomArea and LeftMenu might also benefit from having localized versions... -- Ryan 14-Sep-2008 09:26 PDT
revision 2333 implements the ability for Special:Specialpages to be localized. Presently the page is translated for English, German, Spanish, Galician, Hungarian, and Japanese. This change will be included in the JAMWiki 0.7.0 release. -- Ryan 29-Sep-2008 21:53 PDT

Taglib Configuration[edit]

I tried to set up an environment for deploying my different jamwiki instances, so that the local configurations are under source control and deployment works with ant-tasks... one neccessary thing to do that was to copy wiki.jsp, page-init.jsp and others in a folder not under WebContent (WTP/Eclipse), where Eclipse didn't found the TLD (Can not find the tag library descriptor for "http://jamwiki.org/taglib").

The only workaround I found for this was to move jamwiki.tld from WEB-INF to jamwiki-web-0.8.1.jar/META-INF and remove the jsp-config it from web.xml (security.tld is found under spring-security-taglibs-2.0.5.RELEASE.jar/META-INF, so it works without configuration).

If there isn't any reason for an explicit declaration of jamwiki.tld and security.tld in web.xml and the copy in WEB-INF, perhaps it could be moved into the library?!? --hp 07-Jan-2010 06:42 PST

Some words about 0.8.1[edit]

Ryan, I know, I did post a number of bug-reports and feature-requests (specially for 0.8.1) in the last days but there is one thing I can't mention enough: I like to work with JAMWiki, I think it is a great piece of software. Thanks for all your work! --hp 07-Jan-2010 06:42 PST

Source Code Syntax Highlighting[edit]

Archived from the Feedback page:

Has anyone looked into supporting some kind of source code syntax highlighting?

I tried being sneaky and adding Google code prettify to my 0.6.6 install thinking it would be simple enough to get working (by modifying top.jsp to include the css and script), but it requires adding class="prettyprint" to whatever pre tag contains the code which unfortunately doesn't work in JAMWiki 0.6.6. As a workaround, any idea how hard it would be to allow the class attribute on pre tags (maybe not something that would be good to do on an official release, but maybe something I could do just for my install by building from source)?

There have been occasional requests for source code syntax highlighting, but as yet I don't think anyone has found a way to integrate it so that it doesn't create significant additional work for code maintenance and also add overhead in rendering time. Your suggestion of using Google Javascript is probably the best yet, so if all that is needed is support for the "class" attribute on the "pre" tag then that would be doable - if you're interested have a look at the "htmlprestart" pattern in /jamwiki-core/src/main/jflex/jamwiki-processor.jflex. Basically, that pattern would need to validate and output its attributes similar to how other HTML elements are handled. I'm currently on vacation so my internet access is sporadic, but if you'd like me to set you up with Subversion access just let me know your Sourceforge ID and I can do so; alternatively, if you get some code working feel free to upload it to jamwiki.org and I'll take a look as soon as I return. -- Ryan • (comments) • 10-Sep-2009 19:56 PDT
Since this was a fairly easy change and I had some time I've added support for HTML attributes with the <pre> tag for JAMWiki 0.8.0 in revision 2707. -- Ryan • (comments) • 15-Sep-2009 08:27 PDT

0.8.0 Beta 2 installed on Resin 4.0.1[edit]

Archived from the Feedback page:

0.8.0 Beta 2 Worked for me. The installation did, at least, I haven't delved very deeply yet. This was on Resin 4.0.1 on Ubuntu 9.04 Server. Between Resin having a .deb package to auto-install and JAMWiki working straight out of the box I'm pretty darn happy here. Can't wait for the GA release. --98.229.138.91 25-Oct-2009 09:35 PDT

Thanks for the confirmation! I did a bit of local testing with Resin but have mostly been running Tomcat so the additional testing is much appreciated. -- Ryan • (comments) • 25-Oct-2009 10:20 PDT