Go to file
Bartosz Dziewoński 5d3d3cf687 Use setExtensionData() instead of marker comments where possible (2/3)
We started using marker comments (HTML comments with special content
inserted into the page) for the reply buttons back in the day, because
we needed to indicate their location in the HTML. Later we used the
same idea for things which aren't actually tied to a specific location
in the HTML, such as boolean data like __DTEMPTYTALKPAGE__. There is a
better way to do this.

This commit starts reading from ParserOutput::getExtensionData(),
which was generated by the previous commit, and should be present
in all cached ParserOutput objects by the time we merge this.

Bug: T328980
Change-Id: I9f7a907836b86f25567fd4b352464d62d76e20e4
(cherry picked from commit 0ac420ecbc)
2023-02-11 21:16:03 -06: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-10 08:43:48 +01:00
images Compress emptystate.svg with svgo 2021-10-04 12:56:20 +01:00
includes Use setExtensionData() instead of marker comments where possible (2/3) 2023-02-11 21:16:03 -06:00
maintenance Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
modules Optimize selectors in mobile hacks 2023-02-07 02:56:05 +01:00
sql Store permalink data, implement Special:FindComment/GoToComment 2022-08-11 01:19:47 +02:00
tests Revert "Use setExtensionData() instead of marker comments where possible (3/3)" 2023-02-12 02:56:55 +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 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