From: Chad Horohoe Date: Mon, 15 Dec 2008 15:47:42 +0000 (+0000) Subject: Tweak the wording in 'immobile-target-namespace-iw'. Still feels a bit weird, but... X-Git-Tag: 1.31.0-rc.0~43957 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=6d0fc7882ad85959c5f283f378b65090ec2f0234;p=lhc%2Fweb%2Fwiklou.git Tweak the wording in 'immobile-target-namespace-iw'. Still feels a bit weird, but it's better :) Also dropped now unnecessary $1 for interwiki prefix. --- diff --git a/includes/Title.php b/includes/Title.php index 356f448bc3..a49b725488 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2415,7 +2415,7 @@ class Title { $errors[] = array( 'immobile-source-namespace', $this->getNsText() ); } if ( $nt->getInterwiki() != '' ) { - $errors[] = array( 'immobile-target-namespace-iw', $nt->getInterwiki() ); + $errors[] = array( 'immobile-target-namespace-iw' ); } if ( !$nt->isMovable() ) { $errors[] = array('immobile-target-namespace', $nt->getNsText() ); diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index b7334e8350..1b4a59d45d 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -2739,7 +2739,7 @@ cannot move a page over itself.', 'immobile-target-namespace' => 'Cannot move pages into namespace "$1"', 'immobile-source-page' => 'This page is not movable.', 'immobile-target-page' => 'Cannot move to that destination title.', -'immobile-target-namespace-iw' => 'Cannot move pages to interwiki link "$1"', +'immobile-target-namespace-iw' => 'Interwiki link is not a valid target for page move.', 'imagenocrossnamespace' => 'Cannot move file to non-file namespace', 'imagetypemismatch' => 'The new file extension does not match its type', 'imageinvalidfilename' => 'The target file name is invalid',