| Index: trunk/extensions/SubPageList/RELEASE-NOTES |
| — | — | @@ -7,7 +7,7 @@ |
| 8 | 8 | === Version 0.5 === |
| 9 | 9 | 2011-xx-xx |
| 10 | 10 | |
| 11 | | -* |
| | 11 | +* Compatibility fix with MediaWiki 1.18 and later. |
| 12 | 12 | |
| 13 | 13 | === Version 0.4 === |
| 14 | 14 | 2011-07-27 |
| Index: trunk/extensions/SubPageList/SubPageList.hooks.php |
| — | — | @@ -38,9 +38,11 @@ |
| 39 | 39 | * |
| 40 | 40 | * @since 0.3 |
| 41 | 41 | * |
| | 42 | + * @param Article|WikiPage &$article WikiPage object since MW 1.18 |
| | 43 | + * |
| 42 | 44 | * @return true |
| 43 | 45 | */ |
| 44 | | - public static function onArticleDeleteComplete( Article &$article, User &$user, $reason, $id ) { |
| | 46 | + public static function onArticleDeleteComplete( &$article, User &$user, $reason, $id ) { |
| 45 | 47 | self::invalidateBasePages( $article->getTitle() ); |
| 46 | 48 | |
| 47 | 49 | return true; |