* Update extensions/AbuseFilter from branch 'REL1_43'
to f16f3d042e37223141df777b7f22ade857cd3c80
- Protected variables logging: Only compute protected variable values
Why:
* To log when a user views the value of a protected variable,
the AbuseFilter code needs to determine if the value of those
protected variables are not null and the variable is set.
** To do this we need to compute all protected variable values
even if the values are lazily loaded.
** However, the code that does this also loads all other lazily
loaded variables.
* Loading all the lazily loaded variables causes expensive
variables to be loaded even if they are not used.
** This causes noticeable issues when testing filter conditions
against a set of recent actions.
* Instead of computing all lazily loaded variables, the code only
needs to compute lazily protected variables.
** In some cases we can also not load any variable values, because
the code was only looking for the list of defined variables
and not their values.
What:
* Update CheckMatch, SpecialAbuseLog, AbuseFIlterViewExamine,
and AbuseFilterViewTestBatch to not compute all lazily loaded
variables via VariablesManager::dumpAllVars:
** In cases where it is possible, the ::dumpAllVars call is replaced
with a calls to VariableHolder to get the variables.
** In all other cases update the second argument to ::dumpAllVars
from `true` to the list of all protected variables.
Bug: T400673
Change-Id: I7136c61f4e4574de8ffde21076df1c6645a36f81
(cherry picked from commit 7d948eead42241aa6495bf2d0c3fc9b3c42aea72)
|
||
|---|---|---|
| .phan | ||
| cache | ||
| docs | ||
| extensions | ||
| images | ||
| includes | ||
| languages | ||
| maintenance | ||
| mw-config | ||
| resources | ||
| skins | ||
| tests | ||
| vendor@ff925b8b4d | ||
| .dockerignore | ||
| .editorconfig | ||
| .eslintignore | ||
| .eslintrc.json | ||
| .fresnel.yml | ||
| .git-blame-ignore-revs | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmessage | ||
| .gitmodules | ||
| .gitreview | ||
| .mailmap | ||
| .phpcs.xml | ||
| .stylelintrc.json | ||
| .svgo.config.js | ||
| .vsls.json | ||
| api.php | ||
| autoload.php | ||
| CODE_OF_CONDUCT.md | ||
| composer.json | ||
| composer.local.json-sample | ||
| COPYING | ||
| CREDITS | ||
| DEVELOPERS.md | ||
| docker-compose.yml | ||
| FAQ | ||
| Gruntfile.js | ||
| HISTORY | ||
| img_auth.php | ||
| index.php | ||
| INSTALL | ||
| jsdoc.json | ||
| load.php | ||
| opensearch_desc.php | ||
| package-lock.json | ||
| package.json | ||
| phpunit.xml.dist | ||
| README.md | ||
| RELEASE-NOTES-1.43 | ||
| rest.php | ||
| SECURITY | ||
| thumb.php | ||
| thumb_handler.php | ||
| UPGRADE | ||
MediaWiki
MediaWiki is a free and open-source wiki software package written in PHP. It serves as the platform for Wikipedia and the other Wikimedia projects, used by hundreds of millions of people each month. MediaWiki is localised in over 350 languages and its reliability and robust feature set have earned it a large and vibrant community of third-party users and developers.
MediaWiki is:
- feature-rich and extensible, both on-wiki and with hundreds of extensions;
- scalable and suitable for both small and large sites;
- simple to install, working on most hardware/software combinations; and
- available in your language.
For system requirements, installation, and upgrade details, see the files RELEASE-NOTES, INSTALL, and UPGRADE.
- Ready to get started?
- Setting up your local development environment?
- Looking for the technical manual?
- Seeking help from a person?
- Looking to file a bug report or a feature request?
- Interested in helping out?
MediaWiki is the result of global collaboration and cooperation. The CREDITS file lists technical contributors to the project. The COPYING file explains MediaWiki's copyright and license (GNU General Public License, version 2 or later). Many thanks to the Wikimedia community for testing and suggestions.