Bug #37308 Missing TOC and paragraph editing links on Forge Wiki
Submitted: 10 Jun 2008 13:57 Modified: 11 Jun 2008 13:49
Reporter: Giuseppe Maxia Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Websites: MySQLForge Severity:S3 (Non-critical)
Version:2.0 OS:Any
Assigned to: Jay Pipes CPU Architecture:Any
Tags: Edit, forge, links, paragraphs, toc, wiki

[10 Jun 2008 13:57] Giuseppe Maxia
Description:
Forge Wiki does not display the TOC, as the old one used to do.
Moreover, there are no links to edit a single paragraph, like before

How to repeat:
enter the following text in a new page:

--- cut ---
= Test Forge Wiki Page =
__TOC__

== first paragraph ==

some text

== second paragraph ==

some more text
--- cut ---

press "preview" 
Look at the result. There is no TOC. No [edit] links 

Suggested fix:
Add the [edit] links.
Restore support to TOC
[11 Jun 2008 12:15] Jay Pipes
For new pages, I'm not sure the edit paragraph links ever worked.  As for the __TOC__, it works just fine for existing pages, as do the edit links.

See http://forge.mysql.com/wiki/MySQL_Conference_and_Expo_2008 for a page which has both.  You can edit the paragraphs correctly as well as insert the __TOC__ anywhere in the page layout.

Giuseppe, is this just for new pages on the wiki?
[11 Jun 2008 12:17] Jay Pipes
I just checked and new pages, the __TOC__ works correctly.  It can be inserted anywhere into the page.  Edit paragraph links do not show up until final save.
[11 Jun 2008 13:49] Giuseppe Maxia
both _TOC_ and edit paragraphs depend on personal settings.

To change them:
1. http://forge.mysql.com/wiki/Special:Preferences
2. click on "misc" and set "show table of contents"
3. click on "editing" and set "enable section edits"
4. click "save"

Note that the "save" button is disabled on all preferences sections, except "editing".