_NOTOC_ no longer works?

+9 votes
105 views

I have used _NOTOC_previously on profiles and it worked beautifully. I tried to use it on a couple today and it does nothing except display _NOTOC_ above the biography header and the TOC displays anyway. I checked on the one profile I was certain I had used it on previously and it is still working on that profile. Is this intentional behavior and if so, why?

Working:

Elisha Freeman Hubbard

Not working:

Warren Smith

asked in WikiTree Tech by Deb Durham G2G6 Pilot (725k points)
retagged by Ellen Smith
I replaced it with

 __NOTOC__

(double underlines)

which doesn't display, but also doesn't work.

Feel free to roll back my changes.
Sorry, it DOES work with the double underlines.
Pffft..no more WikiTree for me without at least half a cup of coffee! ☕
Don't be sorry. I never got it to work before - now I know why.
At risk of asking a daft question here, but what is NOTOC?
There are no daft questions! I can't guarantee there won't be daft answers though. ;-P

__NOTOC__ (make sure there are double underscores front and back) prevents wiki pages from creating a table of contents.
So does that mean a TOC shows automatically on a profile if you don’t specify otherwise? I am not seeing one on the profiles I have created and I have not added __NOTOC__
The TOC appears when you have more than three headers.
Deb and Eva, Thanks for the explanations.

Biography and Sources I always use, of course. Quite often I also use a heading for Children or one for Research notes. I have disciplined myself to use only one of them - if one spouse needs a research note, I may put the section with children on the other spouse. I never before realized that there were two underlines on each side in the working version of__NOTOC__ - such an invisible distinction.

1 Answer

+2 votes
you've already solved your problem, but...

in a saved profile that is showing a Table of Contents, there is a link just below the Contents header that says: "[hide]" -- click it and let WikiTree do the work for you
answered by Dennis Wheeler G2G6 Pilot (396k points)
nevermind... that seems to only be a non-permanent javascript solution.
Right, hide doesn't remove it, it just hides it. __NOTOC__ prevents it from generating.

Related questions

+3 votes
1 answer
173 views asked Jun 30, 2017 in The Tree House by Cindy Cooper G2G6 Mach 3 (35.1k points)
+4 votes
1 answer
+3 votes
2 answers
62 views asked 5 days ago in WikiTree Help by K Raymoure G2G6 Mach 1 (10.9k points)
+2 votes
3 answers
81 views asked Jan 8 in WikiTree Tech by John Gilroy G2G1 (1.3k points)
+11 votes
3 answers
131 views asked Jan 3 in The Tree House by Steven Harris G2G6 Pilot (170k points)

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...