From be4b52fed1dbc2a4e6562860b961f7e1f5ca392a Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Tue, 21 Jun 2011 10:49:52 +0000 Subject: [PATCH] Follow-up 90518: also align URL input box as LTR --- Interwiki.css | 4 ++++ Interwiki_body.php | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Interwiki.css b/Interwiki.css index 21f5a9d0..6fbb683d 100644 --- a/Interwiki.css +++ b/Interwiki.css @@ -25,4 +25,8 @@ table.mw-interwikitable.body td.mw-interwikitable-modify { } .mw-interwikitable-url { text-align: left; +} +input#mw-interwiki-url { + text-align: left; + direction: ltr; } \ No newline at end of file diff --git a/Interwiki_body.php b/Interwiki_body.php index c08a20dc..6eb81924 100644 --- a/Interwiki_body.php +++ b/Interwiki_body.php @@ -77,7 +77,9 @@ class SpecialInterwiki extends SpecialPage { } function showForm( $action ) { - global $wgRequest, $wgUser, $wgOut; + global $wgRequest, $wgUser, $wgOut, $wgScriptPath; + + $wgOut->addExtensionStyle( "{$wgScriptPath}/extensions/Interwiki/Interwiki.css" ); $actionUrl = $this->getTitle()->getLocalURL( 'action=submit' ); $token = $wgUser->editToken();