Last modified: 2013-03-14 13:45:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32469, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30469 - Request for adding hooks for TOC
Request for adding hooks for TOC
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-19 19:50 UTC by Leonard Wallentin
Modified: 2013-03-14 13:45 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Leonard Wallentin 2011-08-19 19:50:44 UTC
It would be nice with hooks before and after printing the TOC, making extensions like [http://www.mediawiki.org/wiki/Extension:CustomTOCLength Extension:CustomTOCLength] less hackish. For file pages there is ImagePageShowTOC, which is great, but for normal TOC's the nearest hook is InternalParseBeforeLinks, which is a bit far.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links