From b3ba069578a9b3d3163f8faf2816ff4e79e50dc5 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 12 Jun 2008 11:43:15 +0000 Subject: [PATCH] Please use standardized error messages here --- includes/api/ApiQueryBacklinks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1