Hi all,
I import all the data of wikipedia into my local mediawiki.And then I want to use the images of wikipedia on my wiki.
How can I get the images? And how to import the images into my local mediawiki?
Any suggestions?
Thanks a lot.
vanessa lee
$wgForeignFileRepos[] = array( 'class' => 'ForeignAPIRepo', 'name' => 'enwp', 'apibase' => 'http://en.wikipedia.org/w/api.php', 'fetchDescription' => true, // Optional 'descriptionCacheExpiry' => 43200, // 12 hours, optional 'apiThumbCacheExpiry' => 43200, // 12 hours, optional, but required for local thumb caching );
On Mon, May 10, 2010 at 10:04 AM, 李琴 qli@ica.stc.sh.cn wrote:
Hi all,
I import all the data of wikipedia into my local mediawiki.And then I
want to use the images of wikipedia on my wiki.
How can I get the images? And how to import the images into my local mediawiki?
Any suggestions?
Thanks a lot.
vanessa lee _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hoi, Would it not make more sense to refer to the Commons repository? Thanks, GerardM
On 10 May 2010 16:16, John Doe phoenixoverride@gmail.com wrote:
$wgForeignFileRepos[] = array( 'class' => 'ForeignAPIRepo', 'name' => 'enwp', 'apibase' => 'http://en.wikipedia.org/w/api.php', 'fetchDescription' => true, // Optional 'descriptionCacheExpiry' => 43200, // 12 hours, optional 'apiThumbCacheExpiry' => 43200, // 12 hours, optional, but required for local thumb caching );
On Mon, May 10, 2010 at 10:04 AM, 李琴 qli@ica.stc.sh.cn wrote:
Hi all,
I import all the data of wikipedia into my local mediawiki.And then
I
want to use the images of wikipedia on my wiki.
How can I get the images? And how to import the images into my local mediawiki?
Any suggestions?
Thanks a lot.
vanessa lee _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
2010/5/10 Gerard Meijssen gerard.meijssen@gmail.com:
Hoi, Would it not make more sense to refer to the Commons repository?
Not if you're importing data from enwiki. This setup will prefer local enwiki files, but will still use the file from Commons if there is no enwiki file by the name. This way [[File:Foo.jpg]] always refers to the same file as it does on enwiki (provided you don't have any local files uploaded to your wiki).
Roan Kattouw (Catrope)
Gerard,
When its a copy of the English Wikipedia it would be best to link te en.wiki api.
Using Commons would make sure all fair use stuff that isn't on Commons would return red links.
Best,
2010/5/10, Gerard Meijssen gerard.meijssen@gmail.com:
Hoi, Would it not make more sense to refer to the Commons repository? Thanks, GerardM
On 10 May 2010 16:16, John Doe phoenixoverride@gmail.com wrote:
$wgForeignFileRepos[] = array( 'class' => 'ForeignAPIRepo', 'name' => 'enwp', 'apibase' => 'http://en.wikipedia.org/w/api.php', 'fetchDescription' => true, // Optional 'descriptionCacheExpiry' => 43200, // 12 hours, optional 'apiThumbCacheExpiry' => 43200, // 12 hours, optional, but required for local thumb caching );
On Mon, May 10, 2010 at 10:04 AM, 李琴 qli@ica.stc.sh.cn wrote:
Hi all,
I import all the data of wikipedia into my local mediawiki.And
then
I
want to use the images of wikipedia on my wiki.
How can I get the images? And how to import the images into my local mediawiki?
Any suggestions?
Thanks a lot.
vanessa lee _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org