(bug 23002) Imagelinks table not updated after imagemove. The actual bug was inconsis...
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Sat, 14 May 2011 12:20:45 +0000 (12:20 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Sat, 14 May 2011 12:20:45 +0000 (12:20 +0000)
commit41231616b63c41fcacdc1631330b22c593f27425
tree7163d5eaa383f77e51c6eb780854900de526cbcd
parente6bee6f043aac8a1e48e6302b32fc6712a180d79
(bug 23002) Imagelinks table not updated after imagemove. The actual bug was inconsistent behaviour between imagelinks and pagelinks for redirects.
* Parser now only adds the redirect source to imagelinks, like it does in pagelinks
* ImagePage now shows the file redirects in-line with the normal "The following pages link to this file:"
** Added message linkstoimage-redirect
** Removed the separate file redirects section and removed associated message redirectstofile
** ImagePage::imageLinks will first fetch image links to the file, determine which are redirects, and if there are fewer links than the limit, fetch the redirect target links.
includes/ImagePage.php
includes/parser/Parser.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php