Help desk | ||
---|---|---|
< March 30 | << Feb | March | Apr >> | April 1 > |
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. |
Not a question
|
---|
I see this site constantly ask for donations yet I see how biased this website has become. Quite frankly, I used to depend on this site to provide dependable information. Unfortunately, this couldn't be further from the truth in 2022. You'll never see a dime from me or many visits to the site going forward. Shame on you. — Preceding unsigned comment added by 50.227.61.130 (talk) 02:43, 31 March 2022 (UTC)
|
Is there a way have some piece of text, which appears once in the Wikitext, appear two or more times in arbitrary locations on the resulting page? Essentially, it would be like creating and using a one-off template, except all on a single page. Is there already some sort of lambda calculus-y metatemplate?
In case I'm having a brain fart, and to address the XY problem, I'll say that I'm specifically trying to make a table of template test cases like this:
Wikitext | Template | Sandbox |
---|---|---|
<testcase 1 Wikitext> | <testcase 1 output> | <testcase 1 sandbox output> |
<testcase 2 Wikitext> | <testcase 2 output> | <testcase 2 sandbox output> |
... | ... | ... |
which the current testcase templates don't support (though someone proposed it a couple years ago). Because I want the cases to be easy to create and edit in the future, the Wikitext specific to each case should appear only once in the source Wikitext. Each case can thus be edited without having to synchronize copied text, and new cases are easily made by duplicating existing ones.
At first I tried:
((Expand wikitext | ((Unstrip | ((Replace | <nowiki>((Testcase table|_showheader=no|_rowheader=$|$))</nowiki> | $ | TESTCASE_ARGUMENTS )) )) ))
but ((Replace)) doesn't work on text within nowiki tags (e.g., ((Replace|a<nowiki>a</nowiki>a|a|b))
produces 'bab'). Why is that?
I then discovered ((Make code)), which exists to avoid nowikis, so I ended up with this:
((Expand wikitext | ((Make code | ((Replace | 1=<<Testcase table!_showheader=no!_rowheader=$!$>> | 2=$ | 3=TESTCASE_ARGUMENTS )) )) ))
which works, but is long and hard to understand, especially because of the ((Make code)) replacement. Is there a better way? And what about the general case, such as an article that contains multiple instances of a statistic that must be updated?
— wqnvlz (talk · contribs) 05:23, 31 March 2022 (UTC)
Edit: Formatted Wikitext — wqnvlz (talk · contribs) 05:33, 31 March 2022 (UTC)
Hi, I made a page about an artist a few months ago and it’s still not published? Any idea of why this would be? https://en.m.wikipedia.org/w/index.php?title=User:Frida1984&oldid=1047399556 — Preceding unsigned comment added by Frida1984 (talk • contribs) 06:37, 31 March 2022 (UTC)
((subst:submit))
text there (on its own line at the top of the page).subst:
prefix, which causes it to be substituted. That is, when you save the page, ((subst:submit))
is replaced in the Wikitext source by the 'Pending' header. Most other templates are transcluded instead of substituted, which means ((<name of template>))
remains saved in the Wikitext source and will be visible when source editing. More on templates at Help:Templates.Insert
> Template
, and include the subst:
prefix when entering the template name.~~~~
after your message.I recently made a small change to the following article: https://en.wikipedia.org/wiki/CPUID#EAX=80000006h:_Extended_L2_Cache_Features
I clumsily pressed enter before filling out the reasoning behind the change. Was going to add a reference showing previous code contained a typo.
Browsing through FAQ, help pages and how-to's leads me to several options:
1) "undo" the change and republish the same change with an explanation (leads to three changes for a tiny typo-correction in history) 2) Publish a "dummy-change" with an explanation 3) Leave a note on the articles talk page 4) Leave "as is" since the change is self-explanatory to anyone who has used fputs() in C
Q1: What is the preferred way to provide a clarification in this instance?
Q2: If I stumble into the same situation again. And I feel an explanation must be provided to motivate a change, what is the best way to go back and provide such an explanation? — Preceding unsigned comment added by Vospup (talk • contribs) 10:37, 31 March 2022 (UTC)
Hello,
On the page 2022 French presidential election, the link "R!" below the candidate Éric Zemmour in the infobox is "Reconquête (political party)", which should simply be "Reconquête" to avoid a redirection. If the link is corrected directly on the page (which I tried to do), the colour below the candidate in the infobox disappears. Could someone fix that please, i.e. create a new colour template for the link "Reconquête" alone, as I do not know how to do that? Thank you.
2A02:A452:7DDC:1:3D9D:FC45:B61A:238D (talk) 11:41, 31 March 2022 (UTC)
I can see how to use this template with the "s" ...intending to run the 21,000 pounds (9,500 kilograms) locomotive... However I want to drop BOTH "s"s to where it reads ...intending to run the 21,000 pound (9,500 kilogram) locomotive.... Can someone add the needed parameter to drop the "s"s. Please reply here with the example corrected template to use and I will see it. Thanks.--Doug Coldwell (talk) 14:26, 31 March 2022 (UTC)
((convert|21,000|lb|kg|adj=on|abbr=off))
locomotive" renders as "intending to run the 21,000-pound (9,500-kilogram) locomotive" Firefangledfeathers (talk | contribs) 14:36, 31 March 2022 (UTC)
Hi all, is it possible to link to the open edit window with an internal link rather than an external? SN54129 16:34, 31 March 2022 (UTC)
I have a problem for editing as one the editiors is reverting my edits and I have discussed that here.Can anyone help me with it.the problem I had was that the current version includes the variant of a language in the lead of an article.Is that normal!?should we add all variants of a language in the lead of an article and make in overwhelmed with unnecessary information?!Simsala111 (talk) 19:08, 31 March 2022 (UTC)
Hi, I'm trying to use the following page as a reference ((cite web|url=https://www.hertfordshire.gov.uk/services/schools-and-education/schools-directory/school-directory.aspx?searchInput=&page=1&resultsPerPage=50&view=List&categoryfilters=|&schoolTypes=Primary&schoolLocation=Ware%20and%20surrounding%20villages#resultsContainer |title=help)) Unfortunately it has "|" in the URL which is breaking the cite web template. I can't find anywhere in the template documentation that addresses this. Is there a workaround? RicDod (talk) 19:12, 31 March 2022 (UTC)
I want to request a site to release their works under a compatible license. Where can I find an example of email to request the permission? Dr Salvus 19:46, 31 March 2022 (UTC)
Hello, my problem is the following; my employer has a Wikipedia page about him which he unfortunately lost access to. The difficulty comes from the fact that it is a former employee with whom we are no longer in contact who had created the account and therefore who has access to the email address used to create the account. We tried to contact him for months without any return on our request. How can we regain access to this account? We can provide you with any required document to prove the identity of my employer as the page is about him and his achievements. Also, the text was written by him so there should be no copyright issues. — Preceding unsigned comment added by 41.140.176.186 (talk) 22:33, 31 March 2022 (UTC)
Is there a way to get the intersection of: Category:Articles with Internet Archive links and Category:English-language films ? for Category:English-language films with Internet Archive links ... 0mtwb9gd5wx (talk) 22:54, 31 March 2022 (UTC)
If I type a redirect page title (eg First Falcon Cliff lift) into the search bar, it takes me straight to the destination article, namely Cliff railways in the Isle of Man. Since this example is a redirect-to-section, it scrolls the article to the correct section. To get to the redirect page itself, I have to scroll back to the top, then click on the 'Redirected from...' link under the article name.
If I enter the redirect page URL into the address bar, I can add &redirect=no to open the redirect page immediately.
Is there anything I can enter into the search bar, that will stop the redirect and open the redirect page itself? And if so, where is it documented? --Verbarson talkedits 23:22, 31 March 2022 (UTC)