i'm trying configure my local wikipedia with this directive to see images of commons on my wiki. putting this on my Localsettings.php but don't see any change.
$wgForeignFileRepos[] = array( 'class' => 'ForeignAPIRepo', 'name' => 'shared', 'apibase' => 'http://commons.wikimedia.org/w/api.php', 'fetchDescription' => true, // Optional 'descriptionCacheExpiry' => 43200, // 12 hours, optional 'apiThumbCacheExpiry' => 43200, // 12 hours, optional, but required for local thumb caching );
this is rigth and possible?? now my server is on my local intranet behind a proxy server my cuestion is if its possible to do, in other case i can configure an external interface. i need help with this please.
I recentily hinstalled mediawiki 1.4.0 and dumped the page-articles, it's work fine apparently but some times articles when i make clic in a link this point to other article thats no is the article corresponding to the link.
sorry my english
Did you try http://www.mediawiki.org/wiki/Manual:Rebuildall.php ?
Gregor
2009/5/13 Enrique enrique@banmet.cu:
I recentily hinstalled mediawiki 1.4.0 and dumped the page-articles, it's work fine apparently but some times articles when i make clic in a link this point to other article thats no is the article corresponding to the link.
sorry my english
Enrique escribió:
i'm trying configure my local wikipedia with this directive to see images of commons on my wiki. putting this on my Localsettings.php but don't see any change.
$wgForeignFileRepos[] = array( 'class' => 'ForeignAPIRepo', 'name' => 'shared', 'apibase' => 'http://commons.wikimedia.org/w/api.php', 'fetchDescription' => true, // Optional 'descriptionCacheExpiry' => 43200, // 12 hours, optional 'apiThumbCacheExpiry' => 43200, // 12 hours, optional, but required for local thumb caching );
this is rigth and possible?? now my server is on my local intranet behind a proxy server my cuestion is if its possible to do, in other case i can configure an external interface. i need help with this please.
Yes. Set $wgHTTPProxy appropiately.
----- Original Message ----- From: "Platonides" Platonides@gmail.com To: mediawiki-l@lists.wikimedia.org Sent: Friday, May 22, 2009 2:13 PM Subject: Re: [Mediawiki-l] help please $wgForeignFileRepos
Enrique escribió:
i'm trying configure my local wikipedia with this directive to see images of commons on my wiki. putting this on my Localsettings.php but don't see any change.
$wgForeignFileRepos[] = array( 'class' => 'ForeignAPIRepo', 'name' => 'shared', 'apibase' => 'http://commons.wikimedia.org/w/api.php', 'fetchDescription' => true, // Optional 'descriptionCacheExpiry' => 43200, // 12 hours, optional 'apiThumbCacheExpiry' => 43200, // 12 hours, optional, but required for local thumb caching );
this is rigth and possible?? now my server is on my local intranet behind a proxy server my cuestion is if its possible to do, in other case i can configure an external interface. i need help with this please.
Yes. Set $wgHTTPProxy appropiately.
I'm looking how to configure $wgHTTPProxy but not find any example.
mediawiki-l@lists.wikimedia.org