diff --git a/Makefile b/Makefile index 35ead345b..91aa147fb 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ modules = modules/twinkleconfig.js \ modules/friendlytalkback.js \ modules/friendlywelcome.js -deploy: twinkle.js twinkle.css twinkle-pagestyles.css morebits.js morebits.css select2.min.js select2.min.css $(modules) +deploy: twinkle.js twinkle.css twinkle-pagestyles.css morebits.js morebits.css select2/select2.min.js select2/select2.min.css $(modules) ./sync.pl ${ARGS} --deploy $^ .PHONY: deploy all diff --git a/select2/select2-LICENSE.md b/select2/select2-LICENSE.md new file mode 100644 index 000000000..8cb8a2b12 --- /dev/null +++ b/select2/select2-LICENSE.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2012-2017 Kevin Brown, Igor Vaynberg, and Select2 contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/select2.min.css b/select2/select2.min.css similarity index 100% rename from select2.min.css rename to select2/select2.min.css diff --git a/select2.min.js b/select2/select2.min.js similarity index 100% rename from select2.min.js rename to select2/select2.min.js diff --git a/sync.pl b/sync.pl index 914ea9c5a..a57028fd4 100755 --- a/sync.pl +++ b/sync.pl @@ -324,8 +324,8 @@ sub saltNPepa { twinkle-pagestyles.css MediaWiki:Gadget-Twinkle-pagestyles.css morebits.js MediaWiki:Gadget-morebits.js morebits.css MediaWiki:Gadget-morebits.css - select2.min.js MediaWiki:Gadget-select2.min.js - select2.min.css MediaWiki:Gadget-select2.min.css + select2/select2.min.js MediaWiki:Gadget-select2.min.js + select2/select2.min.css MediaWiki:Gadget-select2.min.css modules/twinklearv.js MediaWiki:Gadget-twinklearv.js modules/twinklebatchdelete.js MediaWiki:Gadget-twinklebatchdelete.js modules/twinklebatchprotect.js MediaWiki:Gadget-twinklebatchprotect.js