https://www.mediawiki.org/wiki/Special:Code/MediaWiki/103381
Revision: 103381
Author: danwe
Date: 2011-11-16 20:59:38 +0000 (Wed, 16 Nov 2011)
Log Message:
-----------
Version increased to 1.4 since next update will be more significant. INSTALL
file removed and replaced with more user-friendly introductions in README file.
More developer specific info can be found on mediawiki.org anyway
Modified Paths:
--------------
trunk/extensions/ArrayExtension/ArrayExtension.php
trunk/extensions/ArrayExtension/README
trunk/extensions/ArrayExtension/RELEASE-NOTES
Removed Paths:
-------------
trunk/extensions/ArrayExtension/INSTALL
Modified: trunk/extensions/ArrayExtension/ArrayExtension.php
===================================================================
--- trunk/extensions/ArrayExtension/ArrayExtension.php 2011-11-16 20:54:40 UTC
(rev 103380)
+++ trunk/extensions/ArrayExtension/ArrayExtension.php 2011-11-16 20:59:38 UTC
(rev 103381)
@@ -70,7 +70,7 @@
*
* @since 1.3.2
*/
- const VERSION = '1.3.4 alpha';
+ const VERSION = '1.4 alpha';
/**
* Store for arrays.
Deleted: trunk/extensions/ArrayExtension/INSTALL
===================================================================
--- trunk/extensions/ArrayExtension/INSTALL 2011-11-16 20:54:40 UTC (rev
103380)
+++ trunk/extensions/ArrayExtension/INSTALL 2011-11-16 20:59:38 UTC (rev
103381)
@@ -1,28 +0,0 @@
-This is the install file for the 'ArrayExtension' extension.
-
-Extension page on mediawiki.org:
http://www.mediawiki.org/wiki/Extension:ArrayExtension
-Latest version of this install file:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ArrayExtension/INSTALL?view=co
-
-
-== Download ==
-
-You can download a snapshot of 'ArrayExtension' via the Wikimedia extension
distributor at
-https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:ExtensionDistributor/ArrayExtension
-
-You can also get the code directly from SVN. Tags can be obtained via
-
- svn checkout
<nowiki>http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/ArrayExtension/REL_version</nowiki>
-
-Where 'version' is the version number of the tag, such as 0_1 (see the
[http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/ArrayExtension/
available tags]).
-The latest code can be obtained from trunk:
-
- svn checkout
<nowiki>http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ArrayExtension/</nowiki>
-
-
-== Installation ==
-
-Once you have downloaded the code, place the 'ArrayExtension' directory within
your
-MediaWiki 'extensions' directory. Then add the following code to your
[[Manual:LocalSettings.php|LocalSettings.php]] file:
-
- # ArrayExtension
- require_once( "$IP/extensions/ArrayExtension/ArrayExtension.php" );
Modified: trunk/extensions/ArrayExtension/README
===================================================================
--- trunk/extensions/ArrayExtension/README 2011-11-16 20:54:40 UTC (rev
103380)
+++ trunk/extensions/ArrayExtension/README 2011-11-16 20:59:38 UTC (rev
103381)
@@ -0,0 +1,26 @@
+== About ==
+
+The 'Arrays' extension Enhances the parser with functions to handle arrays
within
+wiki markup text.
+
+* Website: http://www.mediawiki.org/wiki/Extension:Arrays
+* Authors: Li Ding, Jie Bao, Daniel Werner < [email protected] >
+* License: MIT license
+
+
+== Installation ==
+
+Once you have downloaded the code, place the 'Array' directory within your
+MediaWiki 'extensions' directory. Then add the following code to your
+[[Manual:LocalSettings.php|LocalSettings.php]] file:
+
+ # Arrays
+ require_once( "$IP/extensions/ArrayExtension/ArrayExtension.php" );
+
+
+== Contributing ==
+
+If you have bug reports or feature requests, please add them to the 'Arrays'
+Talk page [0]. You can also send them to Daniel Werner < [email protected] >
+
+[0] http://www.mediawiki.org/w/index.php?title=Extension_talk:Arrays
Modified: trunk/extensions/ArrayExtension/RELEASE-NOTES
===================================================================
--- trunk/extensions/ArrayExtension/RELEASE-NOTES 2011-11-16 20:54:40 UTC
(rev 103380)
+++ trunk/extensions/ArrayExtension/RELEASE-NOTES 2011-11-16 20:59:38 UTC
(rev 103381)
@@ -1,9 +1,14 @@
Changelog:
==========
- * (trunk) version 1.3.4
+ * (trunk) version 1.4
- arrayprint will handle <includeonly>/<noinclude> correct in case its
used in a template.
- - moved into mediawiki.org SVN
-
+ - Internationalization in several languages added.
+ - moved into mediawiki.org svn repository.
+ @ToDo before release:
+ - As in Variables 2.0, one store per Parser should be used.
+ - ''#arraysearch'' should not expand both, 'yes' and 'no', just the one
actual case.
+
+
* January 24, 2011 version 1.3.2
- New public class methods for creating and removing arrays. Good for use
by other extensions.
- VERSION constant added to ArrayExtension class
@@ -12,11 +17,11 @@
* July 5, 2010 version 1.3
- update arrayunion and arraydiff, fixed heavy bug (gaps between array
indexes doing some serious trouble in other arrayfunctions like arraysearch)
- - array function #arraysearcharray added
- - #arraysearch code cleanup, search parameter is optional now,
searching for empty elements is possible now
- - advanced check for regular expressions in #arraysearch, #arraydefine
and #arraysearcharray
+ - array function ''#arraysearcharray'' added
+ - '#arraysearch' code cleanup, search parameter is optional now,
searching for empty elements is possible now
+ - advanced check for regular expressions in '#arraysearch,'
'#arraydefine' and '#arraysearcharray'
Pivate function isValidRegEx() added
- - #arraymerge bug fixed: Php message in case of non existant seccond
array
+ - '#arraymerge' bug fixed: Php message in case of non existant seccond
array
- now using preg_quote in arraydefine when using a non regular
expression delimiter
- some minor code changes and cleanup
@@ -43,30 +48,30 @@
* April 18, 2009 version 1.1.6
- fixed a bug in arraymerge and arrayslice,
* Mar 17, 2009 version 1.1.5
- - update #arraysort, add "reverse" option,
http://us3.php.net/manual/en/function.array-reverse.php
- - update #arrayreset, add option to reset a selection of arrays
+ - update '#arraysort,' add "reverse" option,
http://us3.php.net/manual/en/function.array-reverse.php
+ - update '#arrayreset,' add option to reset a selection of arrays
* Feb 23, 2009 version 1.1.4
- - fixed #arraysearch, better recognize perl patterns identified by starting
with "/", http://www.perl.com/doc/manual/html/pod/perlre.html
+ - fixed '#arraysearch,' better recognize perl patterns identified by
starting with "/", http://www.perl.com/doc/manual/html/pod/perlre.html
* Feb 23, 2009 version 1.1.3
- - fixed #arraysearch, "Warning: Missing argument 4..."
+ - fixed '#arraysearch,' "Warning: Missing argument 4..."
* Feb 9, 2009 version 1.1.2
- - update #arraysearch, now support offset and preg regular expression
+ - update '#arraysearch,' now support offset and preg regular expression
* Feb 8, 2009 version 1.1.1
- - update #arrayprint, now wiki links, parser functions and templates
properly parsed. This enables foreach loop call.
- - update #arraysearch, now allows customized output upon found/non-found
by specifying additional parameters
+ - update '#arrayprint,' now wiki links, parser functions and templates
properly parsed. This enables foreach loop call.
+ - update '#arraysearch,' now allows customized output upon found/non-found
by specifying additional parameters
* Feb 5, 2009 version 1.1
- - update #arraydefine: replacing 'explode' by 'preg_split',
+ - update '#arraydefine:' replacing 'explode' by 'preg_split',
and we now allow delimitors to be (i) a string; or (ii) a perl
regular expressnion pattern, sourrounded by '/', e.g. '/..blah.../'
- - update #arrayprint, change parameters from "prefix","suffix" to a
"template",
+ - update '#arrayprint,' change parameters from "prefix","suffix" to a
"template",
and users can replace a substring in the template with array value,
similar to arraymap in semantic forms
- - update #arrayunique, empty elements will be removed
- - update #arraysort: adding "random" option to make the array of values in
random order
- - add #arrayreset to free all defined arrays for memory saving
- - add #arrayslice to return an array bounded by start_index and length.
- - add #arraysearch. now we can return the index of the first occurence of
an element, return -1 if not found
- - remove #arraymember, obsoleted by #arraysearch
- - remove #arraypush, obsoleted by #arraydefine and #arraymerge
- - remove #arraypop, obsoleted by #arrayslice
+ - update '#arrayunique,' empty elements will be removed
+ - update '#arraysort:' adding "random" option to make the array of values
in random order
+ - add '#arrayreset' to free all defined arrays for memory saving
+ - add '#arrayslice' to return an array bounded by start_index and length.
+ - add '#arraysearch.' now we can return the index of the first occurence
of an element, return -1 if not found
+ - remove '#arraymember,' obsoleted by '#arraysearch'
+ - remove '#arraypush,' obsoleted by '#arraydefine' and '#arraymerge'
+ - remove '#arraypop,' obsoleted by '#arrayslice'
- add safty check code to avoid unset parameters
* Feb 1, 2009 version 1.0.3
@@ -80,7 +85,7 @@
-------------------------------------------
the following fuctions are obsoleted
- #arraypush (replaced by arraymerge)
- #arraypop (replaced by arrayslice)
- #arraymember (replaced by arraysearch)
+ '#arraypush' (replaced by arraymerge)
+ '#arraypop' (replaced by arrayslice)
+ '#arraymember' (replaced by arraysearch)
-------------------------------------------
\ No newline at end of file
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs