Opened 17 years ago
Closed 17 years ago
#3134 closed defect (worksforme)
argument "sectionindex" returns "Error: Page sectionindex does not exist"
| Reported by: | anonymous | Owned by: | Noah Kantrowitz | 
|---|---|---|---|
| Priority: | normal | Component: | TocMacro | 
| Severity: | normal | Keywords: | sectionindex, tocmacro | 
| Cc: | wolf.sihart@… | Trac Release: | 0.10 | 
Description
Essentially what the summary/subject says. Executing the TOC macro with only the sectionindex argument, used by itself, is supposed to return all children of the current page's parent, but returns an error.
[[TOC(sectionindex, notitle, heading=This section pages)]] [[TOC(sectionindex)]] [[TOC(notitle, sectionindex)]
All three output
"Error: Page sectionindex does not exist"
in a red box. It would seem that the macro thinks I'm trying to use the phrase "sectionindex" as a page rather than a registered argument. I'm wondering if anyone else has experienced this, or if the contributor has a solution to the problem.
Attachments (1)
Change History (2)
Changed 17 years ago by
| Attachment: | sectionindex_bug.PNG added | 
|---|
comment:1 Changed 17 years ago by
| Keywords: | bug removed | 
|---|---|
| Resolution: | → worksforme | 
| Status: | new → closed | 
If you look at the macro documentation for your 0.10 version (WikiMacros page in your project), you won't find any sectionindex argument for this macro.
It was added for 0.11, see #2790. Upgrade if you need it - it won't be backported to 0.10.




Screenshot with code of sectionindex error