Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expert-subject -> expert needed #332

Merged
merged 1 commit into from Apr 4, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 8 additions & 8 deletions modules/friendlytag.js
Expand Up @@ -194,9 +194,9 @@ Twinkle.tag.updateSortOrder = function(e) {
size: 50
};
break;
case "expert-subject":
case "expert needed":
checkbox.subgroup = {
name: 'expertSubject',
name: 'expertNeeded',
type: 'input',
label: 'Name of relevant WikiProject: ',
tooltip: 'Optionally, enter the name of a WikiProject which might be able to help recruit an expert. Don\'t include the "WikiProject" prefix.'
Expand Down Expand Up @@ -443,7 +443,7 @@ Twinkle.tag.article.tags = {
"disputed": "article has questionable factual accuracy",
"essay-like": "article is written like a personal reflection or opinion essay",
"expand language": "article can be expanded with material from a foreign-language Wikipedia",
"expert-subject": "article needs attention from an expert on the subject",
"expert needed": "article needs attention from an expert on the subject",
"external links": "article's external links may not follow content policies or guidelines",
"fansite": "article resembles a fansite",
"fiction": "article fails to distinguish between fact and fiction",
Expand Down Expand Up @@ -559,7 +559,7 @@ Twinkle.tag.article.tagCategories = {
],
"Information and detail": [
"context",
"expert-subject",
"expert needed",
"metricate",
"overly detailed",
"undue"
Expand Down Expand Up @@ -918,9 +918,9 @@ Twinkle.tag.callbacks = {
currentTag += '|otherarticle=' + otherart;
}
break;
case 'expert-subject':
if (params.tagParameters.expertSubject) {
currentTag += '|1=' + params.tagParameters.expertSubject;
case 'expert needed':
if (params.tagParameters.expertNeeded) {
currentTag += '|1=' + params.tagParameters.expertNeeded;
}
break;
case 'news release':
Expand Down Expand Up @@ -1351,7 +1351,7 @@ Twinkle.tag.callback.evaluate = function friendlytagCallbackEvaluate(e) {
cleanup: form["articleTags.cleanup"] ? form["articleTags.cleanup"].value : null,
copyEdit: form["articleTags.copyEdit"] ? form["articleTags.copyEdit"].value : null,
copypaste: form["articleTags.copypaste"] ? form["articleTags.copypaste"].value : null,
expertSubject: form["articleTags.expertSubject"] ? form["articleTags.expertSubject"].value : null,
expertNeeded: form["articleTags.expertNeeded"] ? form["articleTags.expertNeeded"].value : null,
globalize: form["articleTags.globalize"] ? form["articleTags.globalize"].value : null,
notability: form["articleTags.notability"] ? form["articleTags.notability"].value : null
};
Expand Down