mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 08:23:52 +00:00
a29cecdf73
It's an expensive method, and we previously called it for every child of the common ancestor, completely unnecessarily. These changes follow from two observations: * If there is a $firstPartiallyContainedChild, then the first fully contained child must follow it; similarly, if there is a $lastPartiallyContainedChild, then the last fully contained child must precede it. * All nodes between the first and last fully contained children are also fully contained. Maybe it can be made cleverer still, but it's a lot better. Change-Id: I4e596c62274c2c0be115f0ddec42629115b430a4 |
||
---|---|---|
.phan | ||
i18n | ||
images | ||
includes | ||
maintenance | ||
modules | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
package-lock.json | ||
package.json |