Opened 12 years ago
Closed 7 years ago
#8557 closed enhancement (fixed)
TOC macro should be replaced by PageOutline
Reported by: | stoecker | Owned by: | stoecker |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Trac | Version: | |
Keywords: | Cc: | AlfonZ |
Description
Newer Trac has PageOutline, so TOC macro is no longer required.
Attachments (0)
Change History (17)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
I tried to replace the TOC on wiki:Help/Preferences/Plugins but I failed. How do I replace [[TOC(inline)]]
? [[PageOutline(inline)]]
produces an error: ValueError: invalid literal for int() with base 10: 'inline'
comment:5 by , 12 years ago
Replying to stoecker:
Should be like
[[PageOutline(1-3,,inline)]]
Strange, I tried [[PageOutline(,,inline)]]
to get all headings but that does not work either. It is different to other macros as you have a certain order. This is not really documented.
follow-up: 7 comment:6 by , 12 years ago
I think it is pretty clear:
This macro accepts four optional parameters: The first ...
comment:7 by , 12 years ago
Replying to stoecker:
I think it is pretty clear:
This macro accepts four optional parameters: The first ...
No word about the importance of order, no word about the saperator. Why do I have to add any number if I do not want to change it (using default e.g. all).
This macro accepts four optional parameters as comma separated list with following order: The first ...
Still think an unordered, comma separated list and with title in quotation marks would be nicer and more consistent to other macros behaviour.
comment:8 by , 12 years ago
Cc: | added |
---|
follow-up: 11 comment:10 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:11 by , 7 years ago
Replying to Don-vip:
Why did you mark it as fixed? TOC is stil used 130 times https://josm.openstreetmap.de/search?q=%5B%5BTOC&noquickjump=1&changeset=on&milestone=on&ticket=on&wiki=on
comment:12 by , 7 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Clearly my search didn't work...
comment:16 by , 7 years ago
20...
Loosing motivation...
To much old (icon) links to fix in the same go.
comment:17 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
PageOutline and TOC are not the same but in most cases PageOutline is probably the better choice.
Thanks for the info.