Last modified: 2011-10-15 22:03:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33383, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31383 - Globalusage reported broken on 1.18
Globalusage reported broken on 1.18
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
GlobalUsage (Other open bugs)
unspecified
All All
: High normal with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: need-integration-test
: 31384 (view as bug list)
Depends on:
Blocks: 29876
  Show dependency treegraph
 
Reported: 2011-10-05 16:53 UTC by Derk-Jan Hartman
Modified: 2011-10-15 22:03 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Derk-Jan Hartman 2011-10-05 16:53:16 UTC
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)
Comment 1 Sam Reed (reedy) 2011-10-05 16:59:32 UTC
*** Bug 31384 has been marked as a duplicate of this bug. ***
Comment 2 Saibo 2011-10-05 17:00:44 UTC
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].
Comment 3 Bryan Tong Minh 2011-10-05 17:02:27 UTC
It's also broken on 1.17 wikis.
Comment 4 Bryan Tong Minh 2011-10-06 07:19:27 UTC
Can anybody check whether the globalimagelinks table is empty?
Comment 5 Aaron Schulz 2011-10-07 23:22:45 UTC
(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]
Comment 6 Aaron Schulz 2011-10-07 23:23:51 UTC
As shown above, the link given reports "no links" yet there are in fact in the DB.
Comment 7 Aaron Schulz 2011-10-08 00:09:32 UTC
Fixed in r99283.
Comment 8 Mark A. Hershberger 2011-10-15 22:03:46 UTC
tagging bugs for Marcus to look at

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links