I am looking forward to your thoughts on adding the ability to edit the title of individual pages within a wiki. After using the wiki module for the past few days, I have several times had to copy markup from an existing page, create a new page with the revised title, paste the markup back in, and then delete the old page. It's quite annoying to have to do this, but it did serve to identify a bug, described as follows:

When a page title is assigned a name that begins with the same text as an existing page, then the error "A wiki page with this name already exists for this wiki." is displayed. For example:

Existing page title: Working With Labels And ValuesNew page title (causes error): Working With Labels

Another issue worth mentioning is the behavior of the WikiAdmin control. I notice two oddities that I am unable to explain. First, the "Create a wiki" link that appears in the design mode, does not appear on the published page (including when signed in as admin). Second, the "Create a page in this wiki" link only appears in when the view is of a page in the wiki. It does not appear in the view of all the pages, which would be the most applicable view for this link.

On a minor note, please observe a typo in the text below the wiki editor; a link with text "How do I insert a link?" (the word insert in incorrectly spelled).

Even with the issues reported above, I'm finding the new Wiki module to be a nice and useful addition.

You can extend the functionality of Wiki control and change the edit tab by implementing a texbox near the wiki title. Then you need to have a custom control that derives from wiki and there you have to override SaveContent() method.

Sample:

protectedoverridevoidSaveContent()

{

//DO NOT CALL THE BASE

//base.SaveContent();

WikiSingleItemContainer container = this.WikiSingleContainer;

IContent stagedContent;

Guid contentId = Guid.Empty;

contentId = base.itemId;

stagedContent = this.Manager.GetStagedContent(contentId);

stagedContent.SetMetaData("Name", "NewTitleImplemented");

this.Manager.SaveContent(stagedContent);

}

Note that if you have any links that point to this wiki they will not updated.

For the "CreateWiki" the link button have to be visible if AllowCreateWiki property of WikiAdmin control is set to true. The property is located under Wiki category.

Tools

Sitefinity Professional Services

Progress, Telerik, Sitefinity and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.