Add descriptionCacheExpiry to configuration example to avoid 2 notices.
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Sat, 19 Jul 2008 19:11:58 +0000 (19:11 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Sat, 19 Jul 2008 19:11:58 +0000 (19:11 +0000)
Notice: Undefined property: ForeignAPIRepo::$descriptionCacheExpiry in includes/filerepo/File.php on line 1071
Notice: Undefined property: ForeignAPIRepo::$descriptionCacheExpiry in includes/filerepo/File.php on line 1083

includes/filerepo/ForeignAPIRepo.php

index 2315253..0dee699 100644 (file)
@@ -8,10 +8,11 @@
  * Example config:
  *
  * $wgForeignFileRepos[] = array(
- *   'class'            => 'ForeignAPIRepo',
- *   'name'             => 'shared',
- *   'apibase'          => 'http://en.wikipedia.org/w/api.php',
- *   'fetchDescription' => true, // Optional
+ *   'class'                  => 'ForeignAPIRepo',
+ *   'name'                   => 'shared',
+ *   'apibase'                => 'http://en.wikipedia.org/w/api.php',
+ *   'fetchDescription'       => true, // Optional
+ *   'descriptionCacheExpiry' => 3600,
  * );
  *
  * @ingroup FileRepo