This page contains discussions that have been archived from Village pump (technical). Please do not edit the contents of this page. If you wish to revive any of these discussions, either start a new thread or use the talk page associated with that topic.
< Older discussions · Archives: A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF, AG, AH, AI, AJ, AK, AL, AM, AN, AO, AP, AQ, AR, AS, AT, AU, AV, AW, AX · 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213
re: this tfd is biased because the {{ tfd}} wasn't tagged inside the title of the template box. I had to {{ lts}} four other templates before I could figure out where the "orphaned" template deletion message was located. I'm not sure of where she applied the {{ tfd}} closing '}}' pair, and the history diffs aren't displaying the change in red as usual. Can some template savvy Admin take a look and get the tfd message inside the title section, with a proper subst. I think the tfd needs closed and reopened with a valid tagging. Best regards // Fra nkB 02:30, 18 October 2007 (UTC)
Hi, I just found an article which cites a book by someone who has an article (currently orphaned). How can the citebook thing used for the reference be made to link to the author please? DuncanHill 23:53, 17 October 2007 (UTC)
Don't know if this is possible, but I have a question. Can you pass a variable from one template to another? I came across the {{
Johnny Cash}} template and loved its format for things that have many groups and subitems. Each group is collapsible AND you can set a parameter so for a certain group, only that group is shown. For instance, if you go to the
June Carter Cash article, only the Family group is shown, all others remain collapsed. You do this why adding the group's paramater you want such as {{Johnny Cash|family}}
, so the Family group is now shown. I took this concept and rewrote several university templates including {{
University of Oklahoma}}, {{
University of Texas at Austin}}, {{
Oklahoma State University}}, {{
University of Michigan}}, {{
Ohio State University}} and maybe a couple others. I decided it might be worthwhile to create a template to make converting these easier. So, today I created {{
Navigation with collapsible groups}}. But, after creating in my userspace and moving the template space, one huge issue occured to me. Can I pass the paramater from the article to the university template to the base template. So far, no success. I've tried dissecting the code to {{
Navbox}} and {{
Navbox/core}} to see if something similar is done but I'm getting a headache from staring at it for so long. Any help would be appreciated (I hope I described the issue well enough).↔
NMajdan•
talk
20:26, 17 October 2007 (UTC)
param = {{{param|}}}
. That passes the value from A's caller (the article) as a named parameter for B. Hope this helps,
Andrwsc
20:57, 17 October 2007 (UTC)Category sorting system doesn't recognize various diacritical characters, forcing us to ignore them in category sorting - which can have small impact but also pretty major. Is there a bug filled on that we could vote upon? -- Piotr Konieczny aka Prokonsul Piotrus | talk 17:08, 17 October 2007 (UTC)
Is there a piece of custom css I could use to not have to see the words "Revision history of .." in front of every page history title?--VectorPotential Talk 13:20, 17 October 2007 (UTC)
addOnloadHook(function(){
/* Fix the title of the history page */
if(wgAction=='history'){
document.title=wgPageName.replace(/_/g,' ')+' - Wikipedia History';
var h=document.getElementsByTagName('H1');
if(h.length){
h=h0];
while(h.firstChild) h.removeChild(h.firstChild);
h.appendChild(document.createTextNode(wgPageName.replace(/_/g,' ')));
}
}
});
Can anyone figure out why {{#ifeq:<nowiki>#</nowiki>99CCFF|<nowiki>#</nowiki>99CCFF|true|false}}
returns false, and how to fix it to not return false (given the same input)?
Thanks. --
PEJL
08:31, 17 October 2007 (UTC)
<nowiki>
inside the comparison? Someone who is familiar with the code can tell you the details, but from my experiments it seems that each <nowiki>
is changed into a unique tag something like �UNIQ5d22741068bd706c-nowiki-00000001-QINU�
(the "�
" represents codepoint U+0007) before parser functions are applied, and afterwards the tag is changed back. The problem with your ifeq is that it sees something like {{#ifeq:�UNIQ5d22741068bd706c-nowiki-00000001-QINU�99CCFF|�UNIQ5d22741068bd706c-nowiki-00000002-QINU�99CCFF|true|false}}
and thus is always false.
Anomie
11:45, 17 October 2007 (UTC) #99CCFF
for the color. You then have to make the comparison against exactly that, but it works, as does the return value since the space is ignored in the style specification.
TCC
(talk)
(contribs)
20:36, 17 October 2007 (UTC) #99CCFF
.) --
PEJL
21:15, 17 October 2007 (UTC)
I am new here, could anyone tell me how to get round? Mdhamiri 09:43, 17 October 2007 (UTC)
Is there any known workaround for the issue of template parameters not expanding when enclosed in html tags? Happy‑ melon 21:40, 16 October 2007 (UTC)
Someclaim <ref name={{{refn}}}>{{{ref}}}</ref>
refn
, at least, will not expand correctly, and all references will have the name "{{{refn}}}". I don't think ref
will expand properly either.
Happy‑
melon
08:07, 17 October 2007 (UTC)
Two years of ANI edit history seems to have disappeared. The software thinks that the intermediate edits exist, but refuses to provide a way to go to them. - Amarkov moo! 00:56, 14 October 2007 (UTC)
Google generally shows you a piece of text after the title of a page, and generally this is either taken from the page's text or from meta tags. Wikipedia pages have some relevant text which is neither. (For example, search for Al Gore; the snippet begins "Hyperlinked encyclopedia article about the current global climate change activist and former Democratic nominee for President, 45th Vice President..." which appears nowhere in the wiki markup for that page, nor, indeed, in the rendered HTML.) Does anyone know where it comes from? Marnanel 00:17, 13 October 2007 (UTC)
Hi, I'm using a local copy of mediawiki-1.9.3 and I can't get collapsible tables to work.
I have copied the code from articles elsewhere in this reference desk:
{| class="collapsible" width="60%" !colspan="2"| Fun with table columns |- | Column 1 || Column 2 |}
It works here as you can see:
Fun with table columns | |
---|---|
Column 1 | Column 2 |
There was no common.js, so I created one in the root directory of the local wiki. I went to the common.js page on wikipedia, pressed edit, then copied and pasted the code into my common.js. It contains:
function collapseTable( tableIndex )
I tried editing my LocalSettings.php and added the following lines at the bottom:
// Rob's changes $wgUseSiteCss = true; $wgUseSiteJs = true;
I also tried using
{| class="collapseTable" width="60%"...
but I'm not sure what I'm doing.
Can someone help?
Dragonfallrob 14:49, 10 October 2007 (UTC)
TCC (talk) (contribs) 00:04, 11 October 2007 (UTC)
alert(1)
) or has some errors (look at error console in Firefox or Opera) ∴
Alex Smotrov
18:25, 11 October 2007 (UTC)
The devanagiri character in Wikipedia logo is incorrect. It does not take the complex character rendering into account when rendering the phonetic "wi" in devanagiri. —Preceding unsigned comment added by Manishxjoshi ( talk • contribs) 12:33, 15 October 2007 (UTC)
Sometimes, when a template is listed for deletion, all pages transcluding it will remain in C:CSD even after the template is fixed. You can see what I mean by looking at the history of this template: {{ Ireland-writer-stub}}, which was fixed, but dozens of pages stayed in C:CSD until they were "touched" by me with edits like this: [4]. Is there a way to remove them from the category without having to make null edits? -- W.marsh 13:55, 13 October 2007 (UTC)
What is the purpose of plainlinks, except to make a link that really is internal (to an edit page, or to special:log, or to history) look internal? Why, then, is it different in color? So many bytes have been spilled, so to speak, over this issue on various templates. Can someone explain this to me? — Random832 04:05, 11 October 2007 (UTC)
If you have a long list of links, putting the external link icon next to each is ugly. Also it can be removed to prevent the remote possibility of confusing noobs in instructional messages with such links. That's about it. 1of3 00:55, 16 October 2007 (UTC)
Recently, Internet Explorer began to freeze up when I attempt to edit any article. The matter was resolved when I turned the popups off. When I turned it on again, the crashes occured again. However, I have no problems editing Wikipedia with popups when I used Opera. How can I fix IE? Thanks in advance.-- Alasdair 14:47, 15 October 2007 (UTC)
I recently updated a disambiguation page ( Aaron (name)) by looking at Category:Living people, which is fairly well sorted. I'm currently wondering whether to make another big push to get a supercategory set up for all people articles (dead ones as well as living), as the use of DEFAULTSORT seems to be fairly widespread now, so such a supercategory would really help with keeping dab pages up to date (similar in a way to how List of People by Name used to try and do this). Have a look at User:Carcharoth/List of living people compact index. It doesn't do anything the category system doesn't do already, but I think it would be nice to be able to do this for all people articles. Of course, getting an automated list would be even better. At the moment, the special prefixindex function will find all pages starting with a particular string, but what would be even better is if a page could be automatically generated to show all articles with the same surname in their DEFAULTSORT magic word! Of course, people would still be needed to annotate the dab pages, unless infobox information could be used to do that... I'm throwing this idea out here to see if people think it sounds feasible and worth the effort of finding people who could make this work? Carcharoth 05:20, 13 October 2007 (UTC)
I'd like to raise this issue again, or if no-one here has any further advice, to ask where to go next. See here for the previous discussion. What I'd ultimately like to see is something like Category:Default sort key missing for biographical articles (probably on the talk page), so they can be worked on. At the moment, there is Category:Biography articles without listas parameter, but that only works from a talk page template parameter (specifically, listas in {{ WPBiography}}) and doesn't truly reflect DEFAULTSORT usage (it would only reflect the usage if the two values were synchronised on all pages). Ultimately, it all comes down to this simple question:
"Which biographical articles lack DEFAULTSORT"?
Surely a simple question like that can't be that difficult? :-) Carcharoth 04:43, 13 October 2007 (UTC)
I am having problems accessing the Skin section in the My Preferences. Is there anything I can do. Caribbean1 15:23, 14 October 2007 (UTC)
Screencap in Firefox 2.0.0.6) There seems to be a pretty bad overlap between the Wiktionary template and the cleanup templates.-- 69.118.235.97 12:58, 14 October 2007 (UTC)
I use Wikipedia very often in the course of my work. As a convenience, I've added a Wikipedia search widget to my browser's toolbar. When a query is entered, the search widget constructs a url using this template:
http://en.wikipedia.org/wiki/Special:Search?go=Go&search=$ESCAPE(QUERY)
This should be equivalent to the Go button
Many queries exactly match an article title, except for capitalization. The vast majority of my searches are immediately redirected to articles. Only a few searches, perhaps 1%, return a list of results. I've set my preferences to restrict searches to the Main namespace and the Wikipedia namespace. I perform a few dozen to a few hundred searches a day.
Does this type of usage significantly affect server load? Various Wikipedia help pages suggest it does not, but I though I'd ask. There are a couple other ways I can achieve similar functionality without using Wikipedia's search function. — Ryan 02:53, 11 October 2007 (UTC)