r105687 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105686‎ | r105687 | r105688 >
Date:18:39, 9 December 2011
Author:danwe
Status:deferred
Tags:
Comment:
Release version 0.2
Modified paths:
  • /trunk/extensions/ParserFun/ParserFun.php (modified) (history)
  • /trunk/extensions/ParserFun/RELEASE-NOTES (modified) (history)

Diff [purge]

Index: trunk/extensions/ParserFun/RELEASE-NOTES
@@ -1,10 +1,10 @@
22 'Parser Fun' Changelog:
33 =======================
44
5 - * (trunk) -- Version 0.2 alpha
 5+ * December 9, 2011 -- Version 0.2
66 - New parser function/variable 'CALLER' to return a templates caller. Comes with the following parameters:
77 + <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,
99 'list' will return a list of all sites in the stack.
1010 + linked - boolean whether page(s) should be returned linked.
1111 + sep - separator between pages in 'list' mode. ', ' by default.
@@ -12,8 +12,8 @@
1313 + limit - how many items to return in 'list' mode. If negative the list will end that far from the stacks top.
1414 All parameters with specific meaning in 'list' mode have the same effect for the 'count' mode. In 'count' mode the
1515 offset is set to 1 by default, in 'list' mode to 0.
16 -
1716
 17+
1818 * December 2, 2011 -- Version 0.1 (initial release)
1919 - Magic word prefix 'THIS:', which is working with basically all functions returning page related information:
2020 'FULLPAGENAME', 'PAGENAME', 'BASEPAGENAME', 'SUBPAGENAME', 'SUBJECTPAGENAME', 'TALKPAGENAME', 'NAMESPACE',
Index: trunk/extensions/ParserFun/ParserFun.php
@@ -8,7 +8,7 @@
99 * Support: http://www.mediawiki.org/wiki/Extension_talk:Parser_Fun
1010 * Source code: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ParserFun
1111 *
12 - * @version: 0.2 alpha
 12+ * @version: 0.2
1313 * @license: ISC license
1414 * @author: Daniel Werner < danweetz@web.de >
1515 *
@@ -83,7 +83,7 @@
8484 *
8585 * @var string
8686 */
87 - const VERSION = '0.2 alpha';
 87+ const VERSION = '0.2';
8888
8989 const MAG_THIS = 'this';
9090 const MAG_CALLER = 'caller';

Status & tagging log