Index: trunk/extensions/SubPageList/RELEASE-NOTES |
— | — | @@ -5,9 +5,10 @@ |
6 | 6 | |
7 | 7 | |
8 | 8 | === Version 0.5 === |
9 | | -2011-xx-xx |
| 9 | +2011-12-27 |
10 | 10 | |
11 | | -* Compatibility fix with MediaWiki 1.18 and later. |
| 11 | +* Added compatibility with MediaWiki 1.18 and 1.19. |
| 12 | +* Dropped compatibility with MediaWiki 1.15. |
12 | 13 | * Added #subpagecount parser hook. |
13 | 14 | * Fixed invalid HTML for ul and ol formats (bug 32131). |
14 | 15 | |
Index: trunk/extensions/SubPageList/SubPageList.php |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | die( '<b>Error:</b> You need to have <a href="http://www.mediawiki.org/wiki/Extension:Validator">Validator</a> installed in order to use <a href="http://www.mediawiki.org/wiki/Extension:SubPageList">SubPageList</a>.<br />' ); |
37 | 37 | } |
38 | 38 | |
39 | | -define( 'SPL_VERSION', '0.5 alpha' ); |
| 39 | +define( 'SPL_VERSION', '0.5' ); |
40 | 40 | |
41 | 41 | $wgExtensionCredits['parserhook'][] = array( |
42 | 42 | 'path' => __FILE__, |
— | — | @@ -52,16 +52,13 @@ |
53 | 53 | $egSPLIP = dirname( __FILE__ ); |
54 | 54 | |
55 | 55 | $wgExtensionMessagesFiles['SubPageList'] = $egSPLIP . '/SubPageList.i18n.php'; |
| 56 | +$wgExtensionMessagesFiles['SubPageListMagic'] = $egSPLIP . '/SubPageList.i18n.magic.php'; |
56 | 57 | |
57 | 58 | $wgAutoloadClasses['SubPageBase'] = $egSPLIP . '/SubPageBase.class.php'; |
58 | 59 | $wgAutoloadClasses['SubPageList'] = $egSPLIP . '/SubPageList.class.php'; |
59 | 60 | $wgAutoloadClasses['SubPageCount'] = $egSPLIP . '/SubPageCount.class.php'; |
60 | 61 | $wgAutoloadClasses['SPLHooks'] = $egSPLIP . '/SubPageList.hooks.php'; |
61 | 62 | |
62 | | -if ( version_compare( $wgVersion, '1.16alpha', '>=' ) ) { |
63 | | - $wgExtensionMessagesFiles['SubPageListMagic'] = $egSPLIP . '/SubPageList.i18n.magic.php'; |
64 | | -} |
65 | | - |
66 | 63 | $wgHooks['ParserFirstCallInit'][] = 'SubPageList::staticInit'; |
67 | 64 | $wgHooks['LanguageGetMagic'][] = 'SubPageList::staticMagic'; |
68 | 65 | $wgHooks['ParserFirstCallInit'][] = 'SubPageCount::staticInit'; |