https://bugzilla.wikimedia.org/show_bug.cgi?id=27749

Bawolff <bawolff...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bawolff...@gmail.com

--- Comment #1 from Bawolff <bawolff...@gmail.com> 2011-02-26 19:37:04 UTC ---
Looking at the wmf config files, it has an entry:


$wgLocalFileRepo = array(
    'class' => 'LocalRepo',
    'name' => 'local',
    'directory' => $wgUploadDirectory,
    'url' => $wgUploadBaseUrl ? $wgUploadBaseUrl . $wgUploadPath :
$wgUploadPath,
    'hashLevels' => 2,
    'thumbScriptUrl' => $wgThumbnailScriptPath,
    'transformVia404' => true,
    'initialCapital' => $wgCapitalLinks,
    'deletedDir' => "/mnt/upload6/private/archive/$site/$lang",
    'deletedHashLevels' => 3,
        'thumbDir'         => str_replace( '/mnt/upload6', '/mnt/thumbs',
"$wgUploadDirectory/thumb" ),
    );

This doesn't include scriptDirUrl, like the equivalent definition in Setup.php.
I think this causes FileRepo::getDescriptionUrl to fail on local images on wmf
wikis.

However, with that said, I'm at a loss as to why it would work on test2. (and
why this just started breaking)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to