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

Revision: 73783
Author:   ialex
Date:     2010-09-26 16:37:00 +0000 (Sun, 26 Sep 2010)

Log Message:
-----------
* (bug 25292) SkinSubPageSubtitle hook now passes the Skin object as second 
parameter

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/docs/hooks.txt
    trunk/phase3/includes/Skin.php

Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES  2010-09-26 16:27:36 UTC (rev 73782)
+++ trunk/phase3/RELEASE-NOTES  2010-09-26 16:37:00 UTC (rev 73783)
@@ -337,6 +337,8 @@
 * (bug 24987) Special:ListUsers does not take external groups into account
 * (bug 20633) update.php has mixed language output
 * SQLite system table names are now never prefixed.
+* (bug 25292) SkinSubPageSubtitle hook now passes the Skin object as second
+  parameter
 
 === API changes in 1.17 ===
 * (bug 22738) Allow filtering by action type on query=logevent.

Modified: trunk/phase3/docs/hooks.txt
===================================================================
--- trunk/phase3/docs/hooks.txt 2010-09-26 16:27:36 UTC (rev 73782)
+++ trunk/phase3/docs/hooks.txt 2010-09-26 16:37:00 UTC (rev 73783)
@@ -1444,8 +1444,8 @@
 &$forContent: overridable flag if copyright footer is shown in content 
language. 
 
 'SkinSubPageSubtitle': At the beginning of Skin::subPageSubtitle()
+&$subpages: Subpage links HTML
 $skin: Skin object
-&$subpages: Subpage links HTML
 If false is returned $subpages will be used instead of the HTML
 subPageSubtitle() generates.
 If true is returned, $subpages will be ignored and the rest of

Modified: trunk/phase3/includes/Skin.php
===================================================================
--- trunk/phase3/includes/Skin.php      2010-09-26 16:27:36 UTC (rev 73782)
+++ trunk/phase3/includes/Skin.php      2010-09-26 16:37:00 UTC (rev 73783)
@@ -1058,7 +1058,7 @@
        function subPageSubtitle() {
                $subpages = '';
 
-               if ( !wfRunHooks( 'SkinSubPageSubtitle', array( &$subpages ) ) 
) {
+               if ( !wfRunHooks( 'SkinSubPageSubtitle', array( &$subpages, 
$this ) ) ) {
                        return $subpages;
                }
 



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to