From: Max Semenik Date: Sun, 16 Oct 2011 15:08:38 +0000 (+0000) Subject: Fixed bug in r99914, also reverted accidental tabs->spaces conversion X-Git-Tag: 1.31.0-rc.0~27067 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=c208472bc35d8f79f2055ab28db52048e3f88710;p=lhc%2Fweb%2Fwiklou.git Fixed bug in r99914, also reverted accidental tabs->spaces conversion --- diff --git a/RELEASE-NOTES-1.18 b/RELEASE-NOTES-1.18 index 9a04ac1452..fa25c61e7b 100644 --- a/RELEASE-NOTES-1.18 +++ b/RELEASE-NOTES-1.18 @@ -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. diff --git a/includes/api/ApiWatch.php b/includes/api/ApiWatch.php index 9eee4956cd..d9b26b5228 100644 --- a/includes/api/ApiWatch.php +++ b/includes/api/ApiWatch.php @@ -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'] ) ); }