Template talk:Tweet

From Minecraft Wiki
Jump to: navigation, search

clean up capitalization[edit]

I am wondering if we could maybe clean up how these things are capitalized. In the 1.9 article, for instance, in the references section, you'll see TheMogMiner, themogminer, SeargeDP, seargedp, etc. It seems that we could have all those point to either a properly-capitalized version (TheMogMiner, SeargeDP) or a completely-lowercased version (themogminer, seargedp) of the account name. If only for uniformity.

I took a look at the code here, and I'm not sure I can quite suss it out myself, I'm a little out of practice.

Sealbudsman (Aaron) SealbudsmanFace.png t/c 20:01, 8 April 2015 (UTC)

 Done. Feel free to add any additional names to the list. KnightMiner t/c 20:36, 8 April 2015 (UTC)
 Great! Just as I'd imagined it. – Sealbudsman (Aaron) SealbudsmanFace.png t/c 02:23, 9 April 2015 (UTC)

I have another vision[edit]

I saw this on Seecret Friday and I thought it was neat, so I replicated it on the 1.9 page.

What if we set it up so that:

{{tweet|TheMogMiner|520570973305995264|@DC_MasterMind It's to make entity models and animations part of resource packs, like block models in 1.8|2014|10|10}}

would print:

"@DC_MasterMind It's to make entity models and animations part of resource packs, like block models in 1.8" – @TheMogMiner, Oct 10, 2014

Sealbudsman (Aaron) SealbudsmanFace.png t/c 16:23, 4 June 2015 (UTC)

Maybe we can setup a widget (or something like that) which loads the tweet automagically (although it would probably slow down the loading process of pages which use many tweet templates). I, however, would totally support it . | violine1101(Talk) 18:32, 4 June 2015 (UTC)
 Netural - Although I do like it, someone could change the description of the tweet to something offensive or misleading BDJP (t|c) 19:36, 4 June 2015 (UTC)
 Neutral. –LauraFi - talk 19:56, 4 June 2015 (UTC)
I don't see why not, though the date stuff could be a single parameter since we standardize dates on the style guide anyways. I would actually support better descriptions on more references overall
@BDJP007301: Yes, but someone can do that with anything we add on the wiki, it will just get reverted. And since these would be quotes, the wording should basically be the same as on the tweet. KnightMiner t/c 20:37, 4 June 2015 (UTC)
I do think the parameter would be best designed as a 'quotes-only' parameter, since it's twitter (direct text from a developer), and since it would only really be used in a {{reflist}} (no need for embellishment or clarification like in a normal section). – Sealbudsman (Aaron) SealbudsmanFace.png t/c 20:53, 4 June 2015 (UTC)
Here is a sample code that adds this feature. See my sandbox for a preview of it working. KnightMiner t/c 01:28, 10 June 2015 (UTC)
KnightMiner and Sealbudsman, I just tried to add a reference to 1.9 (this one), and with this "experimental stuff", its really hard to point out what is and what is not wiki text. With that, I now  Strongly oppose this change. BDJP (t|c) 15:59, 15 June 2015 (UTC)
Well, I do see what you mean. If it makes the page burdensome, I mean, I'm not wedded to this. Tangentially but a little related, we could use a little code-coloring in here. – Sealbudsman (Aaron) SealbudsmanFace.png T/C 16:09, 15 June 2015 (UTC)
It is a little harder on the editing, yes, but the main reason I am for these better links are the advantages of reducing sites users have to go to to get information (especially in the case of users who have twitter.com banned on their network), and making references a little easier to manage (for example, two tweets with the same ID are hard to spot, but if there is some context for the ID, it is much easier). In my opinion, those advantages outweigh it being a little harder on the editing, and since few articles actually require references, I don't think it is too much of an issue. In any case, I do agree with Sealbudsman that some syntax highlighting would be a good solution, though the one Wikipedia uses seems a little too buggy at this time.
Since this will end up affecting more then just tweets, I've started a topic on the style guide discussing adding this for a few more link types. Feel free to leave your opinion there as well. KnightMiner t/c 16:14, 15 June 2015 (UTC)
What about violine1101's idea of dynamically loading the tweet text via a 'widget'? First of all, is that a real thing? Second, that would cut down on the in-source distracting text, and reduce transcription errors. But first that would have to be a real thing. And probably asynchronous too. – Sealbudsman (Aaron) SealbudsmanFace.png T/C 16:27, 15 June 2015 (UTC)
I don't really know if it's possible. I just read about the twitter api and it seems that twitter needs to be able to authenticate everyone who wants to use its api. That means the wiki would need an extension to be able to communicate with the twitter api.
Read this for further information: https://dev.twitter.com/rest/reference/get/statuses/show/:id
I'll look into this when I have vacation - But now this looks very complicated to me. | violine1101(Talk) 15:21, 18 June 2015 (UTC)
(edit conflict) I don't think we should remove convenient references just because it adds to the reference wikitext clutter. However, better ways to implement it would be good to consider.
  1. We could use the indirect reference style, where the reference information is stored in the references section instead. Far tidier but inconvenient to work with, especially if you're section editing as you have no way to modify or even see the reference text.
  2. We could format the references in a manner that is easier to read. One line per parameter, for instance. That would take up more room, however.
  3. We could use a script to pull the text, or even a full twitter widget. This is nice as it creates no wikitext clutter and can't be tampered with, and we could also reasonable easily have the links in the tweet work if we wanted to. However you can't search the wikitext (or page content though search engines) to find a particular reference, and it would add a slight delay until the tweet text shows up.
I would consider this an even more useful feature if I ever get around to adding my old reference tooltip script to the wiki, then ideally users would never have to leave the part of the page they are reading in order to read the reference (either having to be scrolled to the reference and back again, or viewing the reference in a tooltip but having to navigate to a different site to read it). MajrTalk
Contribs
16:33, 15 June 2015 (UTC)
Was your script something like this: http://dev.wikia.com/wiki/ReferencePopups ? I do like those reference tooltips. – Sealbudsman (Aaron) SealbudsmanFace.png T/C 17:38, 15 June 2015 (UTC)
Majr, have you given much consideration to adding reference tooltips? – Sealbudsman talk/contr 23:40, 29 February 2016 (UTC)
Reference tooltips are enabled globally now. They can be disabled from the tooltip itself, the reference section, or your preferences. MajrTalk
Contribs
07:47, 8 May 2016 (UTC)
Very cool! Wow it's like Christmas in July, in May. – Sealbudsman talk/contr 13:26, 8 May 2016 (UTC)