Wikipedia talk:Twinkle/Archive Friendly 5


Welcome templates

A few questions and comments: (1) Is the list of templates in Category:Templates used by Friendly correct? (2) I was browsing through these templates and there seems to be some differences in usage and behavior. In particular, some create section headings, some allow for suppressing section headings, some require specification of your username, some use different parameters, ... (3) The automatic creation of section headings is problematic when the user does not substitute the template since clicking on the edit link then takes the user to the template page, rather than editing the talk page on which the template was placed (see the edit history of Template:Welcome-personal for example). (4) I would like to propose making the addition of the section heading off by default (or off all together). I don't know if this would impact any of the templates being used by Friendly. Thanks! Plastikspork ―Œ(talk) 17:17, 17 June 2010 (UTC)

  1. Probably not. The full list is {{Welcome}}, {{Welcomeshort}}, {{WelcomeSimple}}, {{Welcome-personal}}, {{WelcomeMenu}}, {{Welcomeg}}, {{Welcomeh}}, {{Wel}}, {{W-basic}}, {{W-shout}}, {{W-short}}, {{W-link}}, {{W-graphical}}, {{W-screen}}, {{Welcomelaws}}, {{Firstarticle}}, {{Welcomevandal}}, {{Welcomenpov}}, {{Welcomespam}}, {{Welcomeunsourced}}, {{Welcomeauto}}, {{Welcome-COI}}, {{Welcome-anon}}, {{Welcomeanon2}}, {{Welc-anon}}, {{Welcome-anon-vandal}}, and {{Welcome-anon-vandalism-fighter}}
  2. Friendly knows which templates create headings automatically, and will (in the default configuration) insert its own heading otherwise. If you change the default behavior of templates I'll need to know (or you need to change User:Ioeth/friendlywelcome.js along with it). Heading suppression isn't currently supported by Friendly, but would be a good feature to add.
    Similarly, Friendly knows which ones don't need a signature, or which ones support an article parameter.
    However, this is largely a big mess (have a look at the "main" function), and rewriting how Friendly knows all that was already on my agenda since it's not possible ATM to pass in those parameters for custom user templates, so I wouldn't mind too much if the templates change their behaviors more fundamentally.
  3. Right. These days, you can build a template that spits out an error if used unsubstituted, but still substitutes cleanly ({{ifsubst}}). Personally, I'd say never show the section header if the template is only transcluded.
  4. Fine by me. Again, I'll need to know or you'll need to change Friendly, but the worst that can happen is that no section header is placed on a page.
HTH, Amalthea 18:14, 17 June 2010 (UTC)
Sounds good, and thanks for fixing my safesubst error on W-short. I tried to update far too many today. Hopefully that was the only one, but I am going to go back and check to be sure. I will probably go ahead make the section header not appear if the template is only transcluded where necessary. Thanks! Plastikspork ―Œ(talk) 18:17, 17 June 2010 (UTC)
Okay, it looks like this should circumvent the problem. Thanks for the ifsubst suggestion! Plastikspork ―Œ(talk) 18:25, 17 June 2010 (UTC)

Talkback heading

  Resolved

When I left a talkback template on a user talk page with Friendly, it added ==== Talkback ==== as the heading, making it a level 4 section heading until I changed it manually. It looks like this happened because User:Ioeth/friendlytalkback.js now adds == before and after FriendlyConfig.talkbackHeading, and I was using the default value of "== Talkback ==" for FriendlyConfig.talkbackHeading, which is what is still listed on Wikipedia:Friendly#Default Configuration. Either the JavaScript should be changed back, or the documentation needs to be updated. --Mysdaao talk 13:39, 23 June 2010 (UTC)

Oops. The talkback heading never really needed the "==" heading marker, and the default value actually was the pure "Talkback" all along. MediaWiki strips those markers by itself, apparently, when you enter them as a section header, which is why nobody noticed the discrepancy before. That changed with the recent modification to use a more meaningful talkback edit summary.
I've now simply added some code to strip those markers, otherwise I'd have had to fix dozens of user scripts. :)
I'll leave the documentation unchanged since the welcomeHeading value actually does need the heading marker, at the moment.
Thanks for the note! Amalthea 14:37, 23 June 2010 (UTC)
You're welcome! Thanks for the quick fix! --Mysdaao talk 18:13, 23 June 2010 (UTC)

Edit summary redirect

The automatic edit summaries redirect Wikipedia:FRIENDLY to Wikipedia:Friendly. Please fix the redirects, if possible. Thanks. All is One (talk) 17:23, 26 June 2010 (UTC)

Why? Amalthea 10:42, 27 June 2010 (UTC)
To avoid confusion for newcomers and faster loading. All is One (talk) 20:47, 28 June 2010 (UTC)

Extra sig oddity

Hello, I don't really know what I am doing here or if I'm in the right place so please be gentle with the traditional pelting with rotting fruit. I hope this is the right enquiry for here but if not please feel to advise, without actually setting the dogs on me.

Right ... I'm on a user's Talk page and I want to send a welcome. I click the down-arrow between the star and TW and choose "Wel". Is that one of yours? From the menu that produces, I choose "W-short" and it generates a welcome with a duplicate, unlinked username between "answer your questions" and "Happy editing", thus:

  • Welcome
  • Hello, DisillusionedBitterAndKnackered, and welcome to Wikipedia! Thank you for your contributions. I hope you like the place and decide to stay. Our intro page provides helpful information for new users - please check it out! If you need help, visit Wikipedia:Questions, ask me on my talk page, or place {{helpme}} on this page and someone will show up shortly to answer your questions. DisillusionedBitterAndKnackered Happy editing! DBaK (talk) 15:36, 28 June 2010 (UTC)

- is this a design feature, me using the "wrong" browser, bad vibes, cosmic rays, or what? Please advise. Sorry if I am being very very thick (not unusual) or this is a terribly-FAQ, or something. Thanks and best wishes, DBaK (talk) 15:56, 28 June 2010 (UTC)

Oh dear, are we that bad?
So... this isn't really the 'right' place to ask, because I don't think it's a q about 'friendly' - but that doesn't matter.
For future ref, for problems of this type, your best bet is #1 talk to us live, with this, #2 put {{helpme}} on your own user talk page, followed by the question. That'll get attention, and we can point you to the right place, whereas a talk page like this might not get noticed. (I happened to notice this 'coz you accidentally used {{helpme}} here before you <NOWIKI'd it)
Also it'd help if you provided a diff, ie this - but these are only 'tips', I'm not biting, honest :-)
I just tried the same greeting here, and it 'works for me'. I wonder...is there something strange about your signature, perhaps? Check in "my preferences", "signature" - remove everything from the 'signature' box, and un-check "Treat the above as wiki markup." - just to try it. Then 'welcome' yourself, see if it works. If it does, that confirms it is "something weird in your sig". If not...well, let me know on my talk, or live help, and I'll do my best to answer sans fruit :-)  Chzz  ►  16:15, 28 June 2010 (UTC)
Tried it, thanks, problem persists. Trying to say hi to you on some Wretched Young Persons' Chatting system now, will also try some other browsers ... you never know. DisillusionedBitterAndKnackered (talk) 16:26, 28 June 2010 (UTC)
 Y Fixed, you'll need to bypass your browser cache to get the updated script.
Thanks for the report, Amalthea 17:16, 28 June 2010 (UTC)
Chzz, I think you didn't use {{w-short}}? {{W-short}} outputs the string "Happy editing!" right in front of the sig. Amalthea 17:23, 28 June 2010 (UTC)
Great, works like a charm now. Thanks and best wishes, (DBak when I put it back) DisillusionedBitterAndKnackered (talk) 17:24, 28 June 2010 (UTC)

Bug in auto mode

There seems to be a bug in auto mode. When I add the following to my JS file:

FriendlyConfig.quickWelcomeMode	= "auto";
FriendlyConfig.quickWelcomeTemplate = "W-graphical";

It seems to have no effect; every time I click the welcome link I get the popup template screen as usual. I did some Firebug browsing and apparently the welcome link plops a "friendlywelcome=norm" on the URL which causes the menu screen to pop regardless of the variable specified above.-- φ OnePt618Talk φ 04:02, 27 June 2010 (UTC)

Yeah, that feature has never worked.  Y Fixed now, you might need to bypass your browser cache to get the updated code. Amalthea 11:45, 27 June 2010 (UTC)
Whoo hoo, it works great now! Thank you very much! =)-- φ OnePt618Talk φ 04:32, 28 June 2010 (UTC)
FWIW, I just changed the default behavior back to "semiauto", so you'll need to configure it to "auto" to get it to work. Amalthea 17:12, 6 July 2010 (UTC)

In the edit summary for a talkback, Friendly is creating a section link to my userpage, not user talk page. See the edit summary here. There's no problem with the talkback itself, just the edit summary. Thanks! --Mysdaao talk 16:17, 30 June 2010 (UTC)

I'm such a doofus.  Y Fixed, thanks! Amalthea 16:41, 6 July 2010 (UTC)
Thank you! --Mysdaao talk 17:05, 6 July 2010 (UTC)

Friendly clock disappeared

The friendly UTC clock disappeared. Is there a reason why? Or is it a bug? ~NerdyScienceDude () 00:33, 1 July 2010 (UTC)

It only works with the Monobook skin. Also, that feature is not available if you have Friendly installed as a gadget. Kwiki (talk) 01:35, 1 July 2010 (UTC)
It's back. I'm using vector with the script imported. ~NerdyScienceDude () 13:29, 1 July 2010 (UTC)
Now, along with Friendly's other functions, it only displays when I edit a page. A few other scripts have this issue. Looks like a software bug. ~NerdyScienceDude () 03:44, 2 July 2010 (UTC)
Sounds like a javascript error, most probably from another script. Consult your javascript error console, please (see WP:TW/DOC#Trouble where you can find that). Amalthea 16:43, 6 July 2010 (UTC)

Welcoming an IP

I just welcomed an IP who vandalized a page, and instead of getting the option box (where I would've chosen the "vandalizing IP" option), Twinkle welcomed him with open arms. Which is great and all, but does this mean the yellow-colored welcome for IPs who've vandalized a page or any other format is available anymore? I just added a warning beneath the welcome, so not really a big deal. – Kerαunoςcopiagalaxies 08:48, 3 July 2010 (UTC)

There's a setting for that. Do you have Twinkle installed straight to your monobook/vector, or as a gadget? If you look at my vector, you will see:
if( typeof( FriendlyConfig ) == 'undefined' ) FriendlyConfig = {};
FriendlyConfig.quickWelcomeMode = "semiauto";
That is the switch you're looking for in your settings. Setting the setting to "semiauto" will reinstate the option box. SchuminWeb (Talk) 16:06, 3 July 2010 (UTC)
I'm using it as a gadget, but I don't think I've welcomed anyone for a month or more, so things may have changed. – Kerαunoςcopiagalaxies 19:34, 3 July 2010 (UTC)
You may want to remove it from your gadgets and add it directly so that you can customize it. SchuminWeb (Talk) 20:14, 3 July 2010 (UTC)
I'll admit I'm a little cautious of using code, if only because I wonder about vandalism, but looking at your vector was interesting. Is the .CSS page necessary as well? – Kerαunoςcopiagalaxies 21:30, 3 July 2010 (UTC)
No. My vector.css page is not necessary to run Friendly. That page exists to remove an unrelated feature from the watchlist that I find annoying. SchuminWeb (Talk) 19:54, 4 July 2010 (UTC)
Behavior has changed here, yes. Current behavior is, according to the documentation, the supposed behavior, although it has never worked that way until recently. I've just changed the default value though to reflect the previous behavior, so if you bypass your browser cache you should have the dialog back.
You don't need to worry about creating the script file, any file in your user space that ends with ".js" or ".css" can only be edited by you or admins.
And FWIW, you do not need to load Friendly or Twinkle by skin script if you want to configure it. That used to be the case, but with the current configuration method that's no longer necessary.
Amalthea 17:11, 6 July 2010 (UTC)

Unless I've been looking over it the past couple of minutes, {{Cleanup-link rot}} isn't available for tagging using Friendly, please add it, thanks. Xeworlebi (talk) 20:09, 8 July 2010 (UTC)

Adding tags labeled as minor

I've been informed here that Friendly labels edits adding tags to articles as a minor edit. However, Help:Minor edit says that adding tags to an article should not be labeled as minor. I don't know if Help:Minor edit is an official guideline, but if it is then I think Friendly should comply with it. Calathan (talk) 23:11, 13 July 2010 (UTC)

Feature requests

Hi, I've been using Friendly for a while and it's simply invaluable as a WP tool. However, there's been a few issues that have been nagging me about it that I thought I'd suggest here:

  • It doesn't include the {{obituary}} tag, which I use regularly for non-NPOV biographies about a recently deceased person.
  • If there are cleanup tags already on the page when new ones are added, Friendly should combine the existing ones, if applicable, into a {{multipleissues}} tag.
  • If there's a deletion template on the page, Friendly should put any maintenance templates below that tag. Currently it puts them at the top of the page regardless of content, and that is rather annoying.

Thanks, keep up the good work otherwise. elektrikSHOOS 01:54, 14 July 2010 (UTC)

Welcome heading added

As discussed here, Friendly probably shouldn't be adding a heading along with {{welcome}}, but it's not a major issue. -- œ 12:28, 15 July 2010 (UTC)

Welcomeauto

Someone just added a section heading to {{Welcomeauto}}. I don't know if that impacts Friendly. Plastikspork ―Œ(talk) 01:51, 26 July 2010 (UTC)

I just tested it and it appear to be fine. Marcus Qwertyus 21:34, 26 July 2010 (UTC)

Importing the script

Hi you all, I tested this script and it looks so useful also in other wikis. Could someone please explain me how and what to export and what to translate? Thank you! --Airon90 (talk) 10:45, 1 August 2010 (UTC)

Welcome back

Add Template:WelcomeBack please. I'm going to do some updates to it. Marcus Qwertyus 18:37, 24 July 2010 (UTC)

This template is for people who have not revisited their accounts for years. Please specify. Marcus Qwertyus 18:45, 24 July 2010 (UTC)
Not yet. I'm having some issues with this template. Marcus Qwertyus 22:11, 2 August 2010 (UTC)

Unable to get the custom settings to work

Greetings, I am sure I am doing something dumb but I am having trouble finding what I am missing. I have all modules installed and am trying to make it so tag adds are not marked as minor. I have added the lines

if( typeof( FriendlyConfig ) == 'undefined' ) FriendlyConfig = {}; // DO NOT REMOVE THIS LINE - ALL FRIENDLY SETTINGS AFTER THIS
FriendlyConfig.markTaggedPagesAsMinor		=	false;

to monobook.js, but it still marks addition of tags as minor. Please help, preferably with only the requisite amount of mockery. Thanks! VQuakr (talk) 08:03, 3 August 2010 (UTC)

The most likely cause is the new default theme in Wikipedia. Stick the text in your vector.js file. If that is not it, in order to use custom settings in Friendly, you may need to use the manual install instructions (involves adding a new line to your .js file, and removing the normal install). Try that.  A p3rson  00:41, 4 August 2010 (UTC)
Yup, that did it. Thanks! Someone more knowledgeable than me should probably update the instructions on the project page. VQuakr (talk) 01:43, 4 August 2010 (UTC)

Template:Null

Why everytime I tag an article it adds me compiled {{null}}, even if I do not choose any option? Here is the code (not complete) --Airon90 (talk) 16:33, 4 August 2010 (UTC)

Continuation of Wikipedia_talk:Friendly/Archive_5#Friendly clock disappeared

I just did some experimenting, and it actually appears to be a Firefox issue. I works fine when I use Safari as well as on my iPhone and iPad. ~NerdyScienceDude () 02:36, 8 August 2010 (UTC)

If you're referring to the UTC clock on the top right, there is also a separate gadget preference that states "Add a clock in the personal toolbar that displays the current time in UTC (which also provides a link to purge the current page)". I use that, and it works in FireFox with Friendly in Vector. Airplaneman 04:02, 8 August 2010 (UTC)
It is not just the clock; the friendly tools are also gone. They will only show in the drop-down menu at the top when I edit a page. ~NerdyScienceDude () 20:18, 9 August 2010 (UTC)

New template

Hi all - I've just made a new welcome/warning template, {{WelcomeCOI}}, based on {{Welcomeauto}}. Given that the latter is connected to this project, I thought I'd better give you a heads-up about it here, and hopefully someone can check to make sure I haven't done anything silly with it. Cheers, Grutness...wha? 23:25, 12 August 2010 (UTC)

Very similar to Template:Welcome-COI, which is already in Twinkle. Might you consider merging? SchuminWeb (Talk) 23:59, 12 August 2010 (UTC)
Ah, yes - oops. I didn't know about that one. I checked at Wikipedia:Welcoming committee/Welcome templates to see whether a COI/welcome template existed, but that one isn't one listed there for some reason. Grutness...wha? 08:37, 13 August 2010 (UTC)
I've merged the two, turning my new one into a redirect and adding in a couple of minor features from it to {{Welcome-COI}}. I'm also adding Welcome-COI to the list of welcome templates so that no-one else makes the same mistake! Grutness...wha? 08:46, 13 August 2010 (UTC)

Discussion to merge Friendly into Twinkle

Just realized I forgot to drop a notification on Friendly's talk page about this. Basically, there is a discussion underway about merging Twinkle and Friendly together using the Twinkle name. Here's the discussion:

All users are asked and encouraged to take a look and participate. SchuminWeb (Talk) 00:10, 15 August 2010 (UTC)

Welcome in sections

I think it would really help if all the welcome templates in Twinkle were placed in a == Section ==

This gets users off to a good start; if the welcome is not in a section, it leads them to think that is normal on a talk page.

Putting the 'welcome' message into a headed section gets them used to the concept more quickly, and avoids confusion down the line.  Chzz  ►  14:07, 23 July 2010 (UTC)

Saw your temporary posting on Twinkle (I've made the same mistake lol), and you have my support. It only makes sense that every topic have its own level 2 header, even welcomes. Hmm... actually, it looks like this is more complex since some templates (see discussion directly above this one) add the Welcome header automatically. There is probably a lack of standards between templates and Friendly using those templates. If Friendly were to add a header, there may be cases where two headers are created. – Kerαunoςcopiagalaxies 16:21, 23 July 2010 (UTC)
Yes, there definitely is a lack of standards; but many, many times when answering a helpme I have changed '''Welcome''' to == Welcome ==, moved a help request from the start to the end of the page, and tried to explain good practice to the user. Hundreds of times. It the 'welcome' is in a section, the new users are more likely to understand the concepts - it would avoid some confusion. So - yes, some templates include a section heading and others don't, so perhaps we can fix that, or perhaps Twinkle can be smart and figure out if it needs to add a section...whichever way works.  Chzz  ►  17:41, 27 July 2010 (UTC)

I've moved this back from the archive, hoping someone might look into it more  Chzz  ►  02:40, 13 August 2010 (UTC)

Erm. I don't know where to go with this, to get a change?  Chzz  ►  08:16, 24 August 2010 (UTC)
Is the insertHeadings configuration parameter not working correctly? Setting it to true, which is the default, should include a heading with any template that does not already contain one. Friendly has an internal list it keeps of which templates have headings already and which don't in order to facilitate this behavior. Ioeth (talk contribs twinkle friendly) 19:27, 24 August 2010 (UTC)
I tested that, and...d'oh. Friendly seems fine [1] [2], I just checked through lots of recent welcomes, and it is Twinkle that doesn't use a section. [3] [4] [5]. So, I was right in my original post to the twinkle talk, and I shall move back over there now. Sorry about all that.  Chzz  ►  21:02, 24 August 2010 (UTC)
  Resolved

Template:You've got mail

Is it possible to include the {{You've got mail}} template in Friendly? /HeyMid (contributions) 13:52, 27 August 2010 (UTC)

I'll see about adding it to the talkback feature today. Ioeth (talk contribs twinkle friendly) 13:59, 27 August 2010 (UTC)

Tabs- full listing?

On the config example page for freindlytabs, it tells you to put in a pair of id (ca-nstab-special) and name (Special). However, is there a full listing of these "tab id's" available? Not every tab is in the example.— Train2104 (talkcontribscount) 22:44, 27 August 2010 (UTC)

Please add {{All plot}} and {{Cleanup-link rot}}. Thanks. Xeworlebi (talk) 15:00, 21 September 2010 (UTC)