1

1

The alphabetical Title Index in a wiki is helpful, until you get a lot of articles in the wiki. With many articles in the wiki, the title index itself may be spread across several pages. The first page of the title index should list every letter in the alphabet, each as a link to that section of the index.

We thought about doing this ourselves ... creating an article with every letter of the alphabet as a link. The problem is that we haven't figured out how to create a link that will show all of the articles whose title starts with a specific letter. It almost worked by embedding a search of "title:D*" in the URL. The problem is that the "title:D*" search will show all articles that contain a D in the title, but do not necessarily begin with a D.

How can we limit search results to only articles that begin with a specific letter?

I tried regular expression syntax (title:^D*), but that did not work either.

Perhaps we could get John Fuex to update his plugin (http://www.fogcreek.com/fogbugz/Plugins/plugin.aspx?ixPlugin=31) to let you limit the index by the title. Or provide the source code so we can tweak it.

Any other ideas?

flag

1 Answer

2

Let me see how much work it would be to add that to the Wiki Article Index.

If it is too large a project for me to fit in between the other projects I have going I could probably provide you with a copy of the source code if you'd be willing to send me back the modified version so I could publish it out for everyone.

I'll check back with you on this later this week.

Update
This looks like it would be pretty simple to implement. I'll go ahead and see if I can add it in there and do a quick release for you.

My planned implementation would add attributes to WikiArticleIndex that would enable you to apply a begins with, contains, and ends with filter to to the title of each inserted table of contents provided by the plugin.

How does that sound?

Update 2
I have working prototype now in testing, that I should be posting on the Plugin Gallery later this week. If you'd like a pre-release copy to give feedback let me know.

Update Final
The new version (1.4.0) has been uploaded to the plugin gallery.

link|flag
This works perfectly. Thank you very much. – Mathew Weaver May 27 2011 at 16:40

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.