http://www.mediawiki.org/wiki/Special:Code/MediaWiki/70494

Revision: 70494
Author:   nad
Date:     2010-08-05 08:24:04 +0000 (Thu, 05 Aug 2010)

Log Message:
-----------
remove ref symbol from passed string args in hook

Modified Paths:
--------------
    trunk/extensions/CategoryWatch/CategoryWatch.php

Modified: trunk/extensions/CategoryWatch/CategoryWatch.php
===================================================================
--- trunk/extensions/CategoryWatch/CategoryWatch.php    2010-08-05 08:12:28 UTC 
(rev 70493)
+++ trunk/extensions/CategoryWatch/CategoryWatch.php    2010-08-05 08:24:04 UTC 
(rev 70494)
@@ -14,7 +14,7 @@
  * @licence GNU General Public Licence 2.0 or later
  */
 
-define( 'CATEGORYWATCH_VERSION', '1.2.0, 2010-07-15' );
+define( 'CATEGORYWATCH_VERSION', '1.2.1, 2010-08-05' );
 
 # Whether or not to also send notificaton to the person who made the change
 $wgCategoryWatchNotifyEditor = true;
@@ -48,7 +48,7 @@
        /**
         * Get a list of categories before article updated
         */
-       function onArticleSave( &$article, &$user, &$text ) {
+       function onArticleSave( &$article, &$user, $text ) {
                global $wgCategoryWatchUseAutoCat, 
$wgCategoryWatchUseAutoCatRealName;
 
                $this->before = array();
@@ -86,7 +86,7 @@
        /**
         * Find changes in categorisation and send messages to watching users
         */
-       function onArticleSaveComplete( &$article, &$user, &$text, &$summary, 
&$medit ) {
+       function onArticleSaveComplete( &$article, &$user, $text, $summary, 
$medit ) {
 
                # Get cats after update
                $this->after = array();



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to