Index: trunk/extensions/SubPageList/RELEASE-NOTES |
— | — | @@ -4,6 +4,11 @@ |
5 | 5 | Latest version of the release notes: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SubPageList/RELEASE-NOTES?view=co |
6 | 6 | |
7 | 7 | |
| 8 | +=== Version 0.3.1 === |
| 9 | +2011-07-xx |
| 10 | + |
| 11 | +* Fixed compatibility with MediaWiki 1.18. |
| 12 | + |
8 | 13 | === Version 0.3 === |
9 | 14 | 2011-03-05 |
10 | 15 | |
Index: trunk/extensions/SubPageList/SubPageList.hooks.php |
— | — | @@ -19,10 +19,12 @@ |
20 | 20 | * |
21 | 21 | * @since 0.3 |
22 | 22 | * |
| 23 | + * @param Article|WikiPage &$article WikiPage object since MW 1.18 |
| 24 | + * |
23 | 25 | * @return true |
24 | 26 | */ |
25 | 27 | public static function onArticleInsertComplete( |
26 | | - Article &$article, User &$user, $text, $summary, $minoredit, |
| 28 | + &$article, User &$user, $text, $summary, $minoredit, |
27 | 29 | $watchthis, $sectionanchor, &$flags, Revision $revision ) { |
28 | 30 | |
29 | 31 | self::invalidateBasePages( $article->getTitle() ); |