r95664 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95663‎ | r95664 | r95665 >
Date:14:38, 29 August 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
compat fix
Modified paths:
  • /trunk/extensions/SubPageList/RELEASE-NOTES (modified) (history)
  • /trunk/extensions/SubPageList/SubPageList.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SubPageList/RELEASE-NOTES
@@ -7,7 +7,7 @@
88 === Version 0.5 ===
99 2011-xx-xx
1010
11 -*
 11+* Compatibility fix with MediaWiki 1.18 and later.
1212
1313 === Version 0.4 ===
1414 2011-07-27
Index: trunk/extensions/SubPageList/SubPageList.hooks.php
@@ -38,9 +38,11 @@
3939 *
4040 * @since 0.3
4141 *
 42+ * @param Article|WikiPage &$article WikiPage object since MW 1.18
 43+ *
4244 * @return true
4345 */
44 - public static function onArticleDeleteComplete( Article &$article, User &$user, $reason, $id ) {
 46+ public static function onArticleDeleteComplete( &$article, User &$user, $reason, $id ) {
4547 self::invalidateBasePages( $article->getTitle() );
4648
4749 return true;

Status & tagging log