Bartosz Dziewoński has uploaded a new change for review.
https://gerrit.wikimedia.org/r/228248
Change subject: Remove unused message 'mwe-upwiz-error-date'
......................................................................
Remove unused message 'mwe-upwiz-error-date'
It has been commented-out since 2011.
Change-Id: Ife65627e16153f4926f026954710ad44e77db677
---
M UploadWizardHooks.php
M i18n/en.json
M i18n/qqq.json
M resources/mw.UploadWizardDetails.js
4 files changed, 0 insertions(+), 5 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UploadWizard
refs/changes/48/228248/1
diff --git a/UploadWizardHooks.php b/UploadWizardHooks.php
index 1ac24b0..a3bf594 100644
--- a/UploadWizardHooks.php
+++ b/UploadWizardHooks.php
@@ -346,7 +346,6 @@
'mwe-upwiz-error-too-long',
'mwe-upwiz-error-too-short',
'mwe-upwiz-error-bad-chars',
- 'mwe-upwiz-error-date',
'mwe-upwiz-error-title-blacklisted',
'mwe-upwiz-error-title-badchars',
'mwe-upwiz-error-title-senselessimagename',
diff --git a/i18n/en.json b/i18n/en.json
index d1e3171..5518ec2 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -206,7 +206,6 @@
"mwe-upwiz-error-too-long": "This entry is too long.\nPlease make this
entry shorter than $1 {{PLURAL:$1|character|characters}}.",
"mwe-upwiz-error-too-short": "This entry is too short.\nPlease make
this entry longer than $1 {{PLURAL:$1|character|characters}}.",
"mwe-upwiz-error-bad-chars": "This entry contains symbols that are not
allowed.\nPlease do not use wikitext or HTML here.",
- "mwe-upwiz-error-date": "Please enter a valid date in YYYY-MM-DD
format, or pick a date from the popup calendar.",
"mwe-upwiz-error-title-blacklisted": "This title contains some
undesirable text. Please revise it.",
"mwe-upwiz-error-title-badchars": "This title contains some undesirable
characters. Please remove them.",
"mwe-upwiz-error-title-senselessimagename": "Please make this title
more meaningful.",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index f610025..ea7ea89 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -229,7 +229,6 @@
"mwe-upwiz-error-too-long": "Used as error message. Parameters:\n* $1 -
maximum number of characters\nSee also:\n*
{{msg-mw|Mwe-upwiz-error-too-short}}",
"mwe-upwiz-error-too-short": "Used as error message. Parameters:\n* $1
- minimum number of characters\nSee also:\n*
{{msg-mw|Mwe-upwiz-error-too-long}}",
"mwe-upwiz-error-bad-chars": "Error message shown to the user when they
have entered characters that aren't allowed.",
- "mwe-upwiz-error-date": "Error message shown to the user when they have
entered a date in a format that isn't allowed.",
"mwe-upwiz-error-title-blacklisted": "Error message shown to the user
when they have entered a file name that matches the 'blacklist' of banned
words.",
"mwe-upwiz-error-title-badchars": "Error message shown to the user when
they have entered a file name that matches the 'blacklist' of banned
characters.",
"mwe-upwiz-error-title-senselessimagename": "Error message shown to the
user when they have entered a file name that looks like an automatic name
rather than a useful one.",
diff --git a/resources/mw.UploadWizardDetails.js
b/resources/mw.UploadWizardDetails.js
index 1d061d7..34fa80c 100644
--- a/resources/mw.UploadWizardDetails.js
+++ b/resources/mw.UploadWizardDetails.js
@@ -293,10 +293,8 @@
this.$form.validate();
this.$form.find( '.mwe-date' ).rules( 'add', {
required: true,
- /* dateISO: true, */
messages: {
required: mw.message( 'mwe-upwiz-error-blank'
).escaped()
- /* dateISO: mw.message( 'mwe-upwiz-error-date'
).escaped() */
}
} );
--
To view, visit https://gerrit.wikimedia.org/r/228248
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ife65627e16153f4926f026954710ad44e77db677
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits