From: jenkins-bot Date: Tue, 6 Feb 2018 22:59:45 +0000 (+0000) Subject: Merge "Hard deprecate UtfNormalUtil" X-Git-Tag: 1.31.0-rc.0~682 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=f85dcf049764f7f725b2f6ef3d318c6f9de62f51;hp=cbd75a54734111cefb2f2ef199257ca96909e341;p=lhc%2Fweb%2Fwiklou.git Merge "Hard deprecate UtfNormalUtil" --- diff --git a/jsduck.json b/jsduck.json index 0021f37676..0a48be334c 100644 --- a/jsduck.json +++ b/jsduck.json @@ -34,6 +34,7 @@ "resources/src/jquery/jquery.spinner.js", "resources/src/jquery/jquery.suggestions.js", "resources/src/jquery/jquery.tabIndex.js", + "resources/src/jquery/jquery.textSelection.js", "resources/lib/jquery.client/jquery.client.js", "resources/lib/oojs/oojs.jquery.js", "resources/lib/oojs-ui/oojs-ui-core.js", diff --git a/languages/messages/MessagesTr.php b/languages/messages/MessagesTr.php index 564da6cccd..565049d838 100644 --- a/languages/messages/MessagesTr.php +++ b/languages/messages/MessagesTr.php @@ -352,5 +352,14 @@ $magicWords = [ 'pagesincategory_files' => [ '0', 'dosyalar', 'files' ], ]; +$dateFormats = [ + 'mdy time' => 'H.i', + 'mdy both' => 'H.i, F j, Y', + 'dmy time' => 'H.i', + 'dmy both' => 'H.i, j F Y', + 'ymd time' => 'H.i', + 'ymd both' => 'H.i, Y F j', +]; + $separatorTransformTable = [ ',' => '.', '.' => ',' ]; $linkTrail = '/^([a-zÇĞçğİıÖöŞşÜüÂâÎîÛû]+)(.*)$/sDu'; diff --git a/resources/src/jquery/jquery.textSelection.js b/resources/src/jquery/jquery.textSelection.js index d22fc4b549..3891d6d0e3 100644 --- a/resources/src/jquery/jquery.textSelection.js +++ b/resources/src/jquery/jquery.textSelection.js @@ -1,7 +1,48 @@ -/** +/*! * These plugins provide extra functionality for interaction with textareas. + * + * - encapsulateSelection: Ported from skins/common/edit.js by Trevor Parscal + * © 2009 Wikimedia Foundation (GPLv2) - http://www.wikimedia.org + * - getCaretPosition, scrollToCaretPosition: Ported from Wikia's LinkSuggest extension + * https://github.com/Wikia/app/blob/c0cd8b763/extensions/wikia/LinkSuggest/js/jquery.wikia.linksuggest.js + * © 2010 Inez Korczyński (korczynski@gmail.com) & Jesús Martínez Novo (martineznovo@gmail.com) (GPLv2) + */ + +/** + * @class jQuery.plugin.textSelection + * + * Do things to the selection in a `