summaryrefslogtreecommitdiff
path: root/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'api.php')
-rw-r--r--api.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/api.php b/api.php
index 10baa13e..7c80f734 100644
--- a/api.php
+++ b/api.php
@@ -52,8 +52,7 @@ $starttime = microtime( true );
//
if ( $wgRequest->isPathInfoBad() ) {
wfHttpError( 403, 'Forbidden',
- 'Invalid file extension found in PATH_INFO. ' .
- 'The API must be accessed through the primary script entry point.' );
+ 'Invalid file extension found in PATH_INFO or QUERY_STRING.' );
return;
}