User talk:Sardanaphalus

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Nohat-logo-XI-big-text.png This user is one of the 400 most active Wikipedians of all time.

Barnstar[edit]

Working Man's Barnstar.png The Working Man's Barnstar
Your contributions to the finer details of Wiki markup on various articles, at a rapid rate, is noticed and appreciated by others. Leep up the good work! MezzoMezzo (talk) 06:25, 5 February 2014 (UTC)

Some baklava for you![edit]

Baklava - Turkish special, 80-ply.JPEG Hi sardanaphalus you have some good history and it is nice thanks for doing history and making it look nice. hope we can be friends thanks jalyn.. Jlynn13 (talk) 20:39, 13 September 2014 (UTC)
  • Thanks, jalyn. If/when you can't seem to find something here, I can try to help – or direct you somewhere or to someone who should be able to help. Enjoy, Sardanaphalus (talk) 22:33, 13 September 2014 (UTC)

Wikipedia:Today's articles for improvement/Tabbed header[edit]

Hi Sardanaphalus. I'm not exactly sure what you are trying to do at the above page, but if you want to test whether the current page is an archive, the following code should work:

{{#ifexpr: {{Str find|{{SUBPAGENAME}}|rchive}}<0 | value if not an archive | value if it is an archive }}

Cheers, Evad37 [talk] 13:00, 3 December 2014 (UTC)

  • Yes, I'm trying to master {{Namespace detect}}+{{When pagename is}} so that /Archive/ pages appear in Category:TAFI archives rather the main Category:Today's articles for improvement. I've just realized, though, that I forgot to include Category:TAFI archives in the code, so, having remedied it, I'm hoping it will now work. If not, I'll fall back on your suggestion – thanks for offering. Regards, Sardanaphalus (talk) 13:25, 3 December 2014 (UTC)
    • Sometimes it's just as easy or easier to use the magic words / parser functions directly. eg {{#ifeq:{{SUBJECTSPACE}}|{{ns:4}}| value if in WP: or WT: namespace | value for other namespaces }} will detect Wikipedia: and Wikipedia talk: pages - Evad37 [talk] 14:11, 3 December 2014 (UTC)
      • {{SUBJECTSPACE}} etc – that's another timely reminder. Thank you. For now, I've implemented your first suggestion at the Tabbed header, to see what happens and confirm whether or not subject/namespaces/etc need handling. Regards, Sardanaphalus (talk) 16:39, 3 December 2014 (UTC)

Missing includeonly[edit]

Hi, just a FYI that some of the templates where you had added the sandbox suppression code are missing the first "includeonly". It was accidentally removed in your edit here. I've found a few of them and have corrected the error; however, you may want to go back and check the other templates that were also altered. Thx Funandtrvl (talk) 22:25, 4 December 2014 (UTC)

  • Thanks for this alert and the corrections: it looks like a copy-paste error I've missed. If there are any more instances, they may be on pages I'm intending to prune from the watchlist here, so I'll try to spot them. Regards, Sardanaphalus (talk) 22:50, 4 December 2014 (UTC)

Please add back curly brackets[edit]

You are invited to join the discussion at Template talk:Collapsible option#Please add back curly brackets. Thanks. Funandtrvl (talk) 23:55, 4 December 2014 (UTC)

Speedy deletion nomination of Template:Tli[edit]

If this is the first article that you have created, you may want to read the guide to writing your first article.

You may want to consider using the Article Wizard to help you create articles.

A tag has been placed on Template:Tli, requesting that it be speedily deleted from Wikipedia. This has been done under section G4 of the criteria for speedy deletion, because the article appears to be a repost of material that was previously deleted following a deletion debate, such as at articles for deletion. Under the specified criteria, where an article has substantially identical content to that of an article deleted after debate, and any changes in the content do not address the reasons for which the material was previously deleted, it may be deleted at any time.

If you think this page should not be deleted for this reason, you may contest the nomination by visiting the page and clicking the button labelled "Click here to contest this speedy deletion". This will give you the opportunity to explain why you believe the page should not be deleted. However, be aware that once a page is tagged for speedy deletion, it may be removed without delay. Please do not remove the speedy deletion tag from the page yourself, but do not hesitate to add information in line with Wikipedia's policies and guidelines. If the page is deleted, and you wish to retrieve the deleted material for future reference or improvement, then please contact the deleting administrator, or if you have already done so, you can place a request here. — {{U|Technical 13}} (etc) 18:34, 11 December 2014 (UTC)

Enjoy![edit]

Weihnachten10.gif Happy Holiday Cheer
Season's Greetings! This message celebrates the holiday season, promotes WikiLove, and hopefully makes your day a little better. Spread the seasonal good cheer by wishing another user an Awesome Holiday and a Happy New Year, whether it be someone with whom you had disagreements in the past, a good friend, or just some random person. Share the good feelings! Joys! Paine

Category:Example[edit]

Yes, I did see the message and that helped convince me that it was a test page. Categories in the main space, as this was, are for encyclopedic purposes and clearly this one did not fit that guideline as I understand it. Vegaswikian (talk) 18:12, 20 December 2014 (UTC)

  • Thanks for your response:
    1. When you say "the message", do you mean Template:Namespace example page or the talkpage post – or both?
    2. My understanding is that "main space" = article space, i.e. not including categories etc. Is this incorrect..?
    3. If Category:Example should not exist, does that mean pages such as Template:Example should be deleted..?
Regards, Sardanaphalus (talk) 09:59, 21 December 2014 (UTC)

December 2014[edit]

You currently appear to be engaged in an edit war according to the reverts you have made on Template:Village pump page header‎‎. Users are expected to collaborate with others, to avoid editing disruptively, and to try to reach a consensus rather than repeatedly undoing other users' edits once it is known that there is a disagreement.

Please be particularly aware that Wikipedia's policy on edit warring states:

  1. Edit warring is disruptive regardless of how many reverts you have made.
  2. Do not edit war even if you believe you are right.

If you find yourself in an editing dispute, use the article's talk page to discuss controversial changes; work towards a version that represents consensus among editors. You can post a request for help at an appropriate noticeboard or seek dispute resolution. In some cases it may be appropriate to request temporary page protection. If you engage in an edit war, you may be blocked from editing.
Please also see WP:WHEELWAR, which also apparently applies to Padlock-pink.svg Template editors.{{U|Technical 13}} (etc) 00:34, 21 December 2014 (UTC)

It's not template protected so wheel war doesn't apply (though it would be good to avoid edit warring anyway). Callanecc (talkcontribslogs) 00:40, 21 December 2014 (UTC)
  • Callanecc, I was told during the discussion on my talk page that BRD doesn't apply to TEs in Template space regardless of what the protection level... It was the whole reason that {{Documentation}} is fully protected and the TE group was removed from me back in July. — {{U|Technical 13}} (etc) 00:44, 21 December 2014 (UTC)
I can't think where that would be supported by policy (though I haven't looked for the discussion to remove the right from you), an admin can make three reverts on an article or an unprotected template and not breach policy (3RR, forgetting EW more broadly) but if they do it on a fully protected page they have definitely breached policy. The same should apply to template editors, however that page was template editor protected so it would apply. Anyways, should probably move this discussion to one of our talk pages. Callanecc (talkcontribslogs) 00:49, 21 December 2014 (UTC)
  • Nah, not that important to me. I just wanted to make sure that this user was aware that they needed to be much more careful about re-reverting like this. Especially since a lot of their other TE required edits have been "questionable" to say the least. — {{U|Technical 13}} (etc) 01:04, 21 December 2014 (UTC)
  • This user apologises for his incorrect attempt to prompt another user to describe and discuss a problem. He notes, however, the seemingly partisan application of the warning template above. Sardanaphalus (talk) 09:51, 21 December 2014 (UTC)

Explanation of revert[edit]

Template:Sisterlinks
I rolled back only so you would see the revert on Special:Notifications. The formatting that you introduced broke the template so that it was displaying blank fields and the no input wasn't working. —Justin (koavf)TCM 08:29, 21 December 2014 (UTC)

  • Thank you for your considered action, including the message above. Sardanaphalus (talk) 09:51, 21 December 2014 (UTC)
  • I've now reintroduced collapsibility to a fresh copy of the template in the sandbox. Does it look okay to you – i.e. safe to apply to the main template – ? If so, do you know of a better way to prevent the first line of the template's heading ("Find more about") moving when the [hide/show] link is clicked..? Regards, Sardanaphalus (talk) 10:18, 21 December 2014 (UTC)

To answer your question... Parameter values that should not be used as classnames should not leak into the class attribute of the generated HTML; that may potentially cause classes being triggered which shouldn't. The logic I implemented prevents any parameter value to leak through. -- [[User:Edokter]] {{talk}} 15:37, 21 December 2014 (UTC)

  • Understood (though I'd hope it unlikely a parameter such as this case's collapsible would be set to a valid but unrelated/inappropriate value) and thanks for amending; I've now updated the main template accordingly. I've also noted mw-collapsible as a class. Sardanaphalus (talk) 08:57, 22 December 2014 (UTC)
  • I also retained the previous formatting for the template's title in order to prevent "Find more about" from being offset and moving when [collapse/expand] clicked. "mw-collapsible collapsed" doesn't seem to be working here, however – the template's instance on the Category:Contents page, for example, isn't collapsed when the page first appears..? Sardanaphalus (talk) 09:15, 22 December 2014 (UTC)
    • That should be fixed now. -- [[User:Edokter]] {{talk}} 10:27, 22 December 2014 (UTC)
      Yes, appears to be working fine here now – thanks. The code is cleaner but means there's that larger gap before the title begins; to avoid all this, I imagine it's an overhaul of the (mw-)collapsible class/es that's needed sometime..? Sardanaphalus (talk) 10:42, 22 December 2014 (UTC)
      No. mw-collapsible just inserts a right-aligned span, no floating. This was done to allow greater flexibility. I like it better this way, as it also prevents vertical overlap on smaller screens. -- [[User:Edokter]] {{talk}} 12:35, 22 December 2014 (UTC)
      I'd hope it's possible, though, to have something that didn't affect the formatting of whatever was beside it until sizes/overlaps/etc made that necessary. Sardanaphalus (talk) 14:54, 22 December 2014 (UTC)

Testing[edit]

I can only be certain in the wild, so to speak. It's not a problem for the template to be broken for a few seconds while you try it out and check some transclusions of it. Thanks for working on it. —Justin (koavf)TCM 19:20, 21 December 2014 (UTC)

It is a problem if in those few seconds the job queue happens to reach the template and puts the test version into live articles. A bad template edit on 14 November 2014 (which existed for just eight minutes) was still causing trouble nearly three weeks later (see User talk:Mattbuck#it broke everything on this page), and I have no way of knowing if bad versions are still out there. Live templates should never be used as testbeds; there are at least two ways of testing templates without compromising live articles. One is the template's sandbox and testcases. The other is to make your edits in the live template, do not save this, instead go to the bottom below the Save page button where you will find a box titled "Preview page with this template" within which is an entry window; in that enter the name of an article which is known to use that template, and whose present behaviour is also known; to the right of that you will see a second Show preview button - click that. --Redrose64 (talk) 22:20, 21 December 2014 (UTC)
I entirely agree with Red here. I will note that if you click the second show preview button (you need to specify a test page) without having clicked the regular preview or changes button first, you will loose your changes in the edit box (at least I do). — {{U|Technical 13}} (etc) 22:40, 21 December 2014 (UTC)
Has this been reported as a (possible) bug / undesirable feature..? (I haven't tested it here yet.) Sardanaphalus (talk) 08:57, 22 December 2014 (UTC)
Testing by editing and saving live templates is not a bug; although undesirable, it is not the fault of the software but bad practice on the part of the user. --Redrose64 (talk) 15:00, 22 December 2014 (UTC)
  • "...if you click the second show preview button [...] without having clicked the regular preview or changes button first..." – is that bad practice, or perhaps something the software might handle..? (Did you mean the above to be less indented..?) Sardanaphalus (talk) 15:11, 22 December 2014 (UTC)
    • I actually believe it is connected to the fact that I use WP:wikEd. No, I haven't reported it to Cacycle (wikEd guy) or Anomie (expand templates guy) yet as I haven't had the time to try and track down any details that I can about how or why it happens and I generally prefer to give as many details as I can or I don't expect the developer to be able to fix the problem and I'm not wasting time filing a report if they can't fix it. I know, it's a bit convoluted in my head on these things, but... — {{U|Technical 13}} (etc) 15:22, 22 December 2014 (UTC)
      • If wikiEd works like I expect (replacing the standard edit box with its own and hooking the normal submission buttons to sync the contents of the two before submitting), I'd guess the problem is that wikiEd is somehow not hooking the submission via the TemplateSandbox preview button so wikiEd's edit form never gets synced into the standard textbox. Anomie 15:38, 22 December 2014 (UTC)