Index: trunk/extensions/Arrays/RELEASE-NOTES |
— | — | @@ -1,11 +1,9 @@ |
2 | 2 | Changelog: |
3 | 3 | ========== |
4 | 4 | |
5 | | - * (trunk) -- Version 2.0 |
| 5 | + * December 4, 2011 -- Version 2.0rc |
6 | 6 | This release is built upon 1.4 alpha. See changes of 1.4 alpha as well. |
7 | 7 | '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. |
10 | 8 | - Compatibility mode variable '$egArraysCompatibilityMode' ('$egArrayExtensionCompatbilityMode' in |
11 | 9 | Version 1.4 alpha) is set to false by default. See Version 1.4 alpha for further information. |
12 | 10 | - Additional changes to the compatibility mode behavior in version 2.0 include: |
— | — | @@ -17,8 +15,10 @@ |
18 | 16 | + '#arrayprint' will no longer expand the given wiki markup twice. Instead, it will escape special |
19 | 17 | characters of array values before they will be inserted into the markup. This way it won't be |
20 | 18 | 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. |
22 | 20 | + *** 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. |
23 | 23 | - '#arraydefine' option 'print' no longer supports 'print=print' and parameters beyond options. |
24 | 24 | This functionality never worked reliably anyways. 'print=list' still works. |
25 | 25 | - '#arrayprint' now has a new parameter for options. Option 'print=pretty' will print a list where |
— | — | @@ -26,8 +26,8 @@ |
27 | 27 | also can be used as option within '#arraydefine'. |
28 | 28 | - If 'Regex Fun' extension is installed, '#arraysearcharray' can use Regex Funs 'e' flag feature |
29 | 29 | 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'. |
32 | 32 | |
33 | 33 | |
34 | 34 | * November 20, 2001 -- Version 1.4 alpha (r103716) |
— | — | @@ -51,11 +51,6 @@ |
52 | 52 | - arrayprint will handle <includeonly>/<noinclude> correct in case it's used in a template. |
53 | 53 | - Internationalization for several languages added. |
54 | 54 | - 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 |
60 | 55 | |
61 | 56 | |
62 | 57 | * January 24, 2011 -- Version 1.3.2 |
Index: trunk/extensions/Arrays/Arrays.php |
— | — | @@ -11,7 +11,7 @@ |
12 | 12 | * @ingroup Arrays |
13 | 13 | * |
14 | 14 | * @licence MIT License |
15 | | - * @version: 2.0 alpha |
| 15 | + * @version: 2.0rc |
16 | 16 | * |
17 | 17 | * @author Li Ding < lidingpku@gmail.com > |
18 | 18 | * @author Jie Bao |
— | — | @@ -53,7 +53,7 @@ |
54 | 54 | * |
55 | 55 | * @since 2.0 (before in 'Arrays' class since 1.3.2) |
56 | 56 | */ |
57 | | - const VERSION = '2.0 alpha'; |
| 57 | + const VERSION = '2.0rc'; |
58 | 58 | |
59 | 59 | /** |
60 | 60 | * Store for arrays. |
— | — | @@ -1232,7 +1232,7 @@ |
1233 | 1233 | /** |
1234 | 1234 | * Escapes a string so it can be used within PPFrame::expand() expansion without actually being |
1235 | 1235 | * changed because of special characters. |
1236 | | - * Respects the configuration variable $egArraysEscapeTemplates. |
| 1236 | + * Respects the configuration variable '$egArraysEscapeTemplates'. |
1237 | 1237 | * |
1238 | 1238 | * @since 2.0 |
1239 | 1239 | * |
Index: trunk/extensions/Arrays/Arrays_Settings.php |
— | — | @@ -28,7 +28,7 @@ |
29 | 29 | |
30 | 30 | /** |
31 | 31 | * 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 |
33 | 33 | * including the values into the string which is being expanded afterwards, array values can't distract |
34 | 34 | * the surounding MW code. Otherwise the array values themselves would be parsed as well. |
35 | 35 | * |
Index: trunk/extensions/Arrays/README |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | == About == |
3 | 3 | |
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. |
6 | 6 | |
7 | 7 | * Website: http://www.mediawiki.org/wiki/Extension:Arrays |
8 | 8 | * Authors: Li Ding, Jie Bao, Daniel Werner < danweetz@web.de > |
— | — | @@ -16,6 +16,10 @@ |
17 | 17 | |
18 | 18 | # Arrays |
19 | 19 | 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. |
20 | 24 | |
21 | 25 | |
22 | 26 | == Contributing == |