Page MenuHomePhabricator

Globalusage reported broken on 1.18
Closed, ResolvedPublic

Description

http://commons.wikimedia.org/wiki/Commons:Village_pump#Global_usage

Hello, Is there an issue with the "Global usage" track of files on other Wikimedia projects? No more information is displayed (example, for a file used in WP in various languages). --Myrabella (talk) 12:05, 5 October 2011 (UTC)

This function doesn't seem to work after the switcover to 1.18. SpacemanSpiff (talk) 13:55, 5 October 2011 (UTC)

Side-effect: Apparently files renamed get not replaced with their renamed version by delinker. Evidence: We have moves (at least some files will be in use) but we have no new replace requests due to renames. Messy! Btw: delinks due to deletions seem to work. --Saibo (Δ) 16:45, 5 October 2011 (UTC)


Version: unspecified
Severity: normal

Details

Reference
bz31383

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 11:58 PM
bzimport added a project: GlobalUsage.
bzimport set Reference to bz31383.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 31384 has been marked as a duplicate of this bug. ***

saibotrash wrote:

Example: [[:de:Datei:Ruhr-steele-abend.jpg#filelinks|file is in use in dewp]]
but [[:File:Ruhr-steele-abend.jpg#filelinks|not recognized by Commons]]
[//commons.wikimedia.org/w/index.php?title=Special:GlobalUsage&target=Ruhr-steele-abend.jpg
at all].

Side-effect: ''Apparently'' files renamed get not replaced with their renamed
version by delinker. Evidence: [[Special:Log/move|We have moves]] (at least
some files will be in use) but we
[commons.wikimedia.org/w/index.php?title=User_talk:CommonsDelinker/commands&action=history
have]
[
commons.wikimedia.org/w/index.php?title=User:CommonsDelinker/commands&action=history
no] new replace requests due to renames. Messy! Btw:
[http://toolserver.org/~delinker/index.php delinks] due to deletions
[//pt.wikipedia.org/w/index.php?title=Roda_Antar&diff=27155181&oldid=27154954
seem to work].

Bryan.TongMinh wrote:

It's also broken on 1.17 wikis.

Bryan.TongMinh wrote:

Can anybody check whether the globalimagelinks table is empty?

(In reply to comment #4)

Can anybody check whether the globalimagelinks table is empty?

The whole table? No.

http://commons.wikimedia.org/w/index.php?title=Special%3AGlobalUsage&limit=50&target=Date+mark+of+Nagasaki+bomb.jpg

aaron@fenari:~/common/php-1.18/includes/media$ mwscript sql.php commonswiki

SELECT * FROM globalimagelinks WHERE gil_to = 'Date_mark_of_Nagasaki_bomb.jpg';

stdClass Object
(

[gil_wiki] => dewiki
[gil_page] => 6147565
[gil_page_namespace_id] => 0
[gil_page_namespace] =>
[gil_page_title] => Friedenspark (Nagasaki)
[gil_to] => Date_mark_of_Nagasaki_bomb.jpg

)
stdClass Object
(

[gil_wiki] => enwiki
[gil_page] => 4322728
[gil_page_namespace_id] => 0
[gil_page_namespace] =>
[gil_page_title] => Nagasaki_Peace_Park
[gil_to] => Date_mark_of_Nagasaki_bomb.jpg

)
stdClass Object
(

[gil_wiki] => enwiki
[gil_page] => 11778948
[gil_page_namespace_id] => 0
[gil_page_namespace] =>
[gil_page_title] => Atomic_bombings_of_Hiroshima_and_Nagasaki
[gil_to] => Date_mark_of_Nagasaki_bomb.jpg

)
...[a few more results]

As shown above, the link given reports "no links" yet there are in fact in the DB.

Gilles raised the priority of this task from High to Unbreak Now!.Dec 4 2014, 10:11 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to High.Dec 4 2014, 11:20 AM