From: Thomas Bleher Date: Sun, 14 Sep 2008 14:24:54 +0000 (+0000) Subject: Escape $1 in message (was PHP syntax error) X-Git-Tag: 1.31.0-rc.0~45312 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=4e9dacf069b75a1378c81afec20564c7af466e75;p=lhc%2Fweb%2Fwiklou.git Escape $1 in message (was PHP syntax error) --- diff --git a/CREDITS b/CREDITS index e37ea1be89..ee84c623a8 100644 --- a/CREDITS +++ b/CREDITS @@ -35,6 +35,7 @@ following names for their contribution to the product. * Siebrand Mazeland * SQL * Soxred93 +* Thomas Bleher * Tim Starling * Victor Vasiliev diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 779176469f..bf90fbe53e 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -700,7 +700,7 @@ abstract class ApiBase { 'permdenied-undelete' => array('code' => 'permissiondenied', 'info' => "You don't have permission to restore deleted revisions"), 'createonly-exists' => array('code' => 'articleexists', 'info' => "The article you tried to create has been created already"), 'nocreate-missing' => array('code' => 'missingtitle', 'info' => "The article you tried to edit doesn't exist"), - 'nosuchrcid' => array('code' => 'nosuchrcid', 'info' => "There is no change with rcid ``$1''"), + 'nosuchrcid' => array('code' => 'nosuchrcid', 'info' => "There is no change with rcid ``\$1''"), 'cantpurge' => array('code' => 'cantpurge', 'info' => "Only users with the 'purge' right can purge pages via the API"), // ApiEditPage messages