From: Roan Kattouw Date: Thu, 12 Jun 2008 11:43:15 +0000 (+0000) Subject: Please use standardized error messages here X-Git-Tag: 1.31.0-rc.0~47035 X-Git-Url: https://git.cyclocoop.org/%27%20.%20%24this-%3EgetSkin%28%29-%3EescapeSearchLink%28%29%20.%20%27?a=commitdiff_plain;h=b3ba069578a9b3d3163f8faf2816ff4e79e50dc5;p=lhc%2Fweb%2Fwiklou.git Please use standardized error messages here --- diff --git a/includes/api/ApiQueryBacklinks.php b/includes/api/ApiQueryBacklinks.php index cdc70ed8ca..0ae3681565 100644 --- a/includes/api/ApiQueryBacklinks.php +++ b/includes/api/ApiQueryBacklinks.php @@ -266,7 +266,7 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase { if ( $this->params['title'] !== "" ) { $title = Title::newFromText( $this->params['title'] ); if ( !$title ) { - $this->dieUsage("Invalid title param"); + $this->dieUsageMsg(array('invalidtitle', $this->params['title'])); } else { $this->rootTitle = $title; }