Topic on Extension talk:GlobalUsage

Globalusage not show on File page when shared repo database like 'dbname-prefix'

1
Sunwui (talkcontribs)

If shared repo database contain a table prefix, $wgGlobalUsageDatabase should be dbname-prefix. I found getDBname() isn't contain the table prefix, so Globalusage not show on File page. I found getDomainId()result is dbname-prefix, but I don't know if it 's right use, and if my setting wrong in Globalusage.

The code in GlobalUsageImagePageHooks.php line118(Github):

$dbr->getDBname()!=$wgGlobalUsageDatabase

Reply to "Globalusage not show on File page when shared repo database like 'dbname-prefix'"