Use canonical class name for ApiBase
authorPlatonides <platonides@gmail.com>
Fri, 15 Jun 2012 20:41:01 +0000 (22:41 +0200)
committerPlatonides <platonides@gmail.com>
Fri, 15 Jun 2012 20:41:01 +0000 (22:41 +0200)
 s/Apibase::PROP_NULLABLE/ApiBase::PROP_NULLABLE/

Change-Id: I222df124f947face5970bab810f497c43000dbf2

includes/api/ApiQueryQueryPage.php
includes/api/ApiQueryRecentChanges.php

index dab4ab2..2c7ba12 100644 (file)
@@ -186,7 +186,7 @@ class ApiQueryQueryPage extends ApiQueryGeneratorBase {
                                ),
                                'cached' => array(
                                        ApiBase::PROP_TYPE => 'boolean',
-                                       Apibase::PROP_NULLABLE => false
+                                       ApiBase::PROP_NULLABLE => false
                                ),
                                'cachedtimestamp' => array(
                                        ApiBase::PROP_TYPE => 'timestamp',
index f9025c4..62c6678 100644 (file)
@@ -648,11 +648,11 @@ class ApiQueryRecentChanges extends ApiQueryGeneratorBase {
                                'title' => 'string',
                                'new_ns' => array(
                                        ApiBase::PROP_TYPE => 'namespace',
-                                       Apibase::PROP_NULLABLE => true
+                                       ApiBase::PROP_NULLABLE => true
                                ),
                                'new_title' => array(
                                        ApiBase::PROP_TYPE => 'string',
-                                       Apibase::PROP_NULLABLE => true
+                                       ApiBase::PROP_NULLABLE => true
                                )
                        ),
                        'ids' => array(
@@ -684,13 +684,13 @@ class ApiQueryRecentChanges extends ApiQueryGeneratorBase {
                        'comment' => array(
                                'comment' => array(
                                        ApiBase::PROP_TYPE => 'string',
-                                       Apibase::PROP_NULLABLE => true
+                                       ApiBase::PROP_NULLABLE => true
                                )
                        ),
                        'parsedcomment' => array(
                                'parsedcomment' => array(
                                        ApiBase::PROP_TYPE => 'string',
-                                       Apibase::PROP_NULLABLE => true
+                                       ApiBase::PROP_NULLABLE => true
                                )
                        ),
                        'redirect' => array(
@@ -702,15 +702,15 @@ class ApiQueryRecentChanges extends ApiQueryGeneratorBase {
                        'loginfo' => array(
                                'logid' => array(
                                        ApiBase::PROP_TYPE => 'integer',
-                                       Apibase::PROP_NULLABLE => true
+                                       ApiBase::PROP_NULLABLE => true
                                ),
                                'logtype' => array(
                                        ApiBase::PROP_TYPE => $wgLogTypes,
-                                       Apibase::PROP_NULLABLE => true
+                                       ApiBase::PROP_NULLABLE => true
                                ),
                                'logaction' => array(
                                        ApiBase::PROP_TYPE => 'string',
-                                       Apibase::PROP_NULLABLE => true
+                                       ApiBase::PROP_NULLABLE => true
                                )
                        )
                );