Wikipedia:Help desk/Archives/2016 November 29
Help desk | ||
---|---|---|
< November 28 | << Oct | November | Dec >> | November 30 > |
Welcome to the Wikipedia Help Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current Help Desk pages. |
November 29
[edit]Lua Error with new template
[edit]Hi all, I'm getting a Lua Error for the expression '{' when trying to create a new template. I've run through the code a couple times but cannot figure out what is going wrong. Here's the link for my template: User:Curoi/Template:Election box referenda. I was attempting to replicate the template Template:Infobox referendum/results. You can see what I'm trying to do in the List of Oregon ballot measures page in November 2014 general election. Any ideas? --Curoi (talk) 00:15, 29 November 2016 (UTC)
- I seemed to have isolated the issue. When running the :
{{#expr: {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} }}
expression in the sandbox template space, I get the following error: Expression error: Unrecognized punctuation character "{".. Curoi (talk) 04:40, 29 November 2016 (UTC)- Hello Curoi, the reason you are getting the error message is because while the template #expr: expects a number as input, the expression {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} returns the output {{{yes}}} + {{{no}}}. Therefore the error message shows "{" as an unexpected character. Thanks. Lourdes 06:04, 29 November 2016 (UTC)
- @Curoi: {{{yes}}} and {{{no}}} should be assigned values by the caller and then the quoted expression evaluates correctly. If you want to avoid the error message on the page itself and when a caller doesn't assign them then you can assign default values with code like {{{yes|0}}} and {{{no|0}}} each time they are used. I have added a missing pipe.[1] PrimeHunter (talk) 10:47, 29 November 2016 (UTC)
- @PrimeHunter and Lourdes: I kind of thought that was the reason, however, I still don't understand how the Template:Infobox referendum/results is able to do just that. I'm trying to pass a template variable into the #expr parser function as was done in that template. Is there another way to simply add two variables together without resorting to more complicated means like Scribunto or something? Maybe I just have to make the template page first and then it will work. Curoi (talk) 17:40, 29 November 2016 (UTC)
- @Curoi: Your code correctly adds the variables when they are numbers. Template:Infobox referendum/results avoids an error message on the template page by saying
{{#if: {{{yes|}}} |...code which assumes {{{yes}}} is non-empty...}}
. The addition is never made when the top of the template page before the documentation is rendered. But lots of templates display an error message on the template page itself because a mandatory parameter is not set. Don't worry about that. Just make the template work when it's called with valid assignments of mandatory parameters. PrimeHunter (talk) 18:21, 29 November 2016 (UTC)
- @Curoi: Your code correctly adds the variables when they are numbers. Template:Infobox referendum/results avoids an error message on the template page by saying
- @PrimeHunter and Lourdes: I kind of thought that was the reason, however, I still don't understand how the Template:Infobox referendum/results is able to do just that. I'm trying to pass a template variable into the #expr parser function as was done in that template. Is there another way to simply add two variables together without resorting to more complicated means like Scribunto or something? Maybe I just have to make the template page first and then it will work. Curoi (talk) 17:40, 29 November 2016 (UTC)
- @Curoi: {{{yes}}} and {{{no}}} should be assigned values by the caller and then the quoted expression evaluates correctly. If you want to avoid the error message on the page itself and when a caller doesn't assign them then you can assign default values with code like {{{yes|0}}} and {{{no|0}}} each time they are used. I have added a missing pipe.[1] PrimeHunter (talk) 10:47, 29 November 2016 (UTC)
- Hello Curoi, the reason you are getting the error message is because while the template #expr: expects a number as input, the expression {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} returns the output {{{yes}}} + {{{no}}}. Therefore the error message shows "{" as an unexpected character. Thanks. Lourdes 06:04, 29 November 2016 (UTC)
Donation to Wikipedia
[edit]I know this is not the correct site for my remark, but you may be able to pass it on: i was happy to donate a modest amount to wickipedia until I read the part about allowing my personal particulars to be used by wikipedia. The explanation on exactly how this information would, or could be used was, in my opinion,vague. I question why my personal details are relevant once the donation is made. I would need a better explanation on why and how my personal details could be used before I donate. I suspect that many others are like minded. 1.132.96.168 (talk) 00:27, 29 November 2016 (UTC)
- This may be helpful in regards to how your information is used. -- Dane2007 talk 00:30, 29 November 2016 (UTC)
How to edit
[edit]How do you edit articles? — Preceding unsigned comment added by Maxspace64 (talk • contribs) 02:39, 29 November 2016 (UTC)
- Welcome to Wikipedia. Check out Help:Getting started. It has links to tutuorials and other useful things to help you learn how to edit. RudolfRed (talk) 02:46, 29 November 2016 (UTC)
- Pinging the new editor: hello, Maxspace64. RudolfRed's link should answer the bulk of your question. TigraanClick here to contact me 09:15, 29 November 2016 (UTC)
2017-18 United States Network Television Schedule
[edit]I Think I created the 17-18 schedule on the talk page but it is suppose to be on the main page.2600:8803:7A00:19:4DE4:4A01:85CC:DF68 (talk) 04:01, 29 November 2016 (UTC)
- I have moved it from Talk:2017-18 United States Network Television Schedule to 2017–18 United States network television schedule (removing the incorrect capitalisation), but it may again be deleted as WP:TOOSOON. Note also that you have a number of referencing errors. --David Biddulph (talk) 04:13, 29 November 2016 (UTC)
Thank you David Biddulph for your help but I hope this Category stays. 2600:8803:7A00:19:4DE4:4A01:85CC:DF68 (talk) 16:46, 29 November 2016 (UTC)
Page with pasted info in it?
[edit]I came across this page: Suzie Del Vecchio and googled some of the info. It looks like it's mostly copied from this publicity site. I ran the article through the copyvio detector but it says it's an unlikely violation for speedy deletion. What else can be done? Thanks --Jennica✿ / talk 07:21, 29 November 2016 (UTC)
- The fact that its been translated into English and some of the characters from the original language have been kept in the song titles will throw the results of the automated detectors. Looking at it with human eyes, its obviously a copyvio. Treat it as such. - X201 (talk) 08:08, 29 November 2016 (UTC)
My Page - Pt. Om Prakash Mishra
[edit]Pt. Om Prakash Mishra (edit | talk | history | protect | delete | links | watch | logs | views)
Hi,
My Wikipedia Page - en.wikipedia.org/wiki/Pt._Om_Prakash_Mishra has been deleted couple of times. Will you please solve the issue — Preceding unsigned comment added by Opmishra123 (talk • contribs) 11:12, 29 November 2016 (UTC)
- Hello, firstly, you may have written it, but it is not your page, it is a Wikipedia article about you. There are obvious problems in respect of conflict of interest and autobiography. Further, the page is currently nominated for deletion at Wikipedia:Articles for deletion/Pt. Om Prakash Mishra as it fails Wikipedia's quite stringent rules on notability (follow the links at the discussion page as well as the blue links above for more information). Wikipedia articles are written by independent editors without direct connection to the subject and are based upon what has been written about the person in reliable independent sources. Twitter, Facebook and own websites do not constitute reliable sources in the great majority of cases. Regret we cannot be of more assistance. Eagleash (talk) 11:28, 29 November 2016 (UTC)
- As unelected politicians are not normally deemed notable, in Wikipedia's use of the word, probably the only way that the "issue" will be "solved" is by you getting elected - Arjayay (talk) 15:20, 29 November 2016 (UTC)
Change title of the page
[edit]Anant Kumar Ojha (edit | talk | history | protect | delete | links | watch | logs | views)
https://en.wikipedia.org/wiki/Anant_Kumar_Ojha
This is the page which I had created. It's about an Indian politician who won in election & is presently MLA in Jharkhand. I want to change the title of the Page as Anant Ojha instead of Anant Kumar Ojha & again, want to make url as https://en.wikipedia.org/wiki/Anant_Ojha
Is it possible to do either of these things?? If yes, please do it; I am new to Wikipedia editing. You can write in initially as Anant Ojha (also known as Anant Kumar Ojha)
This person is popular with name as Anant Ojha. One can search on internet as well! Please help me. — Preceding unsigned comment added by Frosterrace (talk • contribs) 13:14, 29 November 2016 (UTC)
- Frosterrace, in order to change the name of an article, the article must be moved to the new location. In order to do that, you can use the "More" menu up near the top of the page. It gives you the option to move the article. Please see WP:MOVE for more info. †dismas†|(talk) 14:08, 29 November 2016 (UTC)
- (edit conflict):Hello, I have taken the liberty of fixing the bare urls and tidying up some of the wording. Most of the entries via google give the full name and searching for Anant Ojha again produces entries with the full name. Do you have evidence that he is best known by the shortened version? If he is best known by that name, the page can be moved. Please sign your posts on talk-pages by typing four tildes (~~~~) and link to pages by typing [[:WP:Page name]]. Thanks. Eagleash (talk) 14:11, 29 November 2016 (UTC)
Referencing errors on Dialect comedy
[edit]Reference help requested. What is wrong with the reference --Mfalzone24 (talk) 14:54, 29 November 2016 (UTC) Thanks, Mfalzone24 (talk) 14:54, 29 November 2016 (UTC)
- @Mfalzone24: The message you got is from 4 October. It was fixed the same day in [2]. PrimeHunter (talk) 15:02, 29 November 2016 (UTC)
2017 in music
[edit]I Think I Created the 2017 in music on the talk page but it's suppose to be on the main page if you can help me thanks. 2600:8803:7A00:19:4DE4:4A01:85CC:DF68 (talk) 16:48, 29 November 2016 (UTC)
- To be able to create "main" pages you need to register. Ruslik_Zero 17:11, 29 November 2016 (UTC)
I think that I incorrectly labeled my new wiki page.
[edit]The Gynocratic Art Gallery - The GAG (edit | talk | history | protect | delete | links | watch | logs | views)
Hi, Yesterday I created an entry for The Gynocratic Art Gallery - The GAG. I have been watching "how to" videos today, and think that I may have done so incorrectly. I was not asked, during the steps to creating the page, about the categories, etc for the subject. I am thinking that might be why it is now subject to deletion. Is there a way that i can go back and complete those categories?
Cheers. — Preceding unsigned comment added by Hogan2015 (talk • contribs) 16:52, 29 November 2016 (UTC)
- Please see Wikipedia:Articles for deletion/The Gynocratic Art Gallery - The GAG. The reasons it has been nominated for deletion have nothing to do with the lack of categories. General Ization Talk 16:56, 29 November 2016 (UTC)
- (edit conflict):The page is being considered for deletion at Wikipedia:Articles for deletion/The Gynocratic Art Gallery - The GAG as it fails Wikipedia's requirements in respect of notability. Wikipedia requires in depth discussion of the subject in independent reliable sources to demonstrate notability. You are free to continue improving the article whilst the discussion proceeds. Please sign your posts on talk-pages by typing four tildes (~~~~). Thank you. Eagleash (talk) 17:04, 29 November 2016 (UTC)
- FYI, the article has been deleted as unambiguous advertising -- Roger (Dodger67) (talk) 15:23, 30 November 2016 (UTC)
article
[edit]Hello,
I tried to do some simple editing of an article. Just to change a few words in the heading and re-write a sentence or two. I attemped no changes to the content of the article, but my few changes have set off a series of problems which I have no idea how to fix.
How can I reset the version back before I tried to make the changes? I think it will be the easiest way to solve the problem.
The article is titled "Richard Fletcher - Conductor"
I would appreciate any assistance you might be able to provide.
Thank you — Preceding unsigned comment added by Richardfletcher (talk • contribs) 19:08, 29 November 2016 (UTC)
- Hello, I have restored the page to the version before your edits. However your username indicates that you may have a connection to the subject. Please see WP:COI. You can request that edits be made at the article talk page. Please provide your sources. Eagleash (talk) 19:15, 29 November 2016 (UTC)
First Article
[edit]DreamWakers (edit | talk | history | protect | delete | links | watch | logs | views)
Would anyone be willing to glance at my first article post for Wikipedia? I'm unsure whether or not I cited with the correct symbols.
Thank you.
Norabma (talk) 21:40, 29 November 2016 (UTC)norabma
- Hello, I have done some very minor tidying of the headings etc. You need to place the references in line at the point they relate to. See WP:REFB for a guide to referencing. You need to use one of the templates found at WP:CITET and place them between ref tags (<ref></ref>). Please do not place just the urls between the ref tags. Then add {{reflist}} immediately under the references heading. This will produce a list of refs annotated to the text. Thanks. Eagleash (talk) 21:56, 29 November 2016 (UTC)
- @Eagleash and Norabma: I just moved the refs into ref tags and tagged the article for bare URLs. Pppery 22:06, 29 November 2016 (UTC)
- @Pppery: Thanks. I've fixed them and Maproom got the spaces before the refs. Eagleash (talk) 22:11, 29 November 2016 (UTC)