User talk:The Transhumanist/ViewAnnotationToggler.js: Difference between revisions

Content deleted Content added
copy comments from script
Line 3:
Improvements needed:
 
* Anchor regexes on <li> (starting only) element delimiters = DONE
* Have the screen stay anchored on its top entry when the toggle is used
* Find/replace annotations of lead list entries (without bullets)
** Only on pages with the title "Outline of"
** Match entry that follows heading
** Match entry that follows "{{tl|Main}}"?
* Find/replace annotations of other formats
** regular hyphens
** em dashes
** no-break space-hyphen combos
** commas
** hanging hyphens (hyphen, with no annotation)
** parenthetic annotations?
** colons
* Convert annotations, and then clone? (then it will toggle with fixed format)
* Test on many pages of every page type
* Make the toggle "sticky" (independent of pages visited)
** That is, make it so the script doe*sn't reset upon loading each page
** Have it remember its toggle position
** (WikEd has this feature, and a checkbox too)
* Find a better hot-key (Shift-Alt-a) -- this one conflicts with the sidebar toggle.
* Since it hides content, an indicator is needed to show when it is on/off.
* Feature to apply and save fixes (conversions) to wikicode (i.e., replace non-standard annotation punctuation in the page source)
 
 
== Scroll position ==