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

--- Comment #1 from Arthur Richards <[email protected]> 2012-06-04 
22:22:19 UTC ---
This is a result of this code in SkinMobile.php:

$copyrightLogo = is_array( $wgMFCustomLogos ) && isset(
$wgMFCustomLogos['copyright'] ) ?
            $wgMFCustomLogos['copyright'] :
           
"{$wgExtensionAssetsPath}/MobileFrontend/stylesheets/images/logo-copyright-{$wgLanguageCode}.png";
...
if ( $wgLanguageCode === 'en' ) { //@fixme: de-WMFize
            $license = Html::element( 'img', array(
                'src' => $copyrightLogo,
                'class' => 'license',
                'alt' => "{$footerSitename} ®"
            ) );
        } else {
            $license = Html::element( 'div', array( 'class' => 'license' ),
                "{$footerSitename} ™"
            );
        }

Since that logo already exists on commons, we could configure
$wgMFCustomLogos['copyright'] to point to the correct logo for enwiki ONLY.
Then we could change the code to something like:

if ( $wgMFCustomLogos['copyright'] ) {
                        $license = Html::element( 'img', array(
                'src' => $wgMFCustomLogos['copyright'],
                'class' => 'license',
                'alt' => "{$footerSitename} ®"
            ) );
        } else {
            $license = Html::element( 'div', array( 'class' => 'license' ),
                "{$footerSitename} ™"
            );
        }
And get rid of the $copyrightLogo logic. This would de-wmf-ize the whole thing
and resolve this problem.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to