Go to file
Bartosz Dziewoński ee1b8c113d ApiDiscussionToolsEdit: Unwrap Parsoid sections before parsing
Otherwise, when a transclusion covers a section boundary, both whole
sections are considered to be transcluded.

We already use this method everywhere else (by way of
HookUtils::parseRevisionParsoidHtml), and VisualEditor also applies
the same transformation (mw.libs.ve.unwrapParsoidSections) before
opening the page for editing.

Bug: T327704
Change-Id: I9d8288e2740d816edb9cbc01d7e5642d52c610d3
(cherry picked from commit c9deff179f)
2023-01-26 21:13:53 +00:00
.phan Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
i18n Merge "Hide the Source/Visual tags on DiscussionTools edits" 2023-01-23 15:26:56 +00:00
images Compress emptystate.svg with svgo 2021-10-04 12:56:20 +01:00
includes ApiDiscussionToolsEdit: Unwrap Parsoid sections before parsing 2023-01-26 21:13:53 +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 Update exception handling for new code conventions 2023-01-22 18:17:11 +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