Wikipedia:Help desk/Archives/2018 October 5

= October 5 =

supressing empty fields in infoboxes
Hi,

I am completely new to the Mediawiki and Semantic Mediawiki software and am setting up a wiki for academic use. One of the things i need to do is to add infoboxes for so-called resources (papers, books, proceedings, archival material, etc) and to this end I am creating a template. The easiest would be to have a template where I can add all kinds of fields and, depening on the type of resource, the user can leave certain fields empty. So, for instance, if the resource is a book, the field "journal" should be left empty /and/ should not show in the infobox. Could you please tell me what would be the required syntax to suppress empty fields?

I tried: ! Title

But that is not working. — Preceding unsigned comment added by Lidemol (talk • contribs)
 * There is a meta template infobox. You can use it Ruslik_ Zero 08:39, 5 October 2018 (UTC)
 * Your example should make everything optional if you only want to display "Title" when there is a title. This should work:


 * Note that two of the pipes  are replaced by   per mw:Help:Magic words. Pipes would have been interpreted as part of the #if syntax. PrimeHunter (talk) 08:55, 5 October 2018 (UTC)


 * Thanks so much: it works (I am using Page Forms to create the templates)

How many edits required to avoid AfC?
Could anyone tell me what the edit count/age of account requirement is to avoid newly created articles going to AfC? AugusteBlanqui (talk) 08:46, 5 October 2018 (UTC)
 * Quality of article, not how long someone has been an editor nor how many edits. David notMD (talk) 11:15, 5 October 2018 (UTC)
 * Autoconfimred users are able to create articles directly in mainspace. That means the account must be at least four days old and have ten edits. PrimeHunter (talk) 11:35, 5 October 2018 (UTC)
 * Note that although autoconfirmed users can create articles directly to the mainspace, they have to be reviewed by a new page patroller before they will be indexed by search engines. LittlePuppers (talk) 13:25, 5 October 2018 (UTC)
 * Apologies for my before-morning-coffee answer. I was thinking of what it took to avoid articles going to AfD. David notMD (talk) 17:21, 5 October 2018 (UTC)

How to add a photo in my first article?
How to add a photo in my first article? — Preceding unsigned comment added by ColeCole714 (talk • contribs) 12:23, 5 October 2018 (UTC)
 * Hello, images should ideally be uploaded to Wikimedia Commons where the upload wizard will help with the licensing and copyright aspects. Images should be your own work or ones where you can provide evidence of permissions. External images cannot be added and ones lacking permissions will likely be swiftly deleted. See also WP:UPIMAGE. Cheers. Eagleash (talk) 12:49, 5 October 2018 (UTC)

Cheers! — Preceding unsigned comment added by ColeCole714 (talk • contribs) 12:53, 5 October 2018 (UTC)

Deleting not whole page but section of page history
Hello, all. I’m not sure is this is the right place to ask, but I’ve made a doofus mistake and I’m wondering if there’s a remedy. I work a bit with folks at edit-a-thons and in classroom assignments where we usually have new users create an article in their sandbox and move it to article space. I wasn’t thinking and during an edit-a-thon created an article in my own (extensively used) sandbox space, and when I moved it, it kept all of my sandbox history. So now the live article history, from https://en.wikipedia.org/w/index.php?title=Indie_Photobook_Library&oldid=807078609 and back, is actually my sandbox history. That link, for example, is actually a different article that I was working on with a student. Should/could my sandbox history be deleted from the main article history? To confirm: I’m not asking that the page be deleted, just that the edit history prior to https://en.wikipedia.org/w/index.php?title=Indie_Photobook_Library&oldid=807078609. I wasn’t sure how/where to place this in AfD or MfD queues. Thanks! AmandaRR123 (talk) 14:41, 5 October 2018 (UTC)
 * What you need is called a 'history merge'. See Requests for history merge. An administrator will be able to put the history of your sandbox back to where it was, separating it from the article. RGloucester  — ☎ 15:08, 5 October 2018 (UTC)
 * Thank you so much! That's what I needed to know. AmandaRR123 (talk) 16:04, 5 October 2018 (UTC)

How much time a draft take to be published?
Hi,

I have submitted an article in wikipedia on 30th June 2018 but it is still in draft not published. When it will get published? Any timeframe? — Preceding unsigned comment added by Suraj.Jain24 (talk • contribs) 17:30, 5 October 2018 (UTC)
 * On the assumption this relates to Draft:CARS24, the page has not been submitted for review. If you consider that it is ready for consideration for mainspace then you can place  at the top of the page which will submit it. Please be aware the the review process can take up to eight weeks. Please remember to sign your posts on talk pages by typing four tildes . Thank you. Eagleash (talk) 17:44, 5 October 2018 (UTC)
 * You did not submit it for review. Please follow all of the steps at WP:YFA. If you submit it in its present form, it will be declined. The very first step is to assert and document notability by our definition, not yours (see WP:NOTABLE, and specifically WP:NCORP) and cite reliable sources (seeWP:RS). It is highly unlikely that you can do this, but if you can and if you have further problems when you get to the "submit" step, then come back here. See also WP:PAID to ensure that you are compliant with our terms of service. -Arch dude (talk) 17:50, 5 October 2018 (UTC)

Can you please mention here that which source seems to be unreliable? — Preceding unsigned comment added by Suraj.Jain24 (talk • contribs) 17:48, 7 October 2018 (UTC)
 * I was unclear. To establish notability, you need sources that are reliable and that also meet four other criteria. Please look at the example evaluation matrix at WP:NCORP, and attempt to create such a matrix for the sources in your article Perhaps leave your matrix on the talk page of your draft. This help desk is high volume, which means our discussion here will disappear into the archives soon. Therefore, we should continue this conversation on that talk page. Have you complied with WP:PAID? Please do so immediately if applicable to avoid being blocked. Please sign your posts with four tildes ( ~ ) to simplify our life. -Arch dude (talk) 18:06, 7 October 2018 (UTC)

Infowars
I will no longer be making any donations to your business since you betrayed our friend Alex Jones. He is NOT fake news. If you want to watch some fake news just turn on CNN or I guess just look in the mirror. Now your company is Fake News since you have lied about Alex Jones. I will not be using your product for anything, ever again. Not until you retract your false claims against Infowars and Alex Jones. Wikipedia has just bowed down to the corruption that's infected this world. I'm ashamed of you. I'm done with you. You. Are. Finished. — Preceding unsigned comment added by 2605:A000:D241:C200:34AF:835B:30AB:4A44 (talk) 17:51, 5 October 2018 (UTC)
 * Wikipedia is not a business - it is a collaborative encyclopedia. Unlike many programs that produce content designed to boost ratings and sell products, Wikipedia is driven by group consensus fueled by reliable sources. If you disagree with any content, you can discuss on the articles' talk pages.TimTempleton (talk) (cont)  19:13, 5 October 2018 (UTC)

Portal link in template
Hi, how can I make the portal button in the footer of Template:Martial arts be displayed centered?--Neufund (talk) 19:54, 5 October 2018 (UTC)
 * I'm not sure you can - I only see a left justification parameter There's more info at Template:Portal. TimTempleton (talk)  (cont)  00:08, 6 October 2018 (UTC)
 * You could work around this using  instead, if you are OK with the slightly different layout. I tested it in preview (very briefly) and it seems to work fine. GermanJoe (talk) 00:19, 6 October 2018 (UTC)
 * Thanks a lot for that suggestion! I'm still surprised, though, that we still need workarounds for things like that, here ...--Neufund (talk) 19:51, 6 October 2018 (UTC)

How to
How do I add to a talk page? — Preceding unsigned comment added by 173.53.63.133 (talk) 20:35, 5 October 2018 (UTC)


 * Just go to the talk page and click the "+" button at the top to start a new section. If you want to add to an existing discussion, click "Edit" for that section, then use a colon  at the start of your line to indent your reply (or use one more colon than the previous person).   Dbfi<i style="color: #4e4;">r</i><i style="color: #4a4">s</i>  20:40, 5 October 2018 (UTC)


 * What Dbfirs refers to as the "+ button" may be labelled "New section". --David Biddulph (talk) 20:44, 5 October 2018 (UTC)

I looked, but I don't see a + button. If it helps, it's a user talk page. — Preceding unsigned comment added by 173.53.63.133 (talk) 22:48, 5 October 2018 (UTC)
 * I see that you are using the mobile device version. The "+" or "new section" tabs are on the desktop version. at the bottom of the mobile page, select "desktop" and then hit the talk tab and then proceed with the "+" or "new section. -Arch dude (talk) 23:20, 5 October 2018 (UTC)