http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97875
Revision: 97875
Author: brion
Date: 2011-09-23 01:00:11 +0000 (Fri, 23 Sep 2011)
Log Message:
-----------
MFT r92752 - remove mw.util.inArray function that got added just before the
1.18 branch point, then removed as redundant.
Don't want people to accidentally use it and have their code break on 1.19. :)
Don't seem to be any usages; only at orig commit time was in
mediawiki.page.ajaxCategories.js which has since been removed.
Modified Paths:
--------------
branches/REL1_18/phase3/resources/mediawiki/mediawiki.util.js
Modified: branches/REL1_18/phase3/resources/mediawiki/mediawiki.util.js
===================================================================
--- branches/REL1_18/phase3/resources/mediawiki/mediawiki.util.js
2011-09-23 00:36:31 UTC (rev 97874)
+++ branches/REL1_18/phase3/resources/mediawiki/mediawiki.util.js
2011-09-23 01:00:11 UTC (rev 97875)
@@ -109,17 +109,6 @@
/* Main body */
/**
- * Wether a value is in an array. Using jQuery's inArray
cross-browser utility,
- * (for browsers without Array indexOf support).
- * @param val {Mixed} Needle
- * @param arr {Array} Haystack
- * @return Boolean
- */
- 'inArray' : function( val, arr ) {
- return $.inArray( val, arr ) !== -1;
- },
-
- /**
* Encode the string like PHP's rawurlencode
*
* @param str string String to be encoded
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs