Fixed bug in r99914, also reverted accidental tabs->spaces conversion
authorMax Semenik <maxsem@users.mediawiki.org>
Sun, 16 Oct 2011 15:08:38 +0000 (15:08 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Sun, 16 Oct 2011 15:08:38 +0000 (15:08 +0000)
RELEASE-NOTES-1.18
includes/api/ApiWatch.php

index 9a04ac1..fa25c61 100644 (file)
@@ -702,17 +702,17 @@ Documentation for both end-users and site administrators is available on
 MediaWiki.org, and is covered under the GNU Free Documentation License (except
 for pages that explicitly state that their contents are in the public domain):
 
-    http://www.mediawiki.org/wiki/Documentation
+       http://www.mediawiki.org/wiki/Documentation
 
 == Mailing list ==
 
 A mailing list is available for MediaWiki user support and discussion:
 
-    http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
+       http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
 
 A low-traffic announcements-only list is also available:
 
-    http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
+       http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
 
 It's highly recommended that you sign up for one of these lists if you're
 going to run a public MediaWiki, so you can be notified of security fixes.
index 9eee495..d9b26b5 100644 (file)
@@ -49,7 +49,7 @@ class ApiWatch extends ApiBase {
                $params = $this->extractRequestParams();
                $title = Title::newFromText( $params['title'] );
 
-               if ( !$title || $titile->getNamespace() < 0 ) {
+               if ( !$title || $title->getNamespace() < 0 ) {
                        $this->dieUsageMsg( array( 'invalidtitle', $params['title'] ) );
                }