25
Dec 2008

A bookmark for creating a new wiki page

I use moinmoin as my local wiki engine. It is excellent for personal use because it needs no http server and database. A python installation is enough.

To create a new wiki page in moinmoin, you need to first edit an existing page to include a link to the new page, then click the link to create it. To make this quicker, I created the following script. All you need to do is creating a bookmark to point to the following URL, then edit the bookmark to match your hostname/port, and…go.

javascript:(function(){pageName=prompt("Please input page name");if(pageName.length>0){window.open('http://localhost:8080/' + pageName);}})()

comments powered by Disqus