User talk:Galobtter: Difference between revisions
m Signing comment by DanyelCavazos - "→BBC source: new section" |
|||
Line 99: | Line 99: | ||
and cited him in quotation marks. But the presentation doesn't include only. |
and cited him in quotation marks. But the presentation doesn't include only. |
||
No, they have now changed the title of the BBC article. It's not cherrypicking, is actually completing the sentence written in the slides. |
|||
Also, I think we should include this, from the BBC article: |
Also, I think we should include this, from the BBC article: |
||
Prof Strumia has since defended his comments, saying he was only presenting the facts. <!-- Template:Unsigned --><small class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:DanyelCavazos|DanyelCavazos]] ([[User talk:DanyelCavazos#top|talk]] • [[Special:Contributions/DanyelCavazos|contribs]]) 13:51, 2 October 2018 (UTC)</small> <!--Autosigned by SineBot--> |
Prof Strumia has since defended his comments, saying he was only presenting the facts. |
||
[[User:DanyelCavazos|DanyelCavazos]] ([[User talk:DanyelCavazos|talk]]) 13:59, 2 October 2018 (UTC)DanyelCavazos |
|||
<!-- Template:Unsigned --><small class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:DanyelCavazos|DanyelCavazos]] ([[User talk:DanyelCavazos#top|talk]] • [[Special:Contributions/DanyelCavazos|contribs]]) 13:51, 2 October 2018 (UTC)</small> <!--Autosigned by SineBot--> |
Revision as of 13:59, 2 October 2018
Daily page views of User and User talk pages | |||||
User
User Talk
|
|
Short description code
Could you explain to me where I need to add that {{#invoke:string|match|s = {{:13 (number)}}|pattern = {{lessthan}}div class="shortdescription.->(.-)<}}
? --Gonnym (talk) 18:15, 19 September 2018 (UTC)
- Oh I see now. So if I change the "s" value with the name of the article I want, it should work? --Gonnym (talk) 18:17, 19 September 2018 (UTC)
- Gonnym yes; I made this into a template, which should be more convenient: {{Extract short description}}. Galobtter (pingó mió) 18:29, 19 September 2018 (UTC)
- Amazing! I was starting to read up on how Wikipedia's coding language works but you saved me time :) I was reading on parser functions, but couldn't find the one I need. I want to see if the article name entered is disambiguated with parenthesis ("()") and if so, pipe the name and style it according to the Manual of Style. So for The End (Lost) it would make the name "The End" (Lost). Is there any function available I can use? --Gonnym (talk) 18:50, 19 September 2018 (UTC)
- Gonnym I'm not sure if that is possible unless there's a way to know if something needs to be in quotes or italics - sometimes the disambiguator needs to be italics, sometimes the title except for what is brackets needs to be in italics, depending on the type of the work. So this is doable if the type of work (film, tv episode, song, book etc) and the formatting for each is specified. Or one can get how the title is displayed, which I'm trying to figure out how. (addendum: but that won't include quotemarks) Galobtter (pingó mió) 19:28, 19 September 2018 (UTC)
- I was trying to create a Template:Television episode disambiguation description template, which calls your {{Extract short description}} and passes it the article title. In this scenario, it will always know that the name is in quotes and the disambiguation in italics (sometimes the word "episode" is also included so it will need to ignore that). Does this make sense? --Gonnym (talk) 20:30, 19 September 2018 (UTC)
- yup, okay. I'll see about coding it, there isn't a function but it should be pretty easy to do as a module Galobtter (pingó mió) 20:33, 19 September 2018 (UTC)
- That's great to hear. I guess I'll read the completed module and learn how this language works. Thanks for all your help so far :) --Gonnym (talk) 20:46, 19 September 2018 (UTC)
- 3 examples of how this can be:
"TV episode"
,"TV episode" (TV Series)
and"TV episode" (TV Series episode)
. I've also seen exceptions like World Wharf II: The Wharfening (or How Bob Saves/Destroys the Town – Part II) so there probably should be another field added to the template of "ignore parenthesis" (true/false) which in this situation will treat that as part of the title; and A Game of Pool (The Twilight Zone, 1959) which is not actually discussed in WP:NCTV so no idea what the proper way is, but from the few episodes of the Twilight Zone that use this, the style is consistent of<TV series>, <4 digit year>
- but I guess for scenarios as The Twilight Zone this can be manually overwritten until/if a clear style is written into the guidelines. --Gonnym (talk) 21:06, 19 September 2018 (UTC)
- yup, okay. I'll see about coding it, there isn't a function but it should be pretty easy to do as a module Galobtter (pingó mió) 20:33, 19 September 2018 (UTC)
- I was trying to create a Template:Television episode disambiguation description template, which calls your {{Extract short description}} and passes it the article title. In this scenario, it will always know that the name is in quotes and the disambiguation in italics (sometimes the word "episode" is also included so it will need to ignore that). Does this make sense? --Gonnym (talk) 20:30, 19 September 2018 (UTC)
- Gonnym I'm not sure if that is possible unless there's a way to know if something needs to be in quotes or italics - sometimes the disambiguator needs to be italics, sometimes the title except for what is brackets needs to be in italics, depending on the type of the work. So this is doable if the type of work (film, tv episode, song, book etc) and the formatting for each is specified. Or one can get how the title is displayed, which I'm trying to figure out how. (addendum: but that won't include quotemarks) Galobtter (pingó mió) 19:28, 19 September 2018 (UTC)
- Amazing! I was starting to read up on how Wikipedia's coding language works but you saved me time :) I was reading on parser functions, but couldn't find the one I need. I want to see if the article name entered is disambiguated with parenthesis ("()") and if so, pipe the name and style it according to the Manual of Style. So for The End (Lost) it would make the name "The End" (Lost). Is there any function available I can use? --Gonnym (talk) 18:50, 19 September 2018 (UTC)
- Gonnym yes; I made this into a template, which should be more convenient: {{Extract short description}}. Galobtter (pingó mió) 18:29, 19 September 2018 (UTC)
Thanks for your fix, but why does replace not exist when I see it at Module:String (function str.replace( frame ))? Also, do you have any idea why line 9 (if (disambiguation == "false") then
does not work? Articles without disambiguation apparently move through). --Gonnym (talk) 13:52, 20 September 2018 (UTC)
- Module:String (which is for use in wikitext) calls it replace, but the lua function is gsub. Galobtter (pingó mió) 16:33, 20 September 2018 (UTC)
- Oh, that's confusing! I'm glad (or am I?) that at least the others were the same and sort-of worked. But, that may explain why the doc said the results appear as the number 0, where in reality they were nil. Would you mind giving me a review the module I created? It's my first one and I pretty much learned the syntax with trail-and-error. The template is User:Gonnym/sandbox/Test and the module is Module:Sandbox/Gonnym/Episode disambiguation description. If you think code from the template should move to the module, or the other way, let me know. Thank you for your help so far :) --Gonnym (talk) 16:42, 20 September 2018 (UTC)
- I took a look and only comment is that the lua pattern for finding the disambiguation and for getting articleTitle do almost the same thing so you'd may want to make them essentially the same, though that is a minor thing and I can't claim to be any sort of expert on lua having only learned it a six months ago (also, you're way better at documenting than me :)). Regarding moving code, I'd suggest moving all the code into the module; there's only a little to be moved from the template and it is nicer to have it all in one place. Galobtter (pingó mió) 16:55, 20 September 2018 (UTC)
- I know I appreciate a good documented codebase so I try and do the same :) Could you help me out with the pattern issue? I pretty much copied that from templates and don't really understand that well how that pattern works so don't know how to merge those two together. --Gonnym (talk) 17:02, 20 September 2018 (UTC)
- this and this are useful reading for understanding lua patterns, and - also, do you know regex? Galobtter (pingó mió) 17:06, 20 September 2018 (UTC)
- I know of it, but I just hate those patterns, I try and stay clear :) Merged the switch into the module, so now the only thing there is calling your short description template. Think the code can go mainspace, right? --Gonnym (talk) 17:37, 20 September 2018 (UTC)
- Another question, can you change Template:Extract short description to fail gracefully when it cannot find a description? Either leaving blank or some sort of "No short description found" would be better than the big red error. --Gonnym (talk) 17:43, 20 September 2018 (UTC)
- It now leaves a blank. Galobtter (pingó mió) 18:05, 20 September 2018 (UTC)
- Another question, can you change Template:Extract short description to fail gracefully when it cannot find a description? Either leaving blank or some sort of "No short description found" would be better than the big red error. --Gonnym (talk) 17:43, 20 September 2018 (UTC)
- I know of it, but I just hate those patterns, I try and stay clear :) Merged the switch into the module, so now the only thing there is calling your short description template. Think the code can go mainspace, right? --Gonnym (talk) 17:37, 20 September 2018 (UTC)
- this and this are useful reading for understanding lua patterns, and - also, do you know regex? Galobtter (pingó mió) 17:06, 20 September 2018 (UTC)
- I know I appreciate a good documented codebase so I try and do the same :) Could you help me out with the pattern issue? I pretty much copied that from templates and don't really understand that well how that pattern works so don't know how to merge those two together. --Gonnym (talk) 17:02, 20 September 2018 (UTC)
- I took a look and only comment is that the lua pattern for finding the disambiguation and for getting articleTitle do almost the same thing so you'd may want to make them essentially the same, though that is a minor thing and I can't claim to be any sort of expert on lua having only learned it a six months ago (also, you're way better at documenting than me :)). Regarding moving code, I'd suggest moving all the code into the module; there's only a little to be moved from the template and it is nicer to have it all in one place. Galobtter (pingó mió) 16:55, 20 September 2018 (UTC)
- Oh, that's confusing! I'm glad (or am I?) that at least the others were the same and sort-of worked. But, that may explain why the doc said the results appear as the number 0, where in reality they were nil. Would you mind giving me a review the module I created? It's my first one and I pretty much learned the syntax with trail-and-error. The template is User:Gonnym/sandbox/Test and the module is Module:Sandbox/Gonnym/Episode disambiguation description. If you think code from the template should move to the module, or the other way, let me know. Thank you for your help so far :) --Gonnym (talk) 16:42, 20 September 2018 (UTC)
- Hey, there is an issue with the template that is explained here User talk:Trappist the monk#Need your assistance, do you know how to fix it so it won't transclude the article? --Gonnym (talk) 21:59, 22 September 2018 (UTC)
- Gonnym, i've been looking at this for a bit and I'm unable to find a way to fix this unfortunately (the page needs to be transcluded so it can be parsed to find the short description) Galobtter (pingó mió) 08:52, 25 September 2018 (UTC)
- That's sad to hear. I've reached out in the Lua help page, maybe someone there has an idea. --Gonnym (talk) 21:32, 26 September 2018 (UTC)
- Gonnym, i've been looking at this for a bit and I'm unable to find a way to fix this unfortunately (the page needs to be transcluded so it can be parsed to find the short description) Galobtter (pingó mió) 08:52, 25 September 2018 (UTC)
Ha!
[1] - open season for RfCs on sourcing, it seems! Guy (Help!) 17:36, 25 September 2018 (UTC)
A Dobos torte for you!
7&6=thirteen (☎) has given you a Dobos torte to enjoy! Seven layers of fun because you deserve it.
To give a Dobos torte and spread the WikiLove, just place {{subst:Dobos Torte}} on someone else's talkpage, whether it be someone you have had disagreements with in the past or a good friend. |
7&6=thirteen (☎) 20:02, 25 September 2018 (UTC)
Hey, thanks :) !
Thanks for picking up on my suggestion at the Kavanaugh hearings talk page :) ! Sean Heron (talk) 22:10, 27 September 2018 (UTC)
Can you explain?
Please explain your statement that "I can't see that quote" in the Washington Times article that was the basis for reverting me [2]. To aid you, here is the article in question with the quote highlighted: (copyright violation removed) — Preceding unsigned comment added by Obsidi (talk • contribs) 04:00, 29 September 2018 (UTC)
- Obsidi please don't copy entire articles; that is a copyright violation and not allowed; sorry, I didn't see the "read more" button; anyways, I have removed the sentence in question Galobtter (pingó mió) 04:03, 29 September 2018 (UTC)
- Fine.
Can you please explain your statement then?-Obsidi (talk) 04:04, 29 September 2018 (UTC)
- Fine.
Genie
Hi Galobtter, I just saw that you removed the "special visitor note" ([3]) at the redirect "Genie (feral child" [sic]. In the edit summary you mention two links which according to you are pointing to this redirect. Perhaps I am blind (or it is hidden in some JavaScript stuff not showing in my browser) but I can only find links to the actual article page "Genie (feral child)" there, not links to the redirect (which was the whole point of the RfD). Am I missing something? Thanks and greetings. --Matthiaspaul (talk) 22:32, 30 September 2018 (UTC)
- Matthiaspaul, links to the redirect are in the opening post, e.g in the sentence "I was reading an article about Genie, the feral child." on [4] Galobtter (pingó mió) 06:45, 1 October 2018 (UTC)
- Thanks, but, well, that's what I thought as well reading your summary, but the link under the text "Genie, the feral child" goes straight to the article Genie (feral child) (with closing bracket) for me, not to the redirect Genie (feral child (without closing bracket). Doesn't it do this for you as well (in the status bar and when clicking on the link)?
- --Matthiaspaul (talk) 09:54, 1 October 2018 (UTC)
- Matthiaspaul, ok, for some reason when going to old reddit skin (the standard view until a year or so, and what I have set as the default) makes the link broken, but not with new reddit.. Galobtter (pingó mió) 10:00, 1 October 2018 (UTC)
- Great, thanks a lot for this observation. I don't know if you followed the recent RfD for the redirect, but in there we were searching for the cause, why this redirect got so many hits. Some people assumed it must be coming from Reddit, but all the links we found over there were fine. Miracle solved. :-)
- --Matthiaspaul (talk) 10:13, 1 October 2018 (UTC)
- Yeah I only knew the redirect existed due to the RfD Galobtter (pingó mió) 10:28, 1 October 2018 (UTC)
- Matthiaspaul, ok, for some reason when going to old reddit skin (the standard view until a year or so, and what I have set as the default) makes the link broken, but not with new reddit.. Galobtter (pingó mió) 10:00, 1 October 2018 (UTC)
BBC source
The BBC source incorrectly cited him, they mention he said: "Curie etc. only welcomed after showing what they can do, got Nobels..."
and cited him in quotation marks. But the presentation doesn't include only.
No, they have now changed the title of the BBC article. It's not cherrypicking, is actually completing the sentence written in the slides.
Also, I think we should include this, from the BBC article: Prof Strumia has since defended his comments, saying he was only presenting the facts.
DanyelCavazos (talk) 13:59, 2 October 2018 (UTC)DanyelCavazos
— Preceding unsigned comment added by DanyelCavazos (talk • contribs) 13:51, 2 October 2018 (UTC)