Extension:ArrayFunctions/Version history
Appearance
All notable changes to ArrayFunctions will be documented here.
The format is based on Keep a Changelog, and this extension adheres to Semantic Versioning.
Changelog
[edit]Added
[edit]- Add
delimiter
option to the#af_foreach
parser function.
Changed
[edit]- All string parameters now support escape sequences.
Changed
[edit]- Whitespace is now trimmed from the beginning and the end of array values to be consistent with the behaviour of other parameters in MediaWiki.
- Localisation updates courtesy of translatewiki.net.
Added
[edit]- Add the
#af_ksort
parser function. - Add
caseinsensitive
option to the#af_keysort
parser function. - Add
caseinsensitive
option to the#af_sort
parser function.
Changed
[edit]- Localisation updates courtesy of translatewiki.net.
Added
[edit]- Add the
#af_stringmap
parser function. - Add the
mw.af.import
Lua function to import ArrayFunctions arrays into Lua.
Changed
[edit]- Localisation updates courtesy of translatewiki.net.
Added
[edit]- Add the
#af_difference
parser function.
Changed
[edit]- Localisation updates courtesy of translatewiki.net.
Changed
[edit]- Localisation updates courtesy of translatewiki.net.
Fixed
[edit]- Fix
#af_template
parser function to no longer check a user their read permissions explicitly, as regular template transclusion also does not do this. Previously, an error would be outputted.
Changed
[edit]- Exporting a
NULL
value (e.g. through themw.af.export
Lua function) will now result in the empty string. Previously, theNULL
would be returned unaltered.
Changed
[edit]- The
#af_template
parser function now shows non-existent templates as a broken link. Previously, an error would be outputted. - Localisation updates courtesy of translatewiki.net.
Changed
[edit]- The
#af_split
parser function now allows the empty string as its first parameter. Previously, an error would be outputted. - Localisation updates courtesy of translatewiki.net.
Added
[edit]- Add the
#af_show
parser function.
Added
[edit]- Add the
#af_search
parser function.
Added
[edit]- Add the
#af_intersect
parser function. - Add the
#af_merge
parser function. - Add the
#af_reduce
parser function.
Added
[edit]- Add the
#af_split
parser function.
Changed
[edit]- The
mw.af.export
Lua function now supports parameters of all types. Previously, it only supported arrays.
Fixed
[edit]- Fix issue where an exception was thrown when a parameter with an incorrect type was passed to
mw.af.export
.
Added
[edit]- Add the
#af_bool
parser function. - Add the
#af_count
parser function. - Add the
#af_exists
parser function. - Add the
#af_float
parser function. - Add the
#af_foreach
parser function. - Add the
#af_get
parser function. - Add the
#af_if
parser function. - Add the
#af_int
parser function. - Add the
#af_isarray
parser function. - Add the
#af_join
parser function. - Add the
#af_keysort
parser function. - Add the
#af_list
parser function. - Add the
#af_map
parser function. - Add the
#af_object
parser function. - Add the
#af_print
parser function. - Add the
#af_push
parser function. - Add the
#af_set
parser function. - Add the
#af_slice
parser function. - Add the
#af_sort
parser function. - Add the
#af_template
parser function. - Add the
#af_unique
parser function. - Add the
#af_unset
parser function.