r105119 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105118‎ | r105119 | r105120 >
Date:17:47, 4 December 2011
Author:danwe
Status:ok
Tags:update.docs 
Comment:
Release 2.0rc
Modified paths:
  • /trunk/extensions/Arrays/Arrays.php (modified) (history)
  • /trunk/extensions/Arrays/Arrays_Settings.php (modified) (history)
  • /trunk/extensions/Arrays/README (modified) (history)
  • /trunk/extensions/Arrays/RELEASE-NOTES (modified) (history)

Diff [purge]

Index: trunk/extensions/Arrays/RELEASE-NOTES
@@ -1,11 +1,9 @@
22 Changelog:
33 ==========
44
5 - * (trunk) -- Version 2.0
 5+ * December 4, 2011 -- Version 2.0rc
66 This release is built upon 1.4 alpha. See changes of 1.4 alpha as well.
77 'ArrayExtension' is now simply called 'Arrays'. Therefore you have to adjust your LocalSettings.php.
8 - - '#arrayindex' will only expand options/default when required.
9 - - '#arraymerge', '#arrayunion', '#arraydiff' and '#arrayintersect' can handle multiple arrays now.
108 - Compatibility mode variable '$egArraysCompatibilityMode' ('$egArrayExtensionCompatbilityMode' in
119 Version 1.4 alpha) is set to false by default. See Version 1.4 alpha for further information.
1210 - Additional changes to the compatibility mode behavior in version 2.0 include:
@@ -17,8 +15,10 @@
1816 + '#arrayprint' will no longer expand the given wiki markup twice. Instead, it will escape special
1917 characters of array values before they will be inserted into the markup. This way it won't be
2018 possible anymore that array values can break the functions output. '$egArraysExpansionEscapeTemplates'
21 - defines which special characters should be escaped by which template/parser function
 19+ defines which special characters should be escaped by which template/parser function.
2220 + *** See 1.4 alpha for previous changes ***
 21+ - '#arrayindex' will only expand options/default when required.
 22+ - '#arraymerge', '#arrayunion', '#arraydiff' and '#arrayintersect' can handle multiple arrays now.
2323 - '#arraydefine' option 'print' no longer supports 'print=print' and parameters beyond options.
2424 This functionality never worked reliably anyways. 'print=list' still works.
2525 - '#arrayprint' now has a new parameter for options. Option 'print=pretty' will print a list where
@@ -26,8 +26,8 @@
2727 also can be used as option within '#arraydefine'.
2828 - If 'Regex Fun' extension is installed, '#arraysearcharray' can use Regex Funs 'e' flag feature
2929 for transforming the result and at the same time parsing them after each back-reference inclusion.
30 - - 1.4 alpha bug solved, '#arraysearcharray' with empty string as start index was interpreted as 0
31 - - class 'ArrayExtension' renamed to 'ExtArrays'
 30+ - 1.4 alpha bug solved, '#arraysearcharray' with empty string as start index was interpreted as 0.
 31+ - class 'ArrayExtension' renamed to 'ExtArrays'.
3232
3333
3434 * November 20, 2001 -- Version 1.4 alpha (r103716)
@@ -51,11 +51,6 @@
5252 - arrayprint will handle <includeonly>/<noinclude> correct in case it's used in a template.
5353 - Internationalization for several languages added.
5454 - moved into mediawiki.org svn repository.
55 -
56 - @ToDo before release:
57 - - As in Variables 2.0, one store per Parser should be used.
58 - - ''#arraysearch'' should not expand both, 'yes' and 'no', just the one actual case.
59 - - Further breaking changes fixing weird old behavior and functionality
6055
6156
6257 * January 24, 2011 -- Version 1.3.2
Index: trunk/extensions/Arrays/Arrays.php
@@ -11,7 +11,7 @@
1212 * @ingroup Arrays
1313 *
1414 * @licence MIT License
15 - * @version: 2.0 alpha
 15+ * @version: 2.0rc
1616 *
1717 * @author Li Ding < lidingpku@gmail.com >
1818 * @author Jie Bao
@@ -53,7 +53,7 @@
5454 *
5555 * @since 2.0 (before in 'Arrays' class since 1.3.2)
5656 */
57 - const VERSION = '2.0 alpha';
 57+ const VERSION = '2.0rc';
5858
5959 /**
6060 * Store for arrays.
@@ -1232,7 +1232,7 @@
12331233 /**
12341234 * Escapes a string so it can be used within PPFrame::expand() expansion without actually being
12351235 * changed because of special characters.
1236 - * Respects the configuration variable $egArraysEscapeTemplates.
 1236+ * Respects the configuration variable '$egArraysEscapeTemplates'.
12371237 *
12381238 * @since 2.0
12391239 *
Index: trunk/extensions/Arrays/Arrays_Settings.php
@@ -28,7 +28,7 @@
2929
3030 /**
3131 * Contains a key-value pair list of characters that should be replaced by a template or parser function
32 - * call within array values included into an #arrayprint. By replacing these special characters before
 32+ * call within array values included into an '#arrayprint'. By replacing these special characters before
3333 * including the values into the string which is being expanded afterwards, array values can't distract
3434 * the surounding MW code. Otherwise the array values themselves would be parsed as well.
3535 *
Index: trunk/extensions/Arrays/README
@@ -1,7 +1,7 @@
22 == About ==
33
4 -The 'Arrays' extension (former 'ArrayExtension') Enhances the parser with functions to handle
5 -arrays within wiki markup text.
 4+The 'Arrays' extension (former 'ArrayExtension') Enhances the parser with functions
 5+to handle arrays within wiki markup text.
66
77 * Website: http://www.mediawiki.org/wiki/Extension:Arrays
88 * Authors: Li Ding, Jie Bao, Daniel Werner < danweetz@web.de >
@@ -16,6 +16,10 @@
1717
1818 # Arrays
1919 require_once( "$IP/extensions/Arrays/Arrays.php" );
 20+
 21+Be aware of breaking behavioral changes introduced after version 1.3.2. There is a
 22+new configuration variable '$egArraysCompatibilityMode' for switching back to old
 23+behavior though. For further information see the 'RELEASE-NOTES' file.
2024
2125
2226 == Contributing ==

Follow-up revisions

RevisionCommit summaryAuthorDate
r105131Tag for 'Arrays' 2.0rc1, r105119danwe23:01, 4 December 2011

Status & tagging log