From: jenkins-bot Date: Sun, 29 Sep 2019 21:16:23 +0000 (+0000) Subject: Merge "Added option to specify "Various authors" as author in extension credits using... X-Git-Tag: 1.34.0-rc.0~53 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=df59a5cbabea50191168303c5f0ea3600aab49b4;hp=-c Merge "Added option to specify "Various authors" as author in extension credits using "..." as the _only_ author name" --- df59a5cbabea50191168303c5f0ea3600aab49b4 diff --combined RELEASE-NOTES-1.34 index 0d6f1e11bd,2e075ec20a..48fcbafb97 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@@ -126,9 -126,6 +126,9 @@@ $wgPasswordPolicy['policies']['default' * (T222388) API modules can now be specified as an ObjectFactory spec, allowing the construction of modules that require services to be injected in their constructor. +* (T117736) The function signature of SpecialContributions::getForm::filters + has changed. It now expects definitions of additional filter fields as array + rather than string. === External library changes in 1.34 === @@@ -144,13 -141,12 +144,13 @@@ * Updated mediawiki/codesniffer from 25.0.0 to 26.0.0 (dev-only). * Updated cssjanus/cssjanus from 1.2.1 to 1.3.0. * Updated wikimedia/at-ease from 1.2.0 to 2.0.0. -* Updated wikimedia/remex-html from 2.0.1 to 2.0.3. +* Updated wikimedia/remex-html from 2.0.1 to 2.1.0. * Updated monolog/monolog from 1.22.1 to 1.24.0 (dev-only). * Updated wikimedia/object-factory from 1.0.0 to 2.1.0. * Updated wikimedia/timestamp from 2.2.0 to 3.0.0. * Updated wikimedia/xmp-reader from 0.6.2 to 0.6.3. * Updated mediawiki/mediawiki-phan-config from 0.6.0 to 0.6.1 (dev-only). +* Updated wikimedia/avro from 1.8.0 to 1.9.0 (dev-only). * … ==== Removed external libraries ==== @@@ -168,21 -164,6 +168,21 @@@ deprecated in 1.25, has been removed. * (T60993) action=query list=filearchive, list=alldeletedrevisions and prop=deletedrevisions no longer require the 'deletedhistory' user right. +* In the response to queries that use 'prop=imageinfo', entries for + non-existing files (indicated by the 'filemissing' field) now omit the + following fields, since they are meaningless in this context: + 'timestamp', 'userhidden', 'user', 'userid', 'anon', 'size', 'width', + 'height', 'pagecount', 'duration', 'commenthidden', 'parsedcomment', + 'comment', 'thumburl', 'thumbwidth', 'thumbheight', 'thumbmime', + 'thumberror', 'url', 'sha1', 'metadata', 'extmetadata', 'commonmetadata', + 'mime', 'mediadtype', 'bitdepth'. + Clients that process these fields should first check if 'filemissing' is + set. Fields that are supported even if the file is missing include: + 'canonicaltitle', ''archivename' (deleted files only), 'descriptionurl', + 'descriptionshorturl'. +* The 'blockexpiry' result property in list=users and list=allusers will now be + returned in the same format used by the rest of the API: ISO 8601 for + expiring blocks, and "infinite" for non-expiring blocks. === Action API internal changes in 1.34 === * The exception thrown in ApiModuleManager::getModule has been changed @@@ -190,7 -171,7 +190,7 @@@ ApiModuleManager::getModule now also throws InvalidArgumentExceptions when ObjectFactory is presented with an invalid spec or incorrectly constructed objects. -* … +* Added ApiQueryBlockInfoTrait. === Languages updated in 1.34 === MediaWiki supports over 350 languages. Many localisations are updated regularly. @@@ -322,10 -303,6 +322,10 @@@ because of Phabricator reports * mw.language.specialCharacters, deprecated in 1.33, has been removed. Use require( 'mediawiki.language.specialCharacters' ) instead. * The jquery.colorUtil module was removed. Use jquery.color instead. +* The jquery.checkboxShiftClick module was removed. The functionality + is provided by mediawiki.page.ready instead (T232688). +* The 'jquery.accessKeyLabel' module has been removed. This jQuery + plugin now ships as part of the 'mediawiki.util' module bundle. * EditPage::submit(), deprecated in 1.29, has been removed. Use $this->edit() directly. * HTMLForm::getErrors(), deprecated in 1.28, has been removed. Use @@@ -510,6 -487,8 +510,6 @@@ * ResourceLoaderContext::getConfig and ResourceLoaderContext::getLogger have been deprecated. Inside ResourceLoaderModule subclasses, use the local methods instead. Elsewhere, use the methods from the ResourceLoader class. -* The 'jquery.accessKeyLabel' module has been deprecated. This jQuery - plugin is now ships as part of the 'mediawiki.util' module bundle. * The Profiler::setTemplated and Profiler::getTemplated methods have been deprecated. Use Profiler::setAllowOutput and Profiler::getAllowOutput instead. @@@ -576,8 -555,6 +576,8 @@@ * Specifying a SpecialPage object for the list of special pages (either through the SpecialPage_initList hook or by adding to $wgSpecialPages) is now deprecated. +* WebInstaller::getInfoBox(), getWarningBox() and getErrorBox() are deprecated. + Use Html::errorBox() or Html::warningBox() instead. * Use of ActorMigration with 'ar_user', 'img_user', 'oi_user', 'fa_user', 'rc_user', 'log_user', and 'ipb_by' is deprecated. Queries should be adjusted to use the corresponding actor fields directly. Note that use with @@@ -593,18 -570,17 +593,22 @@@ * StreamFile::send404Message() and StreamFile::parseRange() are now deprecated. Use HTTPFileStreamer::send404Message() and HTTPFileStreamer::parseRange() respectively instead. +* Global variable $wgSysopEmailBans is deprecated; to allow sysops to ban + users from sending emails, use + $wgGroupPermissions['sysop']['blockemail'] = true; +* ApiQueryBase::showHiddenUsersAddBlockInfo() is deprecated. Use + ApiQueryBlockInfoTrait instead. === Other changes in 1.34 === + * Added option to specify "Various authors" as author in extension credits using + "..." as the only author name. If the "author" array contains more than one + entry and "..." is one of the entries in the array, "..." will be parsed as + "others" (version-poweredby-others i18n message) like previously. * … == Compatibility == -MediaWiki 1.34 requires PHP 7.0.13 or later. Although HHVM 3.18.5 or later is -supported, it is generally advised to use PHP 7.0.13 or later for long term +MediaWiki 1.34 requires PHP 7.2.0 or later. Although HHVM 3.18.5 or later is +supported, it is generally advised to use PHP 7.2.0 or later for long term support. It also requires the following PHP extensions: * ctype diff --combined languages/i18n/en.json index 8092bf6b3d,d34a3e8fac..54f55674ac --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@@ -353,7 -353,6 +353,7 @@@ "perfcached": "The following data is cached and may not be up to date. A maximum of {{PLURAL:$1|one result is|$1 results are}} available in the cache.", "perfcachedts": "The following data is cached, and was last updated $1. A maximum of {{PLURAL:$4|one result is|$4 results are}} available in the cache.", "querypage-no-updates": "Updates for this page are currently disabled.\nData here will not presently be refreshed.", + "querypage-updates-periodical": "Updates for this page are run periodically.", "viewsource": "View source", "viewsource-title": "View source for $1", "actionthrottled": "Action throttled", @@@ -443,7 -442,7 +443,7 @@@ "createaccountmail": "Use a temporary random password and send it to the specified email address", "createaccountmail-help": "Can be used to create account for another person without learning the password.", "createacct-realname": "Real name (optional)", - "createacct-reason": "Reason", + "createacct-reason": "Reason (publicly logged)", "createacct-reason-ph": "Why you are creating another account", "createacct-reason-help": "Message shown in the account creation log", "createacct-imgcaptcha-help": "", @@@ -629,7 -628,25 +629,7 @@@ "resettokens-watchlist-token": "Token for the web feed (Atom/RSS) of [[Special:Watchlist|changes to pages on your watchlist]]", "resettokens-done": "Tokens reset.", "resettokens-resetbutton": "Reset selected tokens", - "bold_sample": "Bold text", - "bold_tip": "Bold text", - "italic_sample": "Italic text", - "italic_tip": "Italic text", - "link_sample": "Link title", - "link_tip": "Internal link", - "extlink_sample": "http://www.example.com link title", - "extlink_tip": "External link (remember http:// prefix)", - "headline_sample": "Headline text", - "headline_tip": "Level 2 headline", - "nowiki_sample": "Insert non-formatted text here", - "nowiki_tip": "Ignore wiki formatting", - "image_sample": "Example.jpg", - "image_tip": "Embedded file", - "media_sample": "Example.ogg", - "media_tip": "File link", "sig-text": "--$1", - "sig_tip": "Your signature with timestamp", - "hr_tip": "Horizontal line (use sparingly)", "summary": "Summary:", "subject": "Subject:", "minoredit": "This is a minor edit", @@@ -1876,7 -1893,6 +1876,7 @@@ "listfiles-userdoesnotexist": "User account \"$1\" is not registered.", "imgfile": "file", "listfiles": "File list", + "listfiles_subpage": "Uploads by $1", "listfiles_thumb": "Thumbnail", "listfiles_date": "Date", "listfiles_name": "Name", @@@ -3564,6 -3580,7 +3564,7 @@@ "version-poweredby-credits": "This wiki is powered by [https://www.mediawiki.org/ MediaWiki], copyright © 2001-$1 $2.", "version-poweredby-others": "others", "version-poweredby-translators": "translatewiki.net translators", + "version-poweredby-various": "Various authors", "version-credits-summary": "We would like to recognize the following persons for their contribution to [[Special:Version|MediaWiki]].", "version-license-info": "MediaWiki is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\n\nMediaWiki is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received [{{SERVER}}{{SCRIPTPATH}}/COPYING a copy of the GNU General Public License] along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA or [//www.gnu.org/licenses/old-licenses/gpl-2.0.html read it online].", "version-software": "Installed software", @@@ -4246,8 -4263,5 +4247,8 @@@ "mycustomjsredirectprotected": "You do not have permission to edit this JavaScript page because it is a redirect and it does not point inside your userspace.", "easydeflate-invaliddeflate": "Content provided is not properly deflated", "unprotected-js": "For security reasons JavaScript cannot be loaded from unprotected pages. Please only create javascript in the MediaWiki: namespace or as a User subpage", - "userlogout-continue": "Do you want to log out?" + "userlogout-continue": "Do you want to log out?", + "rest-prefix-mismatch": "The requested path ($1) was not inside the REST API root path ($2)", + "rest-wrong-method": "The request method ($1) was not {{PLURAL:$3|the allowed method for this path|one of the allowed methods for this path}} ($2)", + "rest-no-match": "The requested relative path ($1) did not match any known handler" } diff --combined languages/i18n/qqq.json index 6b141f909e,c0d4d81da9..81d9a8d757 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@@ -563,7 -563,6 +563,7 @@@ "perfcached": "Like {{msg-mw|perfcachedts}} but used when we do not know how long ago page was cached (unlikely to happen).\n\nParameters:\n* $1 - the max result cut off ($wgQueryCacheLimit)", "perfcachedts": "Used on pages that list page lists for which the displayed data is cached. Parameters:\n* $1 - a time stamp (date and time combined)\n* $2 - a date (optional)\n* $3 - a time (optional)\n* $4 - the cut off limit for cached results ($wgQueryCacheLimit). If there are more then this many results for the query, only the first $4 of those will be listed on the page. Usually $4 is about 1000.", "querypage-no-updates": "Text on some special pages, e.g. [[Special:FewestRevisions]].", + "querypage-updates-periodical": "Text on some special pages which are configurated with a periodical run of a maintenance script.\n\nSee also {{msg-mw|querypage-no-updates}}.", "viewsource": "The text displayed in place of the {{msg-mw|Edit}} tab when the user has no permission to edit the page.\n\nSee also:\n* {{msg-mw|Viewsource}}\n* {{msg-mw|Accesskey-ca-viewsource}}\n* {{msg-mw|Tooltip-ca-viewsource}}\n{{Identical|View source}}", "viewsource-title": "Page title shown when trying to edit a protected page. Parameters:\n* $1 - the name of the page", "actionthrottled": "This is the title of an error page. Read it in combination with {{msg-mw|actionthrottledtext}}.", @@@ -839,7 -838,25 +839,7 @@@ "resettokens-watchlist-token": "Label for watchlist token checkbox on [[Special:ResetTokens]] (see {{msg-mw|prefs-watchlist-token}} at [[Special:Preferences#mw-prefsection-watchlist]]).", "resettokens-done": "Message shown on [[Special:ResetTokens]] after the tokens have been reset successfully.", "resettokens-resetbutton": "Form submit button on [[Special:ResetTokens]].", - "bold_sample": "This is the sample text that you get when you press the first button on the left on the edit toolbar.\n\n{{Identical|Bold text}}", - "bold_tip": "This is the text that appears when you hover the mouse over the first button on the left of the edit toolbar.\n\n{{Identical|Bold text}}", - "italic_sample": "The sample text that you get when you press the second button from the left on the edit toolbar.\n\n{{Identical|Italic text}}", - "italic_tip": "This is the tooltip that appears when the user points to the \"Italic\" button in the edit toolbar.\n\n{{Identical|Italic text}}", - "link_sample": "This is the default text in the internal link that is created when you press the third button from the left on the edit toolbar (the \"Ab\" icon).", - "link_tip": "Tip for internal links.\n{{Identical|Internal link}}", - "extlink_sample": "This message appears when clicking on the fourth button of the edit toolbar. You can translate \"link title\". Because many of the localisations had urls that went to domains reserved for advertising, it is recommended that the link is left as-is. All customised links were replaced with the standard one, that is reserved in the standard and will never have ads or something.", - "extlink_tip": "This is the tip that appears when you hover the mouse over the fourth button from the left on the edit toolbar.\n\n{{Identical|External link (remember http:// prefix)}}", - "headline_sample": "Sample of headline text.", - "headline_tip": "This is the text that appears when you hover the mouse over the fifth button from the left on the edit toolbar.", - "nowiki_sample": "Text inserted between nowiki tags", - "nowiki_tip": "This is the text that appears when you hover the mouse over the third button from the right on the edit toolbar.", - "image_sample": "{{optional}}\nUsed in text generated by Picture button in toolbar.\n{{Identical|Example}}", - "image_tip": "This is the text that appears when you hover the mouse over the sixth (middle) button on the edit toolbar.\n\n{{Identical|Embedded file}}", - "media_sample": "{{optional}}\n{{Identical|Example}}", - "media_tip": "This is the text that appears when you hover the mouse over the fifth button from the right in the edit toolbar.\n{{Identical|File link}}", "sig-text": "{{notranslate}} This is the text that appears when you click on the signature button (second button from the right) on the edit toolbar. $1 will be replaced with four tildes (which cannot be included directly in the message for technical reasons).", - "sig_tip": "This is the text that appears when you hover the mouse over the second key from the right on the edit toolbar.\n{{Identical|Signature with timestamp}}", - "hr_tip": "This is the text that appears when you hover the mouse over the first button on the right on the edit toolbar.", "summary": "The Summary text beside the edit summary field\n\nSee also:\n* {{msg-mw|Subject}}\nSee also:\n* {{msg-mw|Accesskey-summary}}\n* {{msg-mw|Tooltip-summary}}\n{{Identical|Summary}}", "subject": "Used as label for the section title input box when adding a new section on a talk page.\n\nSee also:\n* {{msg-mw|Summary}}\n{{Identical|Subject}}", "minoredit": "Text above Save page button in editor\n\nSee also:\n* {{msg-mw|Minoredit}}\n* {{msg-mw|Accesskey-minoredit}}\n* {{msg-mw|Tooltip-minoredit}}", @@@ -2086,7 -2103,6 +2086,7 @@@ "listfiles-userdoesnotexist": "This message is displayed on [[Special:ListFiles]] when a invalid username is entered.", "imgfile": "{{Identical|File}}", "listfiles": "Page title and grouping label for the form displayed on [[Special:ListFiles]].\n{{Identical|List}}", + "listfiles_subpage": "Page title and grouping label for the form displayed on [[Special:ListFiles]].\n\nParameters:\n* $1 - username\n\n{{Identical|List}} when a username is selected.", "listfiles_thumb": "{{Identical|Thumbnail}}", "listfiles_date": "Column header for the result table displayed on [[Special:ListFiles]].\n{{Identical|Date}}", "listfiles_name": "Column header for the result table displayed on [[Special:ListFiles]].\n{{Identical|Name}}", @@@ -3774,6 -3790,7 +3774,7 @@@ "version-poweredby-credits": "Message shown on [[Special:Version]]. Parameters:\n* $1 - the current year\n* $2 - a list of selected MediaWiki authors", "version-poweredby-others": "Used at the end of {{msg-mw|version-poweredby-credits}} on [[Special:Version]]. First, there's a long list of selected MediaWiki authors, then a comma and then this translation, which is supposed to credit the many other people than developer helping with MediaWiki.\n{{Identical|Other}}", "version-poweredby-translators": "Used as label for a link to [[Translating:MediaWiki/Credits]].\n\nPreceded by {{msg-mw|version-poweredby-others}} and {{msg-mw|and}}.\n\nUsed at the end of {{msg-mw|version-poweredby-credits}} on [[Special:Version]].", + "version-poweredby-various": "Shown on [[Special:Version]] as an author name if the extension or skin (etc.) credits contain only ... which is used to indicate various (unknown or unspecified) authors. See also {{msg-mw|version-poweredby-others}}, which is used when an extension or a skin contains code by various named and unnamed contributors.", "version-credits-summary": "Summary of the [[Special:Version/Credits]] sub page, which lists all developers etc. who contributed to MediaWiki. Shown at the top.", "version-license-info": "[[wikipedia:GNU GPL|GNU GPL]] notice shown at [[Special:Version]]. See //www.gnu.org/licenses/old-licenses/gpl-2.0-translations.html for available translations.", "version-software": "Message shown on [[Special:Version]].\nThis message is followed by the list of installed software (MediaWiki, PHP and MySQL).", @@@ -4456,8 -4473,5 +4457,8 @@@ "mycustomjsredirectprotected": "Error message shown when user tries to edit their own JS page that is a foreign redirect without the 'mycustomjsredirectprotected' right. See also {{msg-mw|mycustomjsprotected}}.", "easydeflate-invaliddeflate": "Error message if the content passed to easydeflate was not deflated (compressed) properly", "unprotected-js": "Error message shown when trying to load javascript via action=raw that is not protected", - "userlogout-continue": "Shown if user attempted to log out without a token specified. Probably the user clicked on an old link that hasn't been updated to use the new system. $1 - url that user should click on in order to log out." + "userlogout-continue": "Shown if user attempted to log out without a token specified. Probably the user clicked on an old link that hasn't been updated to use the new system. $1 - url that user should click on in order to log out.", + "rest-prefix-mismatch": "Error message for REST API debugging, shown if $wgRestPath is incorrect or otherwise not matched. Parameters:\n* $1: The requested path.\n* $2: The configured root path ($wgRestPath).", + "rest-wrong-method": "Error message for REST API debugging, shown if the HTTP method is incorrect. Parameters:\n* $1: The received request method.\n* $2: A comma-separated list of allowed methods for this path.\n* $3: The number of items in the list $2", + "rest-no-match": "Error message for REST API debugging, shown if the path has the correct prefix but did not match any registered handler. Parameters:\n* $1: The received request path, relative to $wgRestPath." }