Go to file
Gergő Tisza 7c78ba622c Weigh images by copyright status
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
2016-03-02 00:59:02 +00:00
i18n Localisation updates from https://translatewiki.net. 2016-02-19 22:10:02 +01:00
includes Weigh images by copyright status 2016-03-02 00:59:02 +00:00
maintenance Author prefers full name in @author tag 2015-11-17 09:54:24 +01:00
tests/phpunit Extract LinksUpdateHookHandler to separate file 2015-12-30 13:40:48 +01:00
.gitignore build: Configure banana-checker and jsonlint 2015-06-19 22:01:11 -07:00
.gitreview Add .gitreview 2012-05-07 20:19:32 +04:00
COPYING Add COPYING 2014-02-20 19:33:08 +04:00
Gruntfile.js build: Configure banana-checker and jsonlint 2015-06-19 22:01:11 -07:00
package.json build: Updating development dependencies 2015-12-29 11:46:04 -08:00
PageImages.i18n.php Update i18n shim 2014-04-22 13:35:11 +00:00
PageImages.php Weigh images by copyright status 2016-03-02 00:59:02 +00:00