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

rm now-unnecessary "static" parameter, add long-missing welcome template :) #417

Closed
wants to merge 1 commit into from
Closed
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
10 changes: 8 additions & 2 deletions modules/friendlywelcome.js
Expand Up @@ -217,7 +217,8 @@ Twinkle.welcome.populateWelcomeList = function(e) {
"welcome-belated",
"welcome student",
"welcome teacher",
"welcome non-latin"
"welcome non-latin",
"Welcome to Wikipedia"
]);
container.append({ type: 'header', label: 'Problem user welcome templates' });
appendTemplates([
Expand Down Expand Up @@ -355,7 +356,7 @@ Twinkle.welcome.templates = {
"welcome-screen": {
description: "welcome message with clear, annotated table of 10 links",
linkedArticle: false,
syntax: "$HEADER$ {{subst:welcome-screen|static=true}}"
syntax: "$HEADER$ {{subst:welcome-screen}}"
},
"welcome-belated": {
description: "welcome for users with more substantial contributions",
Expand All @@ -377,6 +378,11 @@ Twinkle.welcome.templates = {
linkedArticle: false,
syntax: "{{subst:welcome non-latin|$USERNAME$}} ~~~~"
},
"Welcome to Wikipedia": {
description: "large, structured welcome table, containing about 30 links and icons",
linkedArticle: false,
syntax: "$HEADER$ {{subst:Welcome_to_Wikipedia}}"
},

// PROBLEM USER WELCOMES

Expand Down