Go to file
Bartosz Dziewoński fce317ace4 Move TOC metadata generation to a post-processing step
Instead of generating the TOC HTML additions immediately, store
the data we need using ParserOutput::setExtensionData(), and use
the OutputPageParserOutput hook to fetch it and generate the HTML.

We check that the stored data is present before using it to avoid
issues with cached ParserOutput objects.

Bug: T328122
Change-Id: I7d4988cd568f10b7995a4d744e0ec6e7ce081b0e
2023-02-07 02:39:11 +01: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-02-06 08:44:48 +01:00
images Compress emptystate.svg with svgo 2021-10-04 12:56:20 +01:00
includes Move TOC metadata generation to a post-processing step 2023-02-07 02:39:11 +01:00
maintenance Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
modules Merge "Special:TopicSubscriptions: Perform unsubscribe asynchronously" 2023-02-06 23:01:01 +00:00
sql Store permalink data, implement Special:FindComment/GoToComment 2022-08-11 01:19:47 +02:00
tests Move TOC metadata generation to a post-processing step 2023-02-07 02:39:11 +01: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 Move TOC metadata generation to a post-processing step 2023-02-07 02:39:11 +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