Topic on Extension talk:GlobalUsage

How to generate links under File usage on other wikis session?

5
Deletedaccount4567435 (talkcontribs)

Hi all, after a long long period of hardworking we finally got the GlobalUsage work with two separate database across pacific ocean.

We got the "File usage on other wikis" part show as following. It is clear that some setting need to be set. (May be $wgConf?) Can anyone provide help on the linking part?

THX

The following other wikis use this file:

Usage on enmoegirl

*pagename1

Usage on zhmoegirl

*pagename2

.....

Bawolff (talkcontribs)

Yes, if links don't work, it means $wgConf isn't set correctly, and MediaWiki doesn't know what the $wgArticlePath and related variables are for the other wiki.

Bawolff (talkcontribs)

I should add, this extension also supports manual:Sites table as an alternative to $wgConf if you prefer that.

Deletedaccount4567435 (talkcontribs)

I have add the sites table through importSites.php.

However after purge/runjob, no links generated. This table do exist in database, But its empty & and nothing using this table before importSites. I do saw extensions use "interwiki" table. Does the "sites" table still in use?

<sites version="1.0">

<site type="mediawiki">

<globalid>enmoegirl</globalid>

<localid type="interwiki">enmoegirl</localid>

<localid type="language">en</localid>

<group>moegirlpedia</group>

<path type="link">https://en.moegirl.org/</path>

<path type="page_path">https://en.moegirl.org/$1</path>

<path type="file_path">https://en.moegirl.org/$1</path>

<source>wikidata</source>

</site>

</sites>

Deletedaccount4567435 (talkcontribs)

After few hours of wait, the link shows up as it suppose to! Yeah!

I guess problem caused by cache delay.

Thank you!!!!! Bawolff!

Reply to "How to generate links under File usage on other wikis session?"