Comments:JAMWiki 0.3.3

JAMWiki 0.3.3

Archived from the Feedback page:

Release plans

I'm going to be out of town a lot over the next week, so unless any serious bugs turn up in JAMWiki 0.3.2 it may be a while before the next release. Assuming a bugfix release isn't necessary, the following list is the current schedule of items that might make it into JAMWiki 0.3.3. Let me know if there's anything that seems to be missing:

  • Roadmap#Configurable Signatures.
  • Allow moving a topic back to its original location (revert a page move).
  • "Link to" for redirects does not show final link destination. Update: this functionality isn't hard to add but has performance implications, so will probably slip to another release.
  • Roadmap#Translation File History. Update: partially implemented. Versions are saved, which might be sufficient, although file uploads do not cause new versions to appear.
  • Allow inter-wiki links such as [[:Wikipedia:Main Page]]. Infrastructure is in place for this, I just need to take an hour to look at it.
  • Look into Colin's issue with a shared JDBC jar file not being found.
  • Remove remaining usage of Utilities.getMessage(). Most are gone, the remaining ones may not be a problem.
  • Add a "User contributions" link from user pages.
  • Address case sensitivity issues for topic names and user names. Update: constraint added to the database to ensure user logins are unique in a case-insensitive way.
  • Add validation to files, database settings, and other values updated through Special:Admin.
  • Display warning when uploading an image and an image of the same name already exists.
  • Provide a way to delete image files.
  • Do not display the delete tag for users who cannot delete, or for new topics.
  • After editing a section, page should load to that section.
  • Add support for the Mediawiki <gallery> tag.
  • Topics with names like "Topic/Archive" are currently not allowed, but Mediawiki supports names of this format.

Beta1

I'm heading out of town, but here's a beta that fixes the IE apostrophe escaping issue:

If any new issues come up I'll take a look at them on Friday. -- Ryan 29-Aug-2006 22:01 PDT

Beta2

I'll be leaving town again tonight and will have limited internet access for the next five days, so I'd like to get a 0.3.3 release out that addresses some recently reported issues. Here's the second beta:

This should fix the Resin issue reported by Scott (I swear that the taglib syntax looks valid though...), makes another attempt to solve the German character issue, and adds updated Hungarian translations from User:bdanee. If anyone encounters any problems, please let me know. -- Ryan 01-Sep-2006 11:03 PDT

Taglib and Resin

Archived from the Feedback page:

In wiki.jsp, the following code will not execute properly in Resin 2.1.16

<c:if test="${!empty pageInfo.redirectName}"><div id="contents-subheader">
<f:message key="topic.redirect.from"><f:param>
<jamwiki:link value="${pageInfo.redirectName}"><jamwiki:linkParam key="redirect" value="no" />
<c:out value="${pageInfo.redirectName}" /></jamwiki:link>
</f:param></f:message>
</div></c:if>

I changed it to this to make it work:

<c:if test="${!empty pageInfo.redirectName}"><div id="contents-subheader">
<f:message key="topic.redirect.from" />
<jamwiki:link value="${pageInfo.redirectName}"><jamwiki:linkParam key="redirect" value="no" />
<c:out value="${pageInfo.redirectName}" /></jamwiki:link>
</div></c:if>

I know, it's not filling the paramater for the message anymore, but it's the only thing that would work for me. -- scroco 30-Aug-2006 16:08 PDT

And here's the stack trace:

javax.servlet.ServletException
        at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:135)
        at com.caucho.server.http.Invocation.service(Invocation.java:315)
        at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
stack trace trimmed
        at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:346)
        at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274)
        at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
        at java.lang.Thread.run(Thread.java:595)

java.lang.NullPointerException
	at com.caucho.jsp.JavaGenerator.printTagInstance(JavaGenerator.java:887)
	at com.caucho.jsp.JspGenerator.generateMyTag(JspGenerator.java:1071)
	at com.caucho.jsp.JspGenerator.generateTaglib(JspGenerator.java:977)
	at com.caucho.jsp.JspGenerator.generateChildren(JspGenerator.java:924)
stack trace trimmed
	at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:346)
	at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
	at java.lang.Thread.run(Thread.java:595)
Thanks Scott, I'll see if I can get something out that sets the parameter first thing in the morning. Sorry for the trouble. -- Ryan 31-Aug-2006 22:48 PDT
I'm being lazy and haven't done a Resin install, but I think that JAMWiki 0.3.3 beta2 should fix this problem - having a message param tag with no value attribute looks valid by my reading of the DTD, but I've re-implemented the code to set a variable using c:set, and then added the value attribute to read that variable. Should work, but let me know if you still encounter problems. -- Ryan 01-Sep-2006 11:06 PDT
I just ran a quick test with Resin, and 0.3.2 didn't work but 0.3.3 did work. I'll release a final version later today unless anything else turns up. -- Ryan 01-Sep-2006 14:47 PDT