RefreshLinks on imagelinks on new uploads to kill tracking cat.
authorBrian Wolff <bawolff+wn@gmail.com>
Mon, 15 Apr 2013 23:06:23 +0000 (20:06 -0300)
committerBrian Wolff <bawolff+wn@gmail.com>
Wed, 5 Jun 2013 14:01:22 +0000 (11:01 -0300)
commit10d877dfe81d3f534a410619c1f201f37669487d
tree27616e5635ad7c9e013679bb4fd98426936169a8
parent536cf1d6a3bc2ed20d46b896bcafb8eace92d02b
RefreshLinks on imagelinks on new uploads to kill tracking cat.

When someone uploads a new file, we should refresh all the pages
that use that image, so that [[Category:Pages with broken file links]]
gets removed.

Future fixme would to run this again on file deletes, but that's
less critical as they will eventually get added on next reparse
and people don't expect that to happen instantly like when fixing
the issue. Ditto for someone creating a new file redirect.

Bug: 46749
Change-Id: I7889598eee54a1c07c64f750b8499e922ba59704
RELEASE-NOTES-1.22
includes/LinksUpdate.php
includes/filerepo/file/LocalFile.php