https://bugzilla.wikimedia.org/show_bug.cgi?id=30571

--- Comment #2 from Gregor Hagedorn <[email protected]> 2011-08-31 
08:44:07 UTC ---
Happens with all files. 

http://species-id.net/o/index.php?title=Special%3AGlobalUsage&target=Chenopodium_album_1a_im_Stoppelfeld_IMG_2597_Wohlers.JPG

----

Note: I assumed that all wikis would write their own images into a single
global usage table. However, although 

cd /var/www/v-species/o;    sudo php ./maintenance/sql.php
./extensions/GlobalUsage/GlobalUsage.sql --conf ./LocalSettings.php

was executed only on the shared repository, all wiki checked seem to contain a 
globalimagelinks table, and this table is filled with the records for the local
images of each wiki.

Since GlobalUsage.sql was definitely not executed for all wikis, either refresh
does this, or a general update.php script (which was executed, due to version
changes) may do this?

-----

The config for all wikis is:
require_once( "$IP/extensions/GlobalUsage/GlobalUsage.php" );
$wgGlobalUsageDatabase = "openmedia";


The documentation on mediawiki says: "In LocalSettings, set
$wgGlobalUsageDatabase to the identifier of the wiki where the GlobalUsage data
is located (usually the database name). It should be something understandable
to wfGetDB. Example: $wgGlobalUsageDatabase = 'commonswiki';"

I interpret this that this should be the sql database name, i.e. the name in
$wgDBname. Is this perhaps incorrect?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to