forked from wikimedia/mediawiki-extensions-Variables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RELEASE-NOTES
136 lines (105 loc) · 5.96 KB
/
RELEASE-NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
=== git era Changelog ===
Please note that the git era changelog isn't complete regarding internal adjustments.
Only things that are major architecture change or might break compatibility with MediaWiki
versions and other extensions is collected here.
; 2019-07-11: v2.5.2, by MGChecker
* Removal of PHP entry point, use wfLoadExtension( 'Variables' ) instead
; 2019-03-09: v2.5.1, by MGChecker
* Moving hook functions to separate VariablesHooks class (T202412)
* Moving code files into includes/ directory
* Renaming files to match class name
; 2018-08-30: v2.5.0, by MGChecker
* Fix '#varexists' parsing (T202679)
** if and else value are no longer expanded if not needed, thus variable definitions can be
done conditionally and making the parser faster
; 2018-08-24: v2.4.1, by MGChecker
* Class attributes of ExtVariables changed to private, as it has been annotated before.
; 2018-04-20: v2.4.0, by MGChecker
* Fix longstanding template caching issues (T191574)
** Template caching could mess up definition of Variables depending on other Variables in
templates, if they are called multiple times. This won't happen anymore, as the parser
frame is marked as volatile by the extension.
** This new behavior can be deactivated by setting '$egVariablesAreVolatile' to false,
however be aware that this is a temporary option for transition and will be removed in
the future.
; 2018-01-23: v2.3.0 by MGChecker
* Conversion to Extension registration (T173625)
* ExtVariables::VERSION is deprecated, use Extension registration instead [1]
* Drop support for MediaWiki before 1.29
* Remove Variables.settings.php file, as supersed by Extension registration
; 2017-09-25: (trunk) by Leonid Verhovskij
* Add composer.json for easy autoloading of required librariers and the extension itself
; 2017-07-27: v2.2.0 by Karsten Hoffmeyer
* Removal of backwards compatibility code for old MediaWiki versions
** Removal of i18n compatibility shim
** Removal of InternalParseBeforeLinks hook
; 2016-03-07: (trunk) by Antoine Musso
* Removal of the unique marker passed to StripState
* Drop support support for MediaWiki before 1.26
; 2014-04-01: v2.1.0 by Siebrand Mazeland
* Migration from PHP i18n to JSON i18n
* Addition of PHP i18n compatibility shim
; 2012-06-24: v2.0.1 by Daniel Werner
* Using 'InternalParseBeforeSanitize' hook instead of 'InternalParseBeforeLinks' for MW 1.20
* Put into gerrit.wikimedia.org git repository.
=== svn era Changelog ===
; 2010-11-16: v2.0 by Daniel Werner
* Version 2.0 almost is a complete rewrite of the extension, just the idea remains the
same. It's the attempt to get rid of several bugs caused by the fact that MediaWiki
is using several Parser objects. Therefore in v2 each Parser has its own Variables
store, so nothing will get mixed up anymore. Full compatibility is given, except perhaps
in cases where bugs were used intentionally.
** New features and bugfixes:
*** Inclusion of special pages in the middle of the page won't reset all defined
variables anymore.
*** Variables should now be compatible with all other extensions, except for those still
using Parser::parse() recursively in any way (which should never be done!).
*** For MW 1.12 and later, '#var' default value no longer gets expanded when not needed.
*** Experimental new function '#var_final' which allows to insert the variables final
(last) value after page processing is almost through.
*** Global configuration variable '$egVariablesDisabledFunctions' added.
** Internal changes:
*** Parser class member $mExtVariables now contains an instance of ExtVariables where
only variables for that parser are getting stored. They won't be deleted by other
Parser actions anymore (e.g. special page inclusion doesn't reset variables anymore)
*** ExtVariables class now has public functions which should be used by other extensions
for getting and setting variables information.
*** Removed global '$wgExtVariables' variable.
*** 'Variables_Settings.php' file for configuration settings added.
** Others:
*** Put under 'ISC License' (public domain before).
*** In case you are using Extension:Loops, you should update it as well to remain compatibility.
; 2011-11-14: v1.3.1.1 (re-pack of 1.3.1 tagged version for svn)
* Although 1.4 is released already and 2.0 in the trunk, ensure one last version
compatible with MW < 1.12 still is available
* Some comments cleaned, 'RELEASE-NOTES' and 'README' files added.
; 2011-11-13: v1.4 by Daniel Werner
* Cleanup for use with more current MW versions:
** 'ParserFirstCallInit' hook in use and no more global extension functions.
** State of the Art internationalization files added.
* Dropped support for MW before 1.12
* 'ExtVariables::VARIABLES' constant with version info added.
* Put into mediawiki.org svn, 'RELEASE-NOTES' and 'README' files added.
=== Pre svn Changelog ===
The following pre-svn changelog was composed by Daniel Werner in the hope it might
give an almost complete overview of all major releases of 'Variables' extension.
All changes can still be retrace at [2]
; 2010-07-20: v1.3 by Daniel Werner
* Removed critical bug. Some kind of "Superglobal" variables. In some cases values
were passed from one page to another page during page imports and job queue jobs.
; 2009-03-28: v1.2 by Daniel Werner
* '#varexists' function introduced
* parameter for default value for '#var' function in case the variable doesn't exist
or its value is just an empty string.
; 2008-12-05: v1.1 by user 'Xiloynaha'
* '#vardefineecho' function introduced
; 2007-06-24: r3 by unknown contributor
* Language file added
; 2006-10-11: r2 by Tom Hempel
* Fixes for MediaWiki 1.8 compatibility
* '$wgExtensionCredits' and '$wgHooks' being used.
; 2006-10-11: r1 by Rob Adams
* First version of 'Variables', introducing '#vardefine' and '#var'
=== References ===
[1] https://www.mediawiki.org/wiki/Manual:Extension_registration#Check,_if_an_extension_is_loaded_without_actually_requiring_it
[2] https://www.mediawiki.org/w/index.php?title=Extension:VariablesExtension&action=history