Go to file
C. Scott Ananian 086ce6550f Don't rely on ParserOutput::getTOCHTML() to determine if ToC is present
ParserOutput::getTOCHTML() is being deprecated, and all skins are now
generating the TOC from the TOCData returned by
ParserOutput::getTOCData().  The SHOW_TOC flag was introduced in core
to determine if the TOC should be shown, but Vector-2022 *may* begin to
use other heuristics to determine whether to show the TOC (T315862).
We're conservatively going to process the TOC as long as there is
TOC present to process.

Bug: T328072
Change-Id: I38b439c6752157dbee9b09c9f5443a740dbaabf4
2023-01-27 09:58:47 +00:00
.phan Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
i18n Localisation updates from https://translatewiki.net. 2023-01-26 08:51:21 +01:00
images Compress emptystate.svg with svgo 2021-10-04 12:56:20 +01:00
includes Don't rely on ParserOutput::getTOCHTML() to determine if ToC is present 2023-01-27 09:58:47 +00:00
maintenance Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
modules Merge "Use localStorage for auto-save" 2023-01-21 09:58:30 +00:00
sql Store permalink data, implement Special:FindComment/GoToComment 2022-08-11 01:19:47 +02:00
tests Don't rely on ParserOutput::getTOCHTML() to determine if ToC is present 2023-01-27 09:58:47 +00:00
.eslintignore Add button to reveal lede section on mobile 2022-11-10 22:10:04 +00:00
.eslintrc.json Don't enforce alphabetical order in i18n files 2022-08-12 13:29:39 +03:00
.gitignore Remove extra blank line from .gitignore file 2020-08-31 15:24:56 +01:00
.gitreview Add .gitreview 2019-10-09 21:18:34 +00:00
.phpcs.xml Remove some redundant PHPDoc comments 2022-11-29 18:47:18 +00:00
.stylelintrc.json Move "Return to comment" below sticky header when present 2022-09-25 13:28:12 +01:00
CODE_OF_CONDUCT.md build: Updating npm dependencies 2020-01-09 06:43:15 +00:00
composer.json composer: Update mediawiki-codesniffer to 40.0.1 2023-01-17 11:45:27 +00:00
COPYING Add required files for an extension 2019-10-10 19:42:56 +01:00
DiscussionTools.alias.php Translate: Special page names into Polish 2022-10-13 12:13:47 +00:00
extension.json Remove 'DiscussionToolsLegacyHeadingMarkup' config option 2023-01-22 19:24:36 +01:00
Gruntfile.js eslint: Lint root folder with server rules 2021-10-07 17:37:52 +01:00
package-lock.json build: Updating dependencies 2022-10-09 10:55:34 +03:00
package.json build: Updating dependencies 2022-10-09 10:55:34 +03:00