Commit stuff from my w/c
[lhc/web/wiklou.git] / includes / api / ApiQueryLogEvents.php
index ba20114..34dcc59 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * API for MediaWiki 1.8+
+ *
  *
  * Created on Oct 16, 2006
  *
@@ -180,6 +180,15 @@ class ApiQueryLogEvents extends ApiQueryBase {
                $this->getResult()->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'item' );
        }
 
+       /**
+        * @static
+        * @param $result ApiResult
+        * @param $vals
+        * @param $params
+        * @param $type
+        * @param $ts
+        * @return array
+        */
        public static function addLogParams( $result, &$vals, $params, $type, $ts ) {
                $params = explode( "\n", $params );
                switch ( $type ) {
@@ -276,7 +285,7 @@ class ApiQueryLogEvents extends ApiQueryBase {
                                if ( $this->fld_userid ) {
                                        $vals['userid'] = $row->user_id;
                                }
-                               
+
                                if ( !$row->log_user ) {
                                        $vals['anon'] = '';
                                }
@@ -378,11 +387,11 @@ class ApiQueryLogEvents extends ApiQueryBase {
                return array(
                        'prop' => array(
                                'Which properties to get',
-                               ' ids            - Adds the id of the log event',
+                               ' ids            - Adds the ID of the log event',
                                ' title          - Adds the title of the page for the log event',
                                ' type           - Adds the type of log event',
                                ' user           - Adds the user responsible for the log event',
-                               ' userid         - Adds the user id who was responsible for the log event',
+                               ' userid         - Adds the user ID who was responsible for the log event',
                                ' timestamp      - Adds the timestamp for the event',
                                ' comment        - Adds the comment of the event',
                                ' parsedcomment  - Adds the parsed comment of the event',