mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-27 09:43:30 +00:00
7e5f9b59a2
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 |
||
---|---|---|
.phan | ||
i18n | ||
images | ||
includes | ||
maintenance | ||
modules | ||
sql | ||
tests | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
DiscussionTools.alias.php | ||
DiscussionTools.magic.php | ||
extension.json | ||
Gruntfile.js | ||
package-lock.json | ||
package.json | ||
typos.json |