mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-15 12:00:40 +00:00
7c78ba622c
Fetch the extended metadata for every image, and if the NonFree key (provided by CommonsMetadata) is present, rank down the image. The check is run on LinksUpdate so changes to image copyright templates won't have effect until the page is reparsed. Unlike other weights, the work of extracting the weight factor from the file/page is wholly done on LinksUpdate, instead of doing most of it on parse and storing as ParserOutput extension metadata. This is to avoid getting the article page parsing and the file description page parsing conflicting with each other. Bug: T124225 Change-Id: I21111ecbc80ded864806a2a93002f3254c3c68a9 |
||
---|---|---|
i18n | ||
includes | ||
maintenance | ||
tests/phpunit | ||
.gitignore | ||
.gitreview | ||
COPYING | ||
Gruntfile.js | ||
package.json | ||
PageImages.i18n.php | ||
PageImages.php |