Index: trunk/extensions/ParserFun/RELEASE-NOTES |
— | — | @@ -1,10 +1,10 @@ |
2 | 2 | 'Parser Fun' Changelog: |
3 | 3 | ======================= |
4 | 4 | |
5 | | - * (trunk) -- Version 0.2 alpha |
| 5 | + * December 9, 2011 -- Version 0.2 |
6 | 6 | - New parser function/variable 'CALLER' to return a templates caller. Comes with the following parameters: |
7 | 7 | + <1>/mode - can be the level of the call stack to return (if negative the value will be returned from the |
8 | | - bottom. Instead of a numer a mode can be given: 'count' will return the current callstack level, |
| 8 | + bottom). Instead of a number a mode can be given: 'count' will return the current callstack level, |
9 | 9 | 'list' will return a list of all sites in the stack. |
10 | 10 | + linked - boolean whether page(s) should be returned linked. |
11 | 11 | + sep - separator between pages in 'list' mode. ', ' by default. |
— | — | @@ -12,8 +12,8 @@ |
13 | 13 | + limit - how many items to return in 'list' mode. If negative the list will end that far from the stacks top. |
14 | 14 | All parameters with specific meaning in 'list' mode have the same effect for the 'count' mode. In 'count' mode the |
15 | 15 | offset is set to 1 by default, in 'list' mode to 0. |
16 | | - |
17 | 16 | |
| 17 | + |
18 | 18 | * December 2, 2011 -- Version 0.1 (initial release) |
19 | 19 | - Magic word prefix 'THIS:', which is working with basically all functions returning page related information: |
20 | 20 | 'FULLPAGENAME', 'PAGENAME', 'BASEPAGENAME', 'SUBPAGENAME', 'SUBJECTPAGENAME', 'TALKPAGENAME', 'NAMESPACE', |
Index: trunk/extensions/ParserFun/ParserFun.php |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | * Support: http://www.mediawiki.org/wiki/Extension_talk:Parser_Fun |
10 | 10 | * Source code: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ParserFun |
11 | 11 | * |
12 | | - * @version: 0.2 alpha |
| 12 | + * @version: 0.2 |
13 | 13 | * @license: ISC license |
14 | 14 | * @author: Daniel Werner < danweetz@web.de > |
15 | 15 | * |
— | — | @@ -83,7 +83,7 @@ |
84 | 84 | * |
85 | 85 | * @var string |
86 | 86 | */ |
87 | | - const VERSION = '0.2 alpha'; |
| 87 | + const VERSION = '0.2'; |
88 | 88 | |
89 | 89 | const MAG_THIS = 'this'; |
90 | 90 | const MAG_CALLER = 'caller'; |