http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88268
Revision: 88268
Author: hartman
Date: 2011-05-16 20:58:24 +0000 (Mon, 16 May 2011)
Log Message:
-----------
Fix undefined var from r88265
OK, I officially hate caching now :D
Modified Paths:
--------------
trunk/extensions/TimedMediaHandler/handlers/TextHandler/TextHandler.php
Modified:
trunk/extensions/TimedMediaHandler/handlers/TextHandler/TextHandler.php
===================================================================
--- trunk/extensions/TimedMediaHandler/handlers/TextHandler/TextHandler.php
2011-05-16 20:57:27 UTC (rev 88267)
+++ trunk/extensions/TimedMediaHandler/handlers/TextHandler/TextHandler.php
2011-05-16 20:58:24 UTC (rev 88268)
@@ -113,7 +113,7 @@
$providerName = $this->file->repo->getName();
// For a while commons repo in the mediaWiki manual was called
"shared"
// ( we need commons to be named "commons" so that the
javascript api provider names match up )
- if( $providerName == 'shared' || $providername ==
'wikimediacommons' ){
+ if( $providerName == 'shared' || $providerName ==
'wikimediacommons' ){
// We could alternatively check
$this->file->repo->mApiBase
foreach( $wgForeignFileRepos as $repo ){
if( $repo['name'] ==
$this->file->repo->getName()
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs