Wikipedia:Help desk/Archives/2008 May 20

Help desk
< May 19 << Apr | May | Jun >> May 21 >
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.


May 20

edit

Template:Infobox image

edit
  Resolved

With Template:Infobox afl player you can choose how big or small you wish the image to be. I've created Template:Infobox Victorian Football League season and implemented it at 1930 VFL season but I am unable to adjust the size of the picture. Any help would be greatly appreciated. Cheers. Crickettragic (talk) 02:03, 20 May 2008 (UTC)[reply]

Mm. The problem could be that the Template:Infobox Victorian Football League season is not formatted properly or that the image itself cannot be resized. I will take a closer look.--RyRy5 (talk wikify) 02:10, 20 May 2008 (UTC)[reply]
You must specify the size unit: px, em or %. For 1930 VFL season, you set it to 150px. ----— Gadget850 (Ed) talk - 09:02, 20 May 2008 (UTC)[reply]
Sorry, Gadget. I tried changing the 150px but for some odd reason it stayed the same size. --RyRy5 (talk wikify) 09:19, 20 May 2008 (UTC)[reply]
I was thinking something else. :) Never mind.--RyRy5 (talk wikify) 09:20, 20 May 2008 (UTC)[reply]
Thanks guys that's exactly what I was after! Cheers Crickettragic (talk) 10:01, 20 May 2008 (UTC)[reply]

Resetting "left" alignment

edit
  Resolved

In the Cockapoo article it seems that the Height/Weight table near the bottom of the page is causing the subsequent sections to align to it rather than to the left of the page as would be typical. I've tried to reset using <br clear='all'> but it didn't help. Any ideas? --hydnjo talk 03:06, 20 May 2008 (UTC)[reply]

Hehe, fixed. « Gonzo fan2007 (talkcontribs) @ 03:24, 20 May 2008 (UTC)[reply]
Well then, thanks for the "|}". You must be pretty good at this s*** to spot that so quickly. --hydnjo talk 03:41, 20 May 2008 (UTC)[reply]
Your welcome, and it is more knowing where to look than any special knowledge about formatting :) « Gonzo fan2007 (talkcontribs) @ 03:53, 20 May 2008 (UTC)[reply]

Losing the "References" index

edit
  Resolved

Well then, do you think that a similar defect (re the previous posting) might be causing the loss of reference indexing at #173 in the Mike Huckabee article? --hydnjo talk 04:09, 20 May 2008 (UTC)[reply]

Are you pointing at ref #140? There seems to be an invalid ref there. I'll try to fix it.RyRy5 (talk wikify) 04:17, 20 May 2008 (UTC)[reply]
Eek, that too (I missed that one)! But #141 seems OK whereas all starting at #173 don't seem to sync. --hydnjo talk 04:24, 20 May 2008 (UTC)[reply]
Wow, #140 seems impossible to fix. I tried about 6 times and nothing seems to work. Do you think I should remove that ref? In the meantime, I'll see your other problem with the article.--RyRy5 (talk wikify) 04:36, 20 May 2008 (UTC)[reply]
Yeah, remove #140 and let someone else restore it properly. The #173 problem is more serious in that it screws up all of the subsequent refs. Thanks for your efforts - like I said on the talk page, it's way above my pay grade. --hydnjo talk 04:41, 20 May 2008 (UTC)[reply]
I'll go head and do that. I'll try to see the problem with #173. Actually, I have to be offline now. I'm a busy person. Someone else will probably find the problem. Regards, RyRy5 (talk wikify) 04:43, 20 May 2008 (UTC)[reply]
With #140 gone the subsequent refs get reassigned so that the previous #173 problem is now the #172 problem (just in case someone else is trying to follow along). --hydnjo talk 04:50, 20 May 2008 (UTC)[reply]

This was a good one:

  • When you hover over the ^ that begins the ref, it should popup with the backlink; the number at the end is one less than the ref number (it starts with 0). Look at ref 165— it pops up with 189.
    • Ref 164: the cite template was malformed- it does not end with }}
    • Ref 189, under "Controversial public comments" had a malformed citation template that began with one "{".
  • So- everything between 164 and 189 was being eaten by the template.
  • Also: Looking at 165 inline, it is <ref name="abcaids" />. The problem is that this named ref was defined two paragraphs down. It should have given an error, but I think it was suppressed by the malformed template.
  • You really need to work all of the cites into templates. The reference section looks awful with all of those long URLs cutting across the columns.
  • You should run the article through LinkChecker and weed out any dead links.

--— Gadget850 (Ed) talk - 09:36, 20 May 2008 (UTC)[reply]

Thanks Gaget for your fixes and your suggestions which I'll post on the article's talk page. --hydnjo talk 15:16, 20 May 2008 (UTC)[reply]
You are welcome. This was a nice little puzzle: one template was not closed properly, the other not opened properly causing the content in between to be nested. I will have to play with some variations to see what else might break. ----— Gadget850 (Ed) talk - 15:29, 20 May 2008 (UTC)[reply]

making Javascript click on "edit this page"

edit

Using Javascript, how do you "click" on the "edit this page" button? J.delanoygabsadds 04:54, 20 May 2008 (UTC)[reply]

What? Could you clarify a bit? I don't really get what you're asking... Calvin 1998 (t-c) 05:01, 20 May 2008 (UTC)[reply]
To open the editpage in a new window/tab:
window.open(wgServer + wgScript + "?title=" + wgPageName + "&action=edit");
Or to open it in the same window/tab:
window.location.href = wgServer + wgScript + "?title=" + wgPageName + "&action=edit";

-- Mr.Z-man 05:08, 20 May 2008 (UTC)[reply]

Perhaps what you are tying to do is follow the instructions for adding javascript to your wikipedia to perform some function, such as installing WP:TWINKLE or something similar. What you need to go is go to User:YourUsernameHere/monobook.js and from there you should see an "edit this page" at the top... Tiggerjay (talk) 06:33, 20 May 2008 (UTC)[reply]
What I want to do is make it so that when I click on a button, it opens the "edit this page" link and executes this code.
/* <pre> */
 
function welcome() {
 
    // Find the edit box
    var txt = document.editform.wpTextbox1;
 
    //The welcome template you are wanting to use
    var welcome_msg = 'User:J.delanoy/welcome'
 
    // The code to be added to the page
    var tag = '{{'+'subst'+':'+ welcome_msg +'}}';
 
    // If the edit box doesn't already have this tag...
    if (txt.value.indexOf(tag) == -1) {
 
        // Append the tag
        txt.value += tag;
 
        // Add an edit summary
        document.editform.wpSummary.value = 'Welcome to Wikipedia!';    
 
        // Press the Save page button
        document.editform.submit();
    } 
 
    // If the tag was already there, turn the tab background red to indicate 
    // that the script is functioning properly, but that there is no action 
    // to do.  This doesn't interrupt the user's work like an alert() would.
    else {
        document.getElementById('ca-unverified').firstChild.style.backgroundColor = "#ff4444";
        document.getElementById('ca-unverified').style.backgroundColor = "#ff4444";
    }
}
 
// Code used if not editing page
/* <pre> */
// THIS PART HERE IS ME TRYING TO FIGURE IT OUT
 
function welcome2() {
//THIS HERE IS MY ATTEMPT. I WANT TO INSERT CODE HERE THAT OPENS THE "EDIT THIS PAGE" LINK...
 var form = this.responseXML.getElementById( 'editform' );
		var tag = form.wpTextbox1.value;
		var tag = '{{'+'subst'+':'+ welcome_msg +'}}';
 
//AND THEN EXECUTES THE CODE BELOW....
    // Find the edit box
    var txt = document.editform.wpTextbox1;
 
    //The welcome template you are wanting to use
    var welcome_msg = 'User:J.delanoy/welcome'
 
    // The code to be added to the page
    var tag = '{{'+'subst'+':'+ welcome_msg +'}}';

    // If the edit box doesn't already have this tag...
    if (txt.value.indexOf(form) == -1) {
 
        // Append the tag
        txt.value += form;
 
        // Add an edit summary
        document.editform.wpSummary.value = 'Welcome to Wikipedia!';    
 
        // Press the Save page button
        document.editform.submit();
    } 
 
    // If the tag was already there, turn the tab background red to indicate 
    // that the script is functioning properly, but that there is no action 
    // to do.  This doesn't interrupt the user's work like an alert() would.
    else {
        document.getElementById('ca-unverified').firstChild.style.backgroundColor = "#ff4444";
        document.getElementById('ca-unverified').style.backgroundColor = "#ff4444";
    }
}
// Create a tab that calls this function when pressed
addOnloadHook(function () {
    if(document.title.indexOf("User talk:") == 0) {
        addPortletLink('p-cactions', 'javascript:welcome2()', 'welcome', 'ca-welcome', 'Adds a welcome note to a new user', '', '');
    }
    if(document.title.indexOf("Editing User talk:") == 0) {
        addPortletLink('p-cactions', 'javascript:welcome()', 'welcome', 'ca-welcome', 'Adds a welcome note to a new user', '', '');
    }
});
Sorry I didn't reply sooner, I was asleep... J.delanoygabsadds 13:35, 20 May 2008 (UTC)[reply]

complaining for nagercoil town secretery

edit
  Resolved

Dear sir

<post removed>


Thank you for your action —Preceding unsigned comment added by 78.93.129.107 (talk) 06:14, 20 May 2008 (UTC)[reply]

This page is only for questions about USING Wikipedia. It seems your question is non-wikipedia related. Thank you.

--RyRy5 (talk wikify) 06:19, 20 May 2008 (UTC)[reply]

Wikipedia is not the place to bring your complaint. Sometimes people see one of our over two million articles and make an assumption that the site is connected with the subject of the article, which is I think what happened here. However, please undestand that Wikipedia is an online encyclopedia with over 2 million articles, written by a huge number of volunteers; we have no direct connection with the entity you are writing about. I have removed the text of your post as we do not allow personal attacks on persons and entities to remain. Thanks for understanding.--Fuhghettaboutit (talk) 11:33, 20 May 2008 (UTC)[reply]

Signature

edit

Is it ok for me to have a colorful signature like this? Bed-Head-HairUser:BedHeadHairGirl12:14, 20 May 2008 (UTC)[reply]

It's fine, unless it causes problems for people with color blindness. The signature guidelines are here. Epbr123 (talk) 12:21, 20 May 2008 (UTC)[reply]

Thank you :) I will go and read that now. Bed-Head-HairUser:BedHeadHairGirlBed-Head-Hair 12:24, 20 May 2008 (UTC)[reply]

Generally, signatures are encourages not to contain text which is taller than the standard line height, therefore I would encourage you to remove the <big></big> tags and perhaps consider using <small></small> tags if you want contrasting text size. The colours are fine, though! haz (talk) 12:25, 20 May 2008 (UTC)[reply]
I would say, though, that I find the yellow a little hard to read. Epbr123 (talk) 12:26, 20 May 2008 (UTC)[reply]

Is now ok? Bed-Head-HairUser:BedHeadHairGirl12:30, 20 May 2008 (UTC)[reply]

I've changed it to this Bed-Head-HairUser:BedHeadHairGirl12:31, 20 May 2008 (UTC)[reply]

I think that's fine. Epbr123 (talk) 12:36, 20 May 2008 (UTC)[reply]

how do you look up the meaning of a word in wikipedia?

edit

does your site have a dictionary facility such as an oxford dictionary? —Preceding unsigned comment added by 41.240.117.96 (talk) 13:01, 20 May 2008 (UTC)[reply]

Try Wiktionary. —Ilmari Karonen (talk) 13:03, 20 May 2008 (UTC)[reply]

Wikipedia:WikiProject South America template banner

edit
  Resolved

At Talk:María del Luján Telpuk, I am having trouble with the {{WikiProject South America}}. It is missing a space after the name of the project as it appears on the talk page. More importantly, it is transcluding from either {{WP Venezuela}}, or {{WikiProject Argentina}}, but in the transclusion it does not nest when necessary.--TonyTheTiger (t/c/bio/WP:CHICAGO/WP:LOTM) 14:30, 20 May 2008 (UTC)[reply]

If you have a look at {{WP Venezuela}}, it is a soft redirect to {{WikiProject South America}}. There is a provision in the South America template to include Venezuela=yes and Venezuela-importance=. I have removed the Venezuela one and replaced it with the provisions. I haven't filled out the importance rating, I leave to that someone from the project. Regards. Woody (talk) 14:36, 20 May 2008 (UTC)[reply]

Username

edit
  Resolved
 – Different username chosen.

I would like to create the account: Sir Monty. Will this username be allowed? or will it be deleted? 92.5.36.7 (talk) 15:23, 20 May 2008 (UTC)[reply]

That should be fine. The username policy is located at WP:U, and since the name isn't misleading, offensive, promotional or similar to another established user, you should be good to go. You can either create the account yourself, or request it if you are unable to create the account for some reason. haz (talk) 15:28, 20 May 2008 (UTC)[reply]
It doesn't yet exist, according to Special:Listusers...... Dendodge .. TalkHelp 15:30, 20 May 2008 (UTC)[reply]
I can't. Sirmonty exists. 92.5.36.7 (talk) 15:32, 20 May 2008 (UTC)[reply]
See Wikipedia:Request an account; you can request the account via email if you like. Otherwise, select a different name. --ais523 15:34, 20 May 2008 (UTC)
But I have created King Monty IV (King Monty IV (talk)). I have another question (see below). King Monty IV (talk) 15:37, 20 May 2008 (UTC)[reply]

Userpage

edit
  Resolved

I ran a wiki where under my policies, I discouraged userpages and changes in signatures. I know how to edit, but how do you get them cool personalised sigs and userpages. Who makes them or can I make one (if I can, how?) King Monty IV (talk) 15:37, 20 May 2008 (UTC)[reply]

Yes, you can make them. Your userpage is linked from your signature, and you can edit it just like any other page; your signature's accessible via Special:Preferences, and if you uncheck 'Use raw signature' you can write your signature in wikimarkup (although make sure you give a link to your userpage and/or talkpage). For more information: Wikipedia:Userpage, Wikipedia:Signatures, Wikipedia:How to fix your signature. --ais523 15:40, 20 May 2008 (UTC)
Thanks. But is there any guides on making the boxes and stuff in a userpage. King Monty IV (talk) 15:41, 20 May 2008 (UTC)[reply]
(ec x2) ais523 is right, but you need to make sure it conforms to the signature guidelines at Wikipedia:Signatures. If your signature is too extravagant or if its raw source is too long, you may be asked to change it – just use common sense and the guidelines on the above page. See Wikipedia:User page for information on what you can and cannot do with it. Hope that helps. haz (talk) 15:43, 20 May 2008 (UTC)[reply]
Userboxes are explained and listed at Wikipedia:Userboxes. Olaf Davis | Talk 16:15, 20 May 2008 (UTC)[reply]
You should get to know the Editor's index, where you can look up all these instructions. For example, see: WP:EIW#Userbox, WP:EIW#UserPage, and the cross-reference links from those entries. --Teratornis (talk) 20:02, 20 May 2008 (UTC)[reply]
You can look at the Wikipedia:User Page Design Center and WP:UBX for more info on creating userboxes, designing user pages, etc.--RyRy5 (talk copy-edit) 03:35, 21 May 2008 (UTC)[reply]
For users who design user pages (like me), you can request as Wikipedia:WikiProject User Page Help. --RyRy5 (talk copy-edit) 03:38, 21 May 2008 (UTC)[reply]

Talk page GA icon

edit

I just noticed a GA icon at the top of Talk:María del Luján Telpuk. I have never noticed such an icon on any of my GAs before. How can I get it on all my GAs? Is it possible for such an icon to appear on the article page?--TonyTheTiger (t/c/bio/WP:CHICAGO/WP:LOTM) 16:30, 20 May 2008 (UTC)[reply]

This has been discussed before, and it's apparently not a good idea. The discussion (at WT:GA?) had consensus against doing so, I believe...... Dendodge .. TalkHelp 16:35, 20 May 2008 (UTC)[reply]
Move along, nothing to see. This was just discussed a few weeks ago, and I really don't want to see another excessive debate. You can put the GA symbol on your userpage to signify your GAs. Juliancolton Tropical Cyclone 16:38, 20 May 2008 (UTC)[reply]
But where's it coming from? I don't see a source (template? part of a template?) for it. PeterSymonds (talk) 16:41, 20 May 2008 (UTC)[reply]
Something to do with this edit to the Template:GA? If it is, I don't understand why it's not showing up on every GA talk page. PeterSymonds (talk) 16:47, 20 May 2008 (UTC)[reply]
Because {{GA}} is only transcluded on two article talk pages? Algebraist 16:56, 20 May 2008 (UTC)[reply]
Oh. :) PeterSymonds (talk) 16:58, 20 May 2008 (UTC)[reply]
I seem to have missed the debate about GA icons on article pages that Juliancolton refers to. Can someone show me the debate.--TonyTheTiger (t/c/bio/WP:CHICAGO/WP:LOTM) 21:43, 20 May 2008 (UTC)[reply]
I'm not sure if it was archived, but it was a large discussion at WT:GA that took place for a couple weeks. Juliancolton Tropical Cyclone 12:48, 22 May 2008 (UTC)[reply]

Image Upload from Commons

edit

I've put an image on the next DYK template, and need to protect it for when it appears on the Main Page. Or rather, since the image is on Commons, I need to C-upload it and protect that. However, the uploader won't let me save an image with the same name as one on Commons. Is there a convention for naming the second copy, or a way to circumvent that?

Also, the licence tag on the original image is "public domain in the United States, and those countries with a copyright term of life of the author plus 80 years or less." But as far as I can make out none of the licenses available on the Wikipedia upload page are exactly equivalent to this - why is that? Olaf Davis | Talk 16:53, 20 May 2008 (UTC)[reply]

Okay, I've uploaded the image and placed the {{C-uploaded}} template. I'm pretty sure the license is life of the author plus eighty years. PeterSymonds (talk) 17:06, 20 May 2008 (UTC)[reply]
Thanks Peter. Could you explain why I was having trouble with the name for next time? Also, the "author plus eighty years" license wasn't listed in the uploader; indeed, Template:PD-old-80 which you've placed there is redlinked. Olaf Davis | Talk 17:13, 20 May 2008 (UTC)[reply]
Well I've only updated the DYK once, and that was the only occasion I had to upload a duplicate image. Maybe it's an admin thing? I'm not sure. Oh, the license is {{PD-US}}, so I'll correct that! PeterSymonds (talk) 17:19, 20 May 2008 (UTC)[reply]

Problems with new account

edit

Okay, I created a new account because of privacy concerns. Only, I can't get the Gadgets in my preferences to activate. I've flushed my cache, even told Firefox (3rc1) to clear all my offline data, and Twinkle & the clock won't load. Any suggestions? — The Hand That Feeds You:Bite 16:55, 20 May 2008 (UTC)[reply]

Twinkle only works for autoconfirmed users, accounts that are four days old. Not sure about the clock though... I assume you mean the "purge" clock? That should work for all registered users. PeterSymonds (talk) 16:57, 20 May 2008 (UTC)[reply]
Oh, duh, I forgot about the autoconfirm. So I won't get Twinkle until the weekend... nuts. But yes, the "purge" clock in Gadgets isn't coming up either. — The Hand That Feeds You:Bite 17:05, 20 May 2008 (UTC)[reply]
Try pasting this into your monobook.js. PeterSymonds (talk) 17:45, 20 May 2008 (UTC)[reply]
That's not working either. And now I see that User:Ais523/votesymbols.js & User:Ais523/adminrights.js aren't loading either. And I've tried in another Firefox-based browser, and Safari, so it's still not working. The only thing I can figure is that scripts are disabled entirely until an account is auto-confirmed, which kinda sucks. — The Hand That Feeds You:Bite 17:59, 20 May 2008 (UTC)[reply]
Maybe you could try disabling all gadgets, wiping your monobook.js, and then installing a simple script to see if it works? Also, remember that you have to bypass your cache after script changes. --ais523 20:48, 20 May 2008 (UTC)
No go. In fact, I logged out of this account and into my old (retired) account, and all of its scripts are working just fine. Logged back here, flushed my cache (again) and still nothing. — The Hand That Feeds You:Bite 20:58, 20 May 2008 (UTC)[reply]
Well, scripts don't work on Special:Preferences, so maybe cache-flushing there doesn't work. Otherwise, I can't really think of anything. (I'm not aware of a scripts-to-autoconfirmed restriction, but that doesn't mean it doesn't exist). --ais523 21:01, 20 May 2008 (UTC)
Well, I meant scripts in my monobook.js file, but yeah. I opened a thread on Village pump Techincal to see if anyone knows what's going on there. — The Hand That Feeds You:Bite 21:07, 20 May 2008 (UTC)[reply]

Exporting images

edit

I'm in the process of making another wiki (Based on MediaWiki of course), and so would want to export some Wikipedia's images (No copyright problems as I know of) to that wiki. Is the only way I can do saving those images on my system and re-importing them to that wiki...? Are there easier methods?--Samuel di Curtisi di Salvadori 17:01, 20 May 2008 (UTC)[reply]

If the images are not copyrighted and have been released under a free use license, then you can move them to Commons. Otherwise, the method you described is probably your best option. See Wikipedia:Image use policy for more information. Hope that helps. haz (talk) 17:06, 20 May 2008 (UTC)[reply]
See also: WP:DUMP#Images and uploaded files and WP:DUMP#Currently Wikipedia does not allow or provide facilities to download all Images. --Teratornis (talk) 19:54, 20 May 2008 (UTC)[reply]
Haz: I'm not using Wikia, so putting pics to commons are of no use to me. --Samuel di Curtisi di Salvadori 01:24, 21 May 2008 (UTC)[reply]

how to publish an article? The Speaker's House (talk) 18:05, 20 May 2008 (UTC)

edit

Wikipedia,

I could not find an answer to this question in your FAQ's section, so i am asking it here. I am writing an article on a historical house known as The Speaker's House. When I am done writing this article on Wikipedia, and after i have fully edited it and put all the citations in, how do i make it appear as a searchable topic on wikipeida, in the words how do i publish it on wikipedia, thus making it a legitimate page for people to visit and read.

Thanks,

David Muir —Preceding unsigned comment added by The Speaker's House (talkcontribs)

You created the article in your userpage. Do you want me to move it to the article space? J.delanoygabsadds 18:07, 20 May 2008 (UTC)[reply]
Once a page is created it can be searched. See Help:Starting a new pageGtstrickyTalk or C 18:08, 20 May 2008 (UTC)[reply]

Secure login incompatible with editng?

edit

I've been trying to edit the page Talk:Unit_of_selection. I find that when I preview the result, my signature shows my IP address, instead of my Wikipedia ID. So I go to login through the secure server. Then I end up at https://secure.wikimedia.org/wikipedia/en/wiki/Main_Page . So I navigate to the talk page in that server.

Everything looks good until I "Click here to start a new topic" (http://en.wikipedia.org/w/index.php?title=Talk:Unit_of_selection&action=edit&section=new). Presto! I'm anonymous, and my 4 tilde signature shows my IP address.

I don't know if the problem is local to that page, that project, Wikipedia, or the MediaWiki software. I've already burned way too much time on a simple citation-needed. I gotta go.

--RickJS (talk) 18:45, 20 May 2008 (UTC)[reply]

Intersting, when I used your link - it kicked me out -- but when I went there on my own, it worked fine... Ah, I think the problem IS your link -- see that your link is http://en.wiki.... instead of https://secure.wiki.... -- make sure that you're logged in, and the go to the page by searching "Unit of selection" and then talk, then new section... Give that a try. Tiggerjay (talk) 19:45, 20 May 2008 (UTC)[reply]
Ah, see I'd suggest the opposite. If you're signed into the secure server, you should edit the secure version of the page. It looks like you signed into the secure serve then tried to edit a "normal" page. I'm supposing that you'd need to be signed in "normally" to edit a "normal" page and so on. Seraphim♥Whipp 19:52, 20 May 2008 (UTC)[reply]

If you're using Firefox (or some other browser that supports Greasemonkey scripts), may I suggest a couple that I've written: secure Wikimedia links and prevent anon editing. —Ilmari Karonen (talk) 22:16, 20 May 2008 (UTC)[reply]

log-in issue...

edit
  Resolved

hello dear contributors,


wow this is a big massage box for a simple question i'm going to ask...

question:

i have a wiki username, when i already logged in to the english language page, on the chinese language page it seemed i am still out or non exist. is that normal? i would not want to register again to the chinese page, and i hope it has nothing to do with some exclusive chinese rules other than those of wiki's, it's a free encyclopedia no? i'm on mac, browsers tried are safari/camino/icab/firefox. thank you and hope to hear from you soon!


Meteque (talk) 21:28, 20 May 2008 (UTC) josie? (how to really sign my name?)[reply]

First you just need ~~~~, not a name. Unfortunately, yes you do need to sign up separate accounts on each language and on each project. Single account login is on the way, and it's in beta for admins. Paragon12321 (talk) 21:41, 20 May 2008 (UTC)[reply]

Infobox Company Error

edit

When i use the following code;

Vision Equities


My page says this;

Template loop detected: Template:Infobox Company

"Gaia-Wind" are a company that develop and manufacture small and efficient wind turbines for supplying electricity to properties such as private homes, farms offices, and swimming pools.

History

Established in the mid 1990's in Aarhus, Denmark, the develpoment of the company coincided with a demonstration project by the Danish Wind Energy Association to support and and regenerate a market for small wind turbines.

In October 2006, Gaia-Wind was taken over by a group of investors committed to further improving the product and driving forward the international expansion of the company. Since this acquisition the Gaia-Wind has relocated to Scotland, and from 2007 has operated from its offices in Hillington, Glasgow.

Why. This makes no sense —Preceding unsigned comment added by 75.127.199.234 (talk) 21:54, 20 May 2008 (UTC)[reply]

Did you read the template documentation? Some fields are mandatory. Astronaut (talk) 22:26, 20 May 2008 (UTC)[reply]

Javascript question

edit

On the code below, why does it not execute the code after the first step? ("Open the 'edit this page' link") J.delanoygabsadds 23:42, 20 May 2008 (UTC)[reply]

function welcome2() {
 
    // Open the "edit this page" link
    window.location.href = wgServer + wgScript + "?title=" + wgPageName + "&action=edit"
 
    // Find the edit box
    var txt = document.editform.wpTextbox1;
 
    //The welcome template you are wanting to use
    var welcome_msg = 'User:J.delanoy/welcome';
 
    // The code to be added to the page
    var tag = '{{'+'subst'+':'+ welcome_msg +'}}';
 
    // If the edit box doesn't already have this tag...
    if (txt.value.indexOf(tag) == -1) {
 
        // Append the tag
        txt.value += tag;
 
        // Add an edit summary
        document.editform.wpSummary.value = 'Welcome to Wikipedia!';    
 
        // Press the Save page button
        document.editform.submit();
    }  
 
    // If the tag was already there, turn the tab background red to indicate 
    // that the script is functioning properly, but that there is no action 
    // to do.  This doesn't interrupt the user's work like an alert() would.
    else {
        document.getElementById('ca-unverified').firstChild.style.backgroundColor = "#ff4444";
        document.getElementById('ca-unverified').style.backgroundColor = "#ff4444";
    }
}
// Create a tab that calls this function when pressed
addOnloadHook(function () {
    if(document.title.indexOf("User talk:") == 0) {
        addPortletLink('p-cactions', 'javascript:welcome2()', 'welcome', 'ca-welcome', 'Adds a welcome note to a new user', '', '');
    }
    if(document.title.indexOf("Editing User talk:") == 0) {
        addPortletLink('p-cactions', 'javascript:welcome()', 'welcome', 'ca-welcome', 'Adds a welcome note to a new user', '', '');
    }
});
Because as soon as you change window.location.href, your browser load the new URL and any scripts on the old page stop running. There are various ways to work around that problem, but in your case, the simplest way might be to remove that line and only insert the tab when you're already editing a page. —Ilmari Karonen (talk) 00:46, 21 May 2008 (UTC)[reply]
I already had the code to do that(that's what function welcome() is, I just wanted to make it so that it would work either way. J.delanoygabsadds 02:14, 21 May 2008 (UTC)[reply]

Tagging or reporting HTML/CSS errors

edit

I can't figure out how to tag an article which does not format correctly with specific browsers. I noticed that the V-Twin article has the edit links for sections 1-8 all rendered in the middle of section 8 when using Opera or Firefox. A quick look at the Wiki source left me clueless as to the cause, but I wanted to tag it for attention somehow. After fumbling around in the documentation for a bit I ended up here.

What is the correct way to tag flaws like this so that someone with more wiki-fu will notice?

Real Deuce (talk) 23:43, 20 May 2008 (UTC)[reply]

The problem is that the code that produces the pictures is all grouped at the top. I'll see if I can fix it, but I don't know how well I'll do. J.delanoygabsadds 23:44, 20 May 2008 (UTC)[reply]
This is called edit bunching and is an unfortunate artifact of WikiMarkup. See WP:BUNCH for further explanation and a fix. ----— Gadget850 (Ed) talk - 23:46, 20 May 2008 (UTC)[reply]
I fixed it... J.delanoygabsadds 23:47, 20 May 2008 (UTC)[reply]

Thanks... but what is the correct way to tag flaws like this so that someone with more wiki-fu will notice?

If you see this particular problem again, you should be able to fix it yourself with the instructions at WP:BUNCH. J.delanoy resolved this particular problem by wrapping the images in a table. WP:BUNCH will shou you how to do it using a template called {{FixBunching}} which effectively does the same thing. If you need more help, ask here. --—— Gadget850 (Ed) talk - 18:57, 21 May 2008 (UTC)[reply]
Yes, in the future, I should be able to fix this specific flaw, I was wondering if there's a general way of saying "This is broken and I don't know how to fix it." A simple "yes, use <whatever>" or "no, if you can't fix it, bring it here" would resolve this one. —Preceding unsigned comment added by Real Deuce (talkcontribs) 22:44, 21 May 2008 (UTC)[reply]