Thursday, April 26, 2012

Differentiating between filenames & WikiWords

You’d be forgiven for not even noticing the difference with this update because it was quite subtle, but it was necessary to pave the way for some more updates that I have planned.

The dialogues for creating & renaming files used to be a bit confusing. It asked for a WikiWord, but allowed spaces and non word characters. Behind the scenes, it was actually using it to generate the filename automatically. This was unintuitive, so now it asks for the filename and generates the WikiWord automatically while displaying it on the fly.

If you’re not syncing your wiki folder with an app like Trunk Notes that uses a particular naming format, you can go ahead and enter spaces and other characters in your filenames, but if you’re using Trunk Notes you’d best stick to naming your files with a WikiWord otherwise they won’t be imported into Trunk Notes. The generated WikiWord will match your filename.

Phantom Dropbox syncing

WikiPack always maintains your wiki links, so as part of this update you may have noticed some of your pages syncing to Dropbox even though you hadn’t edited them. It was just updating your wiki links with the new WikiWords.

In the pipeline

Now that WikiWords are being handled in a sensible fashion, I’ll be working on a couple of other WikiWord related updates. Quite a few people have asked for a list of their pages in the sidebar, and I have one or two other things up my sleeve as well. Stay tuned.

2 comments:

  1. I use Trunk Notes with filenames like Diary-120427.markdown. This update has changed such WikiLinks to [[Diary120427]] and broken a number of links in TN and WikiPack. Strangely it doesn't affect all files with hyphens in the WikiLink to the corresponding file. Only a selection have been changed. I'm not using WikiPack / Trunk Notes for anything mission-critical but this update has made a mess of my WikiLinks. Aarrrgh.

    ReplyDelete
  2. Sorry for the wiki link breakage caused by this update. The WikiWord generation algorithm has now been updated to work with filenames like Diary-120427.markdown, and a tool has been added to the account settings page to apply it your pages, but only if you want to: more info here

    ReplyDelete