Go to file
Arlo Breault 7e5f9b59a2 Invert logic on empty talk page
Record if a talk page is not empty, rather than empty.

This helps prevent Parsoid from mislabelling pages as empty when they
contain extension tags it needs to call out to the legacy parser to
process.  Metadata from the legacy parse is merged into the overall
metadata for the page.

For example, a templatestyles extension tag parsed in the context of a
talk page would set the empty state which would then fail to cleared if
the overall parse of the page wasn't empty.

Bartosz (@matmarex) proposed this idea in T371125#10053043

Setting and using these flags all appear to be post-retrieval from
cache.

Alternative to I1deb679ef0e19dc3a36e377c183dd1b4ab0003e9

Bug: T371125
Change-Id: I5c1877f7f9eb73f88a33e001ca3c2f3d06bb90e4
2024-08-14 18:26:25 -04:00
.phan Comment thanking 2024-05-28 17:47:09 +02:00
i18n Localisation updates from https://translatewiki.net. 2024-08-14 09:22:34 +02:00
images Compress emptystate.svg with svgo 2021-10-04 12:56:20 +01:00
includes Invert logic on empty talk page 2024-08-14 18:26:25 -04:00
maintenance Use expression builder instead of raw sql 2024-07-21 23:25:41 +02:00
modules Merge "Show confirmation prompt if trying to submit a new topic without a title" 2024-08-12 17:02:08 +00:00
sql Store permalink data, implement Special:FindComment/GoToComment 2022-08-11 01:19:47 +02:00
tests Invert logic on empty talk page 2024-08-14 18:26:25 -04:00
.eslintignore ESLint: Autofix no-var rule 2024-05-24 16:49:36 +01:00
.eslintrc.json Don't enforce alphabetical order in i18n files 2022-08-12 13:29:39 +03:00
.gitignore
.gitreview .gitreview: Remove defaultrebase/defaultbranch 2023-09-09 21:37:34 +00:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 44.0.0 2024-08-11 06:40:14 +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
composer.json build: Updating mediawiki/mediawiki-codesniffer to 44.0.0 2024-08-11 06:40:14 +00:00
COPYING
DiscussionTools.alias.php Add Simplified Chinese special page aliases 2024-06-30 14:22:24 +08:00
DiscussionTools.magic.php Add Simplified Chinese magic word aliases 2024-06-30 15:12:42 +08:00
extension.json Show confirmation prompt if trying to submit a new topic without a title 2024-08-06 09:44:27 -05:00
Gruntfile.js Setup grunt-tyops and fix 2024-03-27 14:01:18 +00:00
package-lock.json build: Updating npm dependencies 2024-06-20 06:30:15 +00:00
package.json build: Updating npm dependencies 2024-06-20 06:30:15 +00:00
typos.json Setup grunt-tyops and fix 2024-03-27 14:01:18 +00:00