Merge "Update documentation for log related classes"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 6 Dec 2013 00:28:29 +0000 (00:28 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 6 Dec 2013 00:28:29 +0000 (00:28 +0000)
1  2 
includes/logging/LogEntry.php
includes/logging/LogEventsList.php
includes/logging/LogPage.php

Simple merge
@@@ -60,10 -61,9 +61,10 @@@ class LogEventsList extends ContextSour
         * Deprecated alias for getTitle(); do not use.
         *
         * @deprecated in 1.20; use getTitle() instead.
-        * @return Title object
+        * @return Title
         */
        public function getDisplayTitle() {
 +              wfDeprecated( __METHOD__, '1.20' );
                return $this->getTitle();
        }
  
        /**
         * Show options for the log list
         *
-        * @param string $types or Array
-        * @param $user String
-        * @param $page String
-        * @param $pattern String
-        * @param $year Integer: year
-        * @param $month Integer: month
-        * @param $filter: array
-        * @param $tagFilter: array?
+        * @param array|string $types
+        * @param string $user
+        * @param string $page
+        * @param string $pattern
+        * @param int $year Year
+        * @param int $month Month
+        * @param array $filter
+        * @param string $tagFilter Tag to select by default
         */
 -      public function showOptions( $types = array(), $user = '', $page = '', $pattern = '', $year = '',
 -              $month = '', $filter = null, $tagFilter = '' ) {
 +      public function showOptions( $types = array(), $user = '', $page = '', $pattern = '', $year = 0,
 +              $month = 0, $filter = null, $tagFilter = ''
 +      ) {
                global $wgScript, $wgMiserMode;
  
                $title = SpecialPage::getTitleFor( 'Log' );
Simple merge