Update the interwiki cache

From Wikitech
(Difference between revisions)
Jump to: navigation, search
m
Line 3: Line 3:
 
This is how it appears to be updated:
 
This is how it appears to be updated:
 
<pre>
 
<pre>
andrew@fenari:/home/wikipedia/common/php-1.5/maintenance$ php dumpInterwiki.php -o /home/wikipedia/common/php-1.5/cache/interwiki.cdb
+
cd /home/wikipedia/common/php-1.5/maintenance
andrew@fenari:/home/wikipedia/common/php-1.5/maintenance$ sync-file cache/interwiki.cdb Updating interwiki cache for new wikitech entry
+
php dumpInterwiki.php -o /home/wikipedia/common/php-1.5/cache/interwiki.cdb
 +
sync-file cache/interwiki.cdb Updating interwiki cache for new wikitech entry
 
</pre>
 
</pre>

Revision as of 08:55, 13 November 2010

The interwiki cache is a cache of meta:Interwiki map, which maps interwiki prefixes to URLs

This is how it appears to be updated:

cd /home/wikipedia/common/php-1.5/maintenance
php dumpInterwiki.php -o /home/wikipedia/common/php-1.5/cache/interwiki.cdb
sync-file cache/interwiki.cdb Updating interwiki cache for new wikitech entry
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox