Wikipedia talk:TWA/Welcome

Protected edit request on 10 January 2015
Let's look at how the other two work—they are copied as well:
 * What is posted to the user's talk page is a copy of TWA/Welcome. It's not transcluded; that would be posted to the talk page. But it's not substituted either; it's like a copy-paste was done.
 * In MediaWiki:Guidedtour-tour-twa1.js, there are three calls to function sendMessage:
 * sendMessage( 'User talk:' + mw.config.get( 'wgUserName' ), 'Wikipedia:TWA/Welcome', mw.util.getUrl( 'Special:MyPage' ) + '?tour=twa1&step=9');
 * sendMessage( 'User:' + mw.config.get( 'wgUserName' ), 'Wikipedia:TWA/Badge/1template2', mw.util.getUrl( 'Special:MyPage' ) + '?tour=twa1&step=15');
 * sendMessage( 'User:' + mw.config.get( 'wgUserName' ), 'Wikipedia:TWA/Badge/2template2', mw.util.getUrl( 'Wikipedia:TWA/1/End' ) + '?tour=twa1&step=21');
 * The contents of TWA/Badge/1template2 is { {TWA/Badge/1template}}
 * The contents of TWA/Badge/2template2 is { {TWA/Badge/2template}}

And I see that the latter two just transclude on my user page. A bit convoluted, but OK.

I found the documentation for this system: Help:Guided tours and mw:Extension:GuidedTour.

Back to TWA/Welcome. We want that to have contents which, when copy-pasted to the user's talk page, work as intended. In other words, stop thinking of this page as a template, because it will not be transcluded or substituted.

This is what we want to have on that page. When copy-pasted, this works.

But we can't just copy-paste that to TWA/Welcome, because it will be prematurely substituted. This is where comes to the rescue!

Copy and paste this to TWA/Welcome:

and when it's saved it will look just like the first code block above, which is what we want. – Wbm1058 (talk) 01:34, 10 January 2015 (UTC)
 * It looks like you're trying to initiate a discussion with . That is not the purpose of ; accordingly, Red information icon with gradient background.svg Not done: please establish a consensus for this alteration before using the template. -- Red rose64 (talk) 11:40, 10 January 2015 (UTC)
 * Actually continuing a conversation with Jake that I started on my talk page. Though if another admin cares to be bold... Note how your edit signed the section below, which is as expected. Wbm1058 (talk) 13:42, 10 January 2015 (UTC)
 * How was I to know that my edit to this section would compromise other sections? What's it there for, anyway? -- Red rose64 (talk) 15:27, 10 January 2015 (UTC)
 * No worries, you didn't really "compromise" anything. I put the second section there for demonstration purposes. I created that section simply by copy-pasting the second code block above. When saved, it looks like the first code block above. For further explanation of why, please read my discussion above, and the earlier discussions here and here. Feel free to try it yourself. BTW, this shouldn't need a consensus. That would be like asking for a consensus to fix a misspelling! Admittedly this might be a kludgy solution, but a more robust fix is at least dependent on code changes to MediaWiki:Guidedtour-tour-twa1.js, and perhaps on changes to mw:Extension:GuidedTour. But for the short-term at least, this fix should be an easy and uncontroversial one. Thanks, Wbm1058 (talk) 17:16, 10 January 2015 (UTC)

Yet one more observation and fix from me. Because this page is just copied, and not transcluded or substituted, if you want to put users who have this message on their talk page into Category:Wikipedia Adventurers, the and sandwiching the category need to be removed. It seems that the only users currently in that category transclude TWA/Badge/15end, which in turn transcludes TWA/Userbox. The user box is what actually puts editors into the category. It might be better just to categorize user pages rather than user talk pages, in that case  can just be removed. Regards, Wbm1058 (talk) 15:13, 15 January 2015 (UTC)


 * Thanks for removing the not needed category. Please see . Editors have a consensus to give the Adventure higher visibility by including it in the Welcome template, but I really think we should get the BASEPAGENAME and currentdate substitution issue fixed first! You haven't really responded to me about whether you object to my quick-and-dirty solution "delay subst or would prefer to fix MediaWiki:Guidedtour-tour-twa1.js instead. I'm game for suggesting changes to the javascript, but am a bit frustrated regarding that as I don't have much js experience and there isn't really a convenient sandbox mechanism for me, as a non-administrator, to experiment with it. I realize you may be busy with other priorities at this point. I know at least a couple of technically-oriented admins whose help we could solicit if you don't want to do it. Let me know what you think. Thanks, Wbm1058 (talk) 14:04, 27 January 2015 (UTC)
 * , I've changed the protection so template editors can fix it. Please go and do whatever you think will work with your 'quick and dirty' solution :)  Thanks for your help, very much. Ocaasit &#124; c 17:11, 27 January 2015 (UTC)

Welcome to The Wikipedia Adventure!

 * Hi TWA! We're so happy you wanted to play to learn, as a friendly and fun way to get into our community and mission.  I think these links might be helpful to you as you get started.
 * The Wikipedia Adventure Start Page
 * The Wikipedia Adventure Lounge
 * The Teahouse new editor help space
 * Wikipedia Help pages

-- 11:40, Saturday, January 10, 2015 (UTC)

Improper indentation
Hi all, this template improperly uses the definition list syntax ":" for indenting. This emits extra markup that is not semantic and can be an accessibility issue. (if you inspect the generated HTML, it's one huge nested definition list) Please refer to an essay I wrote if a more detailed explanation is needed. Instead this template should enclose the problem elements in a div and utilize inline CSS to fix any layout issues. Thanks. Opencooper (talk) 13:57, 15 December 2016 (UTC)

What is the template to add this to a user's talkpage?
What is the template to add this to a user's talkpage? Softlavender (talk) 23:57, 18 August 2018 (UTC)
 * Softlavender, it's  – wbm1058 (talk) 00:12, 19 August 2018 (UTC)
 * You don't see the title on the page TWA/Portal because it transcludes Hidden title – wbm1058 (talk) 00:21, 19 August 2018 (UTC)
 * It's been a while since I've played with this, so I'm still refreshing myself on the details. I don't think you're supposed to transclude this because it blanks out the title of the user's talk page. You could just give them the link to it: TWA/Portal but there's a fancier-looking welcome template that did that part.
 * Click through to the template TWA/Invite for the documentation including parameters for personalizing it. wbm1058 (talk) 00:56, 19 August 2018 (UTC)
 * Click through to the template TWA/Invite for the documentation including parameters for personalizing it. wbm1058 (talk) 00:56, 19 August 2018 (UTC)

 The Adventure


 * That info should be visible somewhere on one of the relevant pages, instead of hidden in the (talkpage) archives, in my opinion. Softlavender (talk) 04:22, 19 August 2018 (UTC)