Fix documentation of wfDebugLog()
authorAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Sun, 23 Mar 2014 09:17:48 +0000 (10:17 +0100)
committerAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Sun, 23 Mar 2014 09:17:48 +0000 (10:17 +0100)
- $public parameter does not exist anymore
- Put the type before the parameter name

Change-Id: I0f3a893803ab5466570ef45398f797e4714d9d37

includes/GlobalFunctions.php

index a6f936f..58395db 100644 (file)
@@ -1027,10 +1027,8 @@ function wfDebugMem( $exact = false ) {
  *
  * @since 1.23 support for sampling log messages via $wgDebugLogGroups.
  *
- * @param $logGroup String
- * @param $text String
- * @param bool $public whether to log the event in the public log if no private
- *                     log file is specified, (default true)
+ * @param string $logGroup
+ * @param string $text
  * @param string|bool $dest Destination of the message:
  *     - 'all': both to the log and HTML (debug toolbar or HTML comments)
  *     - 'log': only to the log and not in HTML