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

--- Comment #4 from Ariel T. Glenn <ar...@wikimedia.org> 2012-11-20 09:53:12 
UTC ---
Shorter approach: 

copy in the extension crap, copy in all.dblist, special.dblist, langlist,
modify paths in dumpInterwikis.php

from base of mw installation, do 
echo 'print wfWikiID();' | php maintenance/eval.php

add this value (in our case, wikitech-mw_) to all.dblist and special.dblist

from base of mw installation, do 
php extensions/WikimediaMaintenance/dumpInterwiki.php -o new-interwikis.db

from base of mw installation, copy this new file into cache/interwiki.cdb

make sure that LocalSetttings.php in mw installation base dir has
$wgInterwikiCache = "$IP/cache/interwiki.cdb";

Now shortcuts and all other iw links should work for your project.  Note that
it will behave as though it is a 'wikipedia' with en as the default language.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to