From: Amir E. Aharoni Date: Sat, 19 Jul 2014 11:22:07 +0000 (+0300) Subject: Automatic direction for the license in Special:Version X-Git-Tag: 1.31.0-rc.0~13915^2 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=66f96ce7ff051fdd6d7810e380f69d95db7411ea;p=lhc%2Fweb%2Fwiklou.git direction for the license in Special:Version Change-Id: I357d92eca18de9a7a79ddfb215337ec231250ca3 --- diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index cb3fc11845..3508823cb3 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -743,13 +743,19 @@ class SpecialVersion extends SpecialPage { $licenseLink = Linker::link( $this->getPageTitle( 'License/' . $extensionName ), $out->parseInline( $extension['license-name'] ), - array( 'class' => 'mw-version-ext-license' ) + array( + 'class' => 'mw-version-ext-license', + 'dir' => 'auto', + ) ); } elseif ( $this->getExtLicenseFileName( $extensionPath ) ) { $licenseLink = Linker::link( $this->getPageTitle( 'License/' . $extensionName ), $this->msg( 'version-ext-license' ), - array( 'class' => 'mw-version-ext-license' ) + array( + 'class' => 'mw-version-ext-license', + 'dir' => 'auto', + ) ); }