Wikipedia:Village pump (technical)/Archive AQ

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Contents

Google

Just to clarify, am I correct in saying that we have no way of forcing Google to update their cache of a Wikipedia page (e.g., when vandalism appears in their preview)? This question stems from a discussion on my talk page. Christopher Parham (talk) 22:15, 1 June 2007 (UTC)

Actually, we can. This was recently discussed on WP:AN/I due to a pretty-embarrasing preview of George Washington. Let me dig through the archives... Titoxd(?!? - cool stuff) 22:18, 1 June 2007 (UTC)
I found the thread here but it doesn't seem to provide any advice other than waiting. Christopher Parham (talk) 22:28, 1 June 2007 (UTC)
This is google's form to request removal of a page. Prodego talk 01:41, 2 June 2007 (UTC)
Thanks! Christopher Parham (talk) 01:57, 2 June 2007 (UTC)

Ecotheme for Wikipedia

Hi,

The current default theme 'Monobook' and other themes use white colour.
Inline with Blackle for Google, can we have a theme for Wikipedia that can help save energy?
Regards,

Harshal 05:35, 1 June 2007 (UTC)

Does it really save enough energy to be worthwhile? Particularly with LCDs, where the big use is the always-on backlight? --Carnildo 06:16, 1 June 2007 (UTC)
In developing countries like India, CRTs outnumber LCDs and the situation might remain same for at least next few years.
In either case, having an option of Ecotheme is a good idea. Making it default theme is a separate issue.
Regards,
Harshal 07:06, 1 June 2007 (UTC)
So you want a skin that is as dark as possible? If you wish, I'd be able to write one, so that it can be put into "myskin.css". GracenotesT § 01:25, 2 June 2007 (UTC)
I think Harshal probably wants it to go into MediaWiki itself so that other users can select it through user preferences. Otherwise, there isn't really much argument for the energy saving thing, regardless of how much it actually saves on an individual basis. Mike Dillon 01:46, 2 June 2007 (UTC)
Well, hacking a skin is not trivial, while cloning Monobook and modifying its CSS is much easier. If the devs have it in front of their eyes, they may potentially add it. (No promises, though.) Titoxd(?!? - cool stuff) 01:50, 2 June 2007 (UTC)
Thankfully, one could merely copy main.css and modify some of the colors; doing this via myskin.css (and Special:Mypage/myskin.css) seems easiest. I'm just wondering what specific ways to implement an energy-saving skin Harshal has in mind. GracenotesT § 05:23, 2 June 2007 (UTC)
Making the background darker, text a bit off-white, I would presume. Titoxd(?!? - cool stuff) 05:30, 2 June 2007 (UTC)

Mistake

I'm not quite sure if this is the right place for this, but I was making my Simple English Talk page, and when tramslating my wikipedia talk page to my Simple english talkpage, I ended up translating the talkpage on Wikipedia, instead of my talkpage on Simple English, so I was hoping someone was able to git undo my mistake|edit. Please §→Nikro 22:36, 31 May 2007 (UTC)

I've put your talkpage on the English Wikipedia back to how it was before. For the Simple English Wikipedia, you will need to create a separate account there and then create your talk page. Tra (Talk) 22:57, 31 May 2007 (UTC)

Images

I can't get images to display on Wikipedia, Meta, Commons etc. It works fine on other websites using similar images, using Firefox 2 and Windows XP. Thanks, GDonato (talk) 19:53, 31 May 2007 (UTC)

From the FAQ at the top of this page, "it's surprisingly common for people to accidentally block the image server (upload.wikimedia.org) on Firefox." Could this be the problem? Warofdreams talk 01:08, 1 June 2007 (UTC)

I don't think so as I'm having the same in IE, and I don't see anything to indicate image blocking. GDonato (talk) 09:58, 1 June 2007 (UTC)

Make a feature

I want to send a massage to all my group members. wikiproject or etc.

For example:

  • I participate "wikiproject A"
  • I want to send a massage to wikiproject A's all members's talk pages.

Make a template, please! -- WonYong (talk • contribs • count • logs • email) 12:39, 31 May 2007 (UTC)

What do you want to put in the message, and how many people do you wish to send it to? Tra (Talk) 12:47, 31 May 2007 (UTC)
nothing. I only suggest a new feature. -- WonYong (talk • contribs • count • logs • email) 13:25, 31 May 2007 (UTC)

Have you tried the talk page of the project? (H) 13:29, 31 May 2007 (UTC)

Mmm... massaging template... er, sorry, was distracted. For a fairly large WikiProject, it is standard to request an AWB bot to spam a message onto the talk page of all participants of a WikiProject (don't remember if it's opt-in or opt-out). For a relatively small WikiProject, the spamming could probably be done by hand. GracenotesT § 19:12, 31 May 2007 (UTC)

Print screening a page

Are Wikipedia pags allowed to be print screened, then the image uploaded onto Wikipedia? If so, what license would i put up? E.g. C or GDFL-self? Simply south 10:15, 31 May 2007 (UTC)

{{Wikipedia-screenshot}}. (Choose 'None selected' in the licence box and type the tag in manually.)

Make sure that there are no fair-use images on the page you take the screenshot of, give links to any other images on the page (because they'll have their own copyright status), and crop off the logo if it doesn't add to the image (because it isn't under a free licence). It's probably also advisable to link to the history of the page it's a screenshot of, to make sure that the GFDL part of the licence is fulfilled. --ais523 12:07, 31 May 2007 (UTC)

The very last option in the dropdown box at Special:Upload is "Wikipedia web page screenshot". Use that. --Quiddity 23:42, 31 May 2007 (UTC)

watchlist - permanent watch for Wikipedia:Policies and guidelines ?

I have an entry for Wikipedia:Policies and guidelines in the *article* section of my watchlist. It looks like it is stuck there... Bug? or Feature? (I don't know for how long it is there, for months for sure) - Nabla 20:55, 30 May 2007 (UTC)

Check that it's spelt correctly; a misspelling in the namespace might cause it to count as article-space. Unwatching and rewatching should hopefully solve the problem otherwise, but this is just general advise as I'm not sure what else could cause it. --ais523 12:09, 31 May 2007 (UTC)
No... It is spelled correctly. (un/re)watching have not solved either. - Nabla 16:16, 1 June 2007 (UTC)
Maybe it's the redirect Policies and guidelines that is actually on the watchlist. --Derlay 21:56, 31 May 2007 (UTC)
Not that either... - Nabla 16:16, 1 June 2007 (UTC)
I've proposed that redirect for deletion. –Pomte 00:16, 1 June 2007 (UTC)
I used Watchlist/clear... It was needing a cleanup anyway. It worked. Thanks for trying to help! - Nabla 16:16, 1 June 2007 (UTC)

varargs for parserfunctions?

Is there any technique for parsing a variable-length argument list for a named parameter? For example, parameter foo can have any combination of 7 options. CMummert · talk 19:41, 30 May 2007 (UTC)

Maybe this could be of assistance? --əˈnongahy ♫Look What I've Done!♫ 20:54, 30 May 2007 (UTC)
CMummert... hm, what do you mean? I'm a bit confused. GracenotesT § 01:29, 31 May 2007 (UTC)
Example. I want all these to work (maybe with different syntax, since I don't know how to do it).
{{template|foo=bar}} foo has argument bar
{{template|foo=baz}} foo has argument baz
{{template|foo=bar,baz}} foo has arguments bar and baz
This would be useful for categorizing using templates. I could do it if StringFunctions were active but apparently they aren't. CMummert · talk 03:43, 31 May 2007 (UTC)
{{#switch:{{{foo}}}|bar=result1|baz=result2}} As far as I know, one parameter cannot take 2 values. To have both bar's result and baz's result, use two separate #if:'s. –Pomte 04:36, 31 May 2007 (UTC)
Thanks. The switch you had before would work (you need the fourth option as baz,bar as well). But in the application I have in mind there are 10 or so possible parameters, and so it isn't feasible to include every possible list of options. I can use different ifs, certainly. But that makes it harder on the template users, since they have to say baz=true|bar=true. CMummert · talk 04:44, 31 May 2007 (UTC)
You can reduce that to baz=|bar=, if that's still intuitive for template users, with {{#ifeq:{{{baz|}}}|{{{baz|anystring}}}|result|}} or some more efficient comparison.
{{template|bar|baz}}, {{template|baz|bar|bay}} etc can be done with the same #switch on each of the 10 numbered parameters, like a for loop, but that seems to require a lot more checks and I don't think it's worth it. –Pomte 06:15, 31 May 2007 (UTC)

en.wikipedia.org

I tried to access WikiPedia through the english prefix, but I get this page. However, yesterday from 16:05 - 16:23 GMT, that address worked. I think the site is trying to kill WikiPedia. Wait---I just got WikiPedia. I found the bad site at 17:50 GMT, but WikiPedia now works. Does anyone know why this happened?

^^ Don't delete! --Cricket Boy 17:55, 30 May 2007 (UTC)

This site is en.wikipedia.org. -- brion 18:03, 30 May 2007 (UTC)
It may have just been the internets borking. Nothing to worry about. EVula // talk // // 18:10, 30 May 2007 (UTC)
Did you misspell something? Gutworth 02:09, 31 May 2007 (UTC)

Downloading User Contributions

Is there a way to download all of my user contributions and import them into an excel spreadsheet? I have over 5,000 but can only get 500 at a time. Thanks! JodyB talk 14:32, 30 May 2007 (UTC)

Maybe the MediaWiki API could be useful here: http://en.wikipedia.org/w/api.php?action=query&list=usercontribs&uclimit=500&ucuser=JodyB Far as I see, still limited to 500 entries, and you need to feed the ucstart parameter from the previous page to the next page in order to traverse the list, but you can select a machine-friendly output format, and it's at least a start. Femto 15:23, 30 May 2007 (UTC)
Well, you could request a bot flag to get 5000 entries at a time... uh... I don't think that it would pass, though. :( GracenotesT § 17:18, 30 May 2007 (UTC)
Here is your contribs set to show 5000, or if you tell me what format you would like the api to give you, I will get that for you (sysops can search 5000 at a time too). Prodego talk 21:15, 30 May 2007 (UTC)
Really? I saw that being suggested at the talk page of the API page on meta. That's good. GracenotesT § 21:22, 30 May 2007 (UTC)
User:Voice of All's RC patrol tool lets you view 5k at a time. --əˈnongahy ♫Look What I've Done!♫ 21:32, 30 May 2007 (UTC)

Automated?

Hey, can anyone who's knowledgeable with javascript confirm that the code at User:Gracenotes/Sandbox (run on an api.php page) is semi-automated (that is, each edit requires human intervention)? This issue was brought up at my RFA, and I would appreciate if someone could actually go through the code. Thanks, GracenotesT § 13:41, 30 May 2007 (UTC)

Here's what I see:
  1. Each edit requires a click on the article name in the returned API results
  2. If {{R from shortcut}} is found, the edit is aborted
  3. Otherwise, {{R from shortcut}} is added to the end of the article text and saved without further intervention
I probably would have written it to submit the edit with wpDiff so that the third step required confirming the diff and an explicit click on save, but I can confirm that every edit requires a click to initiate and it doesn't just run through all results without intervention. Hope that helps. Mike Dillon 15:01, 30 May 2007 (UTC)
I just took a closer look at the API results and since the revision text is shown before making the click, the value to be added by a diff is minimal. The only reason to diff would be to make sure no intervening edits were made since the API results were generated, but the chances of that are pretty small, so the no-diff workflow seems fairly safe in this case. Mike Dillon 16:43, 30 May 2007 (UTC)
Ah, thank you. I appreciate your opinion on the matter. GracenotesT § 01:30, 31 May 2007 (UTC)

Just a quick question

Hi Do wikis save each revision as a full text, or they just save the current version, and store the differences for previous revisions additionally. (HUN)Villy 12:36, 30 May 2007 (UTC)

I believe it's full-text. --Golbez 12:52, 30 May 2007 (UTC)
Thaks :) (HUN)Villy 13:04, 30 May 2007 (UTC)
Yep; although I'm not that knowledgeable with MySQL, I believe that every edit that is made adds a new row to the revisions table consisting of the user that made the edit, the edit summary, the timestamp, the full text of the revision, and other goodies. GracenotesT § 13:48, 30 May 2007 (UTC)
There are variations, including multiple compressed revisions in a block. --brion 18:04, 30 May 2007 (UTC)

History problem on DVD region code

Hello. I've some history problem with DVD region code, using this page: [1]. On firefox browser (logged), I see a lot of "Regional Coding Enhancement FAQ" external links in the diff, but not in the article. And If I check individually the changes, nobody did such change. In IE, WP mixes two articles, using the title "Viperidae, DVD region code". The old article start (after taxobox template ) with "Viperidae (Vipers) is a family of poisonous snakes found all over the world.", which is not in the latest Viperidae articles ("poisonous" -> "venomous"). FYI: Firefox: Served by srv75 in 0.360 secs., I.E. Served by srv128 in 0.274 secs.. Cate | Talk 15:30, 29 May 2007 (UTC)

How did you obtain that diff? The diff and oldid parameters link to revisions for different pages. Titoxd(?!? - cool stuff) 23:27, 29 May 2007 (UTC)
Check this diff: http://en.wikipedia.org/w/index.php?title=Red&diff=134404062&oldid=134339933 :-) Cacycle 04:32, 30 May 2007 (UTC)
hmm. It was in the history, with "current". But now that I check, maybe I copied wrong the URL (a missing final "1") into IE and in this request. But in the firefox I tried a lot of times, (also after an hour) and the problem remained: multiple repetition of text + link. Anyway, nice the last diff, I thinked that the revision was in unix epoch, without caring to much. Cate | Talk 16:06, 30 May 2007 (UTC)
There is some sort of problem with the diff tool which sometimes causes this, which we haven't yet been able to isolate and debug. Any given instance should go away afer a few days at most, when the bad copy expires from cache. --brion 18:07, 30 May 2007 (UTC)

Cross Vector Product "A x"

Hi

It is Abbas Naqvi.

I am creating a profile for the trajectory, in 3D.

The starting equation contains the "Cross-Product-Operator", as put by the Author...represented by (say for an arbitrary vector A) as "Ax", while "x" as the "Cross Vector Operator".

I am confused as it is the "A" is being used as a Rotation Vector, so if I put an arbitrary values to A's 3D components, what is meant by the "Ax" as a whole.....

SAbbasNaqvi 07:24, 29 May 2007 (UTC)

Please ask such questions at Wikipedia:Reference desk. This page is to assist editors involved in editing Wikipedia, or readers having problems reading Wikipedia. -- John Broughton (♫♫) 22:13, 30 May 2007 (UTC)

Weird bits of text in various places

In the last couple days, I've been getting weird chunks of text in random parts of pages. I'd say it's happened maybe 10 times. Looks as though some database field is getting randomly included in an article, or parts of HTML tags are getting stripped out. Refreshing the page usually makes it go away. For example, here are a few lines from my watchlist; look at the second line:

20:07 Hanford Site (diff; hist) . . (+500) . . 70.20.190.160 (Talk) (fire balloon attack)

20:05 torial_elections%2C_2010" title="United States gubernatorial elections, 2010">United States gubernatorial elections, 2010 (diff; hist) . . (+7) . . 67.162.154.78 (Talk)

m 19:55 Pierce v. Society of Sisters (diff; hist) . . (-4) . . Davidwr (Talk | contribs) (→Background - wikilink fixup of Supreme Court of the United States)

-Pete 06:30, 21 May 2007 (UTC)

That looks like part of the start of an HTML tag is missing; you're seeing the second half of an <A> tag there, for instance (it's exactly where the A tag should be, it's just that the first half of the tag is missing). I'm not sure what's causing it. --ais523 09:53, 21 May 2007 (UTC)
Yes, I think your analysis is correct, but when I refresh the page, the problem goes away. It's only been happening in the last couple days.
Not sure if this is related, but I've also been having random chunks of text appear in my edits, also in the last few days. It's the kind of thing I might assume results from a stray "paste" keyboard shortcut on my part, except that it's happened several times, in areas of text I haven't even been editing. For instance, the following weird text showed up after this edit; I hadn't even cliicked in that paragraph. (I bolded the extra text below to draw attention to it.)
The most famous and prominent example of TABOR legislation is in the state of Colorado.[1] In 1992, the voters of the state amended Article X of the Colorado Constitution to the effect that any tax increase resulting in the increase of governmental revenues at a rate faster than the combined rate of population increase and inflation as measured by the either the cost of living index at the state level, or growth in property values at the local level, would be subjected to a popular vote in a referendum, a process referred to as &quo<link rel="stylesheet" type="text/css" href="http://en.wikipedia.org/w/index.php?title=User:Lupin/navpop.css&action=raw&ctype=text/css&dontcountme=s">t;de-Brucing" after Douglas Bruce, the author of the amendment. This applies to any cities and counties in Colorado as well as the state itself. Additionally, any "natural growth" in revenues that exceeded this rate was to be either earmarked for educational improvements or rebated to the taxpayers once an adequate reserve ("rainy day") fund was established. This has led to a decrease in actual tax revenue (relative to population and inflation) for two reasons. Because the law does not adjust for rising productivity, additional income from year to year among the same population can not be effectively taxed. Secondly, the law only looks at the previous year, leading to a "ratchet-effect", wherein if tax revenue temporarily lowers in a recession, revenue can not rise back to pre-recession levels without a referendum. In Colorado, these factors have led to a decreasing overall tax revenue in the state.

-Pete 19:44, 21 May 2007 (UTC)

It looks very related; that's a chunk of text from the page you received being included in the information you sent (that's the styling information for navigation popups, as it happens, but given what you've said upthread it's probably just a bit of text plucked out from the page's HTML at random). One possibility might be network problems somewhere between you and Wikipedia, but I'm not sure what would case the symptoms you've seen exactly. --ais523 12:19, 22 May 2007 (UTC)
You are not the only one to experience this weird link popping up, see Shoulder_problems&oldid=133059167#Shoulder_structures_and_functions Root4(one) 05:41, 24 May 2007 (UTC)
Thanks again for your thoughts. Network weirdness sounds plausible, except that there are so many error checks built into TCP transmission that it seems unlikely. Also, I haven't noticed this posting to sites other than Wikipedia. In case it's relevant, I have POPUPS installed...I've been thinking of ditching it though, and trying a different tool. Twinkle seems popular, I may give that a try. -Pete 20:03, 22 May 2007 (UTC)
One more weirdness - this time an explicit error, upon trying to save an edit to the John E. Frohnmayer article:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

(SQL query hidden)

from within function "SiteStatsUpdate::doUpdate". MySQL returned error "1205: Lock wait timeout exceeded; Try restarting transaction (10.0.0.237)".

-Pete 22:19, 22 May 2007 (UTC)

Still happening, getting worse

Sorry to be such a naysayer, but the random pieces of HTML tags scattered over Wikipedia articles seems to be getting worse. I hope somebody smart is looking into this! -Pete 18:42, 31 May 2007 (UTC)

Just some suggestions, no pro advice here...You need to isolate the problem by either removing pop-ups or disabling JavaScript in your browser. Any updates to how the server handles form data, update to your browser, or a change to the pop-up code could cause a problem. Are you including the javascript from lupin or did you copy the code? Take a look at the last change made to the script and when your browser was last updated. Look to see if there is a relationship between the change date and when the pop-up errors started. -- I already forgot  talk  19:28, 31 May 2007 (UTC)
Good suggestion. I somehow immediately forgot about the Popups aspect - I'll disable it now, and report back in a few days on whether that solved the problem. -Pete 19:36, 31 May 2007 (UTC)
Okay, so I haven't seen the problem at all since disabling POPUPS. So consider it isolated. I'll see about letting the Popups developer know. -Pete 00:09, 5 June 2007 (UTC)

New Messages Bar

I have heard of this problem before, but don't know (and possibly can't) fix it. Anyways, the You have new messages bar will not go away from my browser. Isn't there something you have to put in my monobook.css file? Can you do that on an IP address? Is there another way to fix it? Thanks, 24.4.25.168 20:03, 2 June 2007 (UTC)

This problem has been affecting IP addresses for a while on Wikipedia. Some IP addresses never get the new messages bar while others have the bar "stuck" there. There is currently no fix to the problem except to register an account with us. See Category:Wikipedians_who_are_terribly_frustrated_about_Bug_ID_9213 & Wikipedia_talk:Administrator_intervention_against_vandalism#Bug_ID_9213 for more info. -- Hdt83 Chat 20:14, 2 June 2007 (UTC)

==Section==</nowiki>)where no sub sections (===Sub-Section===) show up in the table of contents - but then for every other section they will? Really would appreciate some help here - I'm having a problem with some of my pages. danielfolsom 21:12, 1 June 2007 (UTC)

You can demote all the subsections you don't want to level 4 or above and then use {{TOClimit|4}}. There'd be discrepancies with the font sizes of the titles, but I don't know of any other way. –Pomte 22:36, 1 June 2007 (UTC)
One method
You could use the semi-colon method of creating a heading that will not show up in the table of contents, but it will not have an edit button either.-gadfium 01:36, 2 June 2007 (UTC)
hmmm - I'm not sure any of those would work for this scenario. The problem is I'm working with my talk page - and I have a wierd archive system set up, but I'm trying to put it at the top of the page because if people click the plus sign, their thing won't show up in the toc.danielfolsom 05:19, 2 June 2007 (UTC)
This should work: change all your archived sections from level 2 to level 3, and get rid of that level 1 "Archive" heading from the top. –Pomte 22:52, 2 June 2007 (UTC)

Table of Contents/Sub Sections

I have a very strange question. Is it possible to have one section ( {{{11907|}}} {{Ifndef|1907|}} {{{21998|}}} {{Ifndef|1998|}} - Bevo 01:42, 3 June 2007 (UTC)

The tags are a result of substituting {{lifetime}} and some manipulation through AWB. See this edit and this edit. I've removed the tags as they are useless now. Graham87 10:25, 3 June 2007 (UTC)

Is there really a diversity of date format preferences?

I suspect that wikilinking dates to allow for date format preferences is a waste of time and a source of ugly articles with links that can't possibly support understanding. Would someone with direct read access to the database please post a tally of users' date preference choice, if they have one? I suspect one of the choices will overwhelm all the others. BenB4 22:43, 3 June 2007 (UTC)

You need to take this to MoS. This is an international encyclopedia, and one country's preferences should not be forced on people from other parts of the world. Corvus cornix 22:47, 3 June 2007 (UTC)
(edit conflict) If you don't like wikilinking dates, feel free not to. But for those of us that were brought up with European English rather than American English, the wiki links are very useful since European English normally puts the digit before the name of the month. AFAIK, the latter standard is also used in several Commonwealth countries. Valentinian T / C 22:48, 3 June 2007 (UTC)
What exactly does the date preference do anyway? --R ParlateContribs@ (Let's Go Yankees!) 22:50, 3 June 2007 (UTC)
It overrides the format of linked dates with the format that you listed in your preferences. For example, if I type [[January 1]], [[2007]] you could change your preferences so that you see 1 January, 2007. Corvus cornix 22:55, 3 June 2007 (UTC)
The European standard doesn't use the comma, so it is "1 January 2007" in this example. Valentinian T / C 22:57, 3 June 2007 (UTC)

User contributions not appearing

Recent edits from say the last half hour are not showing up on any User's User contributions page. Corvus cornix 22:37, 3 June 2007 (UTC)

I just noticed that too. The newbie contributions page stopped at 21:56 UTC. Rhobite 22:39, 3 June 2007 (UTC)

My bot has been making contributions since June 1, but these aren't showing up on his contribution log. Example: [2]. – Quadell (talk) (random) 23:26, 3 June 2007 (UTC)

"Due to severe database lag, contributions older than 6480 seconds may not appear on this list" hbdragon88 23:45, 3 June 2007 (UTC)

Lol! That ain't lag. Something's down. Oh well -- everything else seems to be working. :) – Quadell (talk) (random) 23:47, 3 June 2007 (UTC)
I have already explained precisely what the problem is: [3]. I hope that lays the question to rest. If not, we shall expand the experiment to include all threads similar to this one, and not just edits. Splash - tk 23:50, 3 June 2007 (UTC)


I'm aware of the "intermittent database lags can make new articles take some minutes to appear". According to this, the database lag is minor (few seconds). My watchlist is reasonably up-to-date. But, Special:Contributions is not showing edits I made over an hour ago. I have checked in a different browser, without caching issues, but doesn't help. Is it just me? or what's the problem with Special:Contributions. It's difficult to keep up with vandals if I can't tell what they have been editing. --Aude (talk) 00:19, 4 June 2007 (UTC)

hey, uhh, my contribs list doesn't include recent contribs.. the last one included is from hours ago... yes I am and was logged in; I went to the page that I had edited to double&nash; check... Ling.Nut 00:22, 4 June 2007 (UTC)
See my post above. (combined the thread) --Aude (talk) 00:23, 4 June 2007 (UTC)
Special:Statistics list a job queue of 154,359 items right now. That is a pretty long queue. Someone may have modified a few critical templates, or the database is being hammered hard. -- ReyBrujo 00:26, 4 June 2007 (UTC)
newbie contribs on Commons are up-to-date. It's just enwiki. --Aude (talk) 00:27, 4 June 2007 (UTC)
No, it has been above a million before and nothing broke; 150,000 is not that high. —Centrx→talk • 02:24, 4 June 2007 (UTC)

So, who's been messing with critical templates? Night Gyr (talk/Oy) 01:21, 4 June 2007 (UTC)

At present time, it appears that all of the enwiki database slaves except for db2 and db4 are down. We are attempting to find anyone with root access on these servers to reboot them. Until such time as someone can be found, however, we're going to be shit out of luck--please try to be patient; we're doing our best to get these problems fixed. AmiDaniel (talk) 01:22, 4 June 2007 (UTC)

At the time being, the job queue is getting smaller, but at a very slow rate. At the current load, it'll take about 24 hours to get through the job queue. ~a (user • talk • contribs) 01:26, 4 June 2007 (UTC)
It seems to me that it's lowering slightly, then jumping a lot. If just jumped about 6,000. --R ParlateContribs@ (Let's Go Yankees!) 02:06, 4 June 2007 (UTC)
I see a modification in the {{spoiler}} template, although users had been removing it from thousands of articles. Also, the other slaves are already out of synchro, so as soon as they are rebooted they will have to synchronize their contents. Will the main database be locked until they are updated? That may mean a several minutes wait until Wikipedia is open for writing... -- ReyBrujo 02:10, 4 June 2007 (UTC)

Update Alright, we got Brion and Tim on the case (poor Brion even got woken up as a result of this ...), so hopefully this will be repaired soon. May be likely that the database will be locked for a bit. AmiDaniel (talk) 02:12, 4 June 2007 (UTC)

Everything seems to be faster than a few minutes ago. ---CWY2190TC 02:14, 4 June 2007 (UTC)
Maybe a global watchlist warning should be issued when the databases are synchronizing. -- ReyBrujo 02:19, 4 June 2007 (UTC)

The job queue is definitely getting bigger, not smaller. Night Gyr (talk/Oy) 02:18, 4 June 2007 (UTC)

Ha! This: Due to high database server lag, changes newer than 14852 seconds might not be shown in this list just appeared atop my contribs list. (*doing mental math to figure out how long that is*...) K. Lásztocska 02:21, 4 June 2007 (UTC)

Yeah, maybe we should calculate the minutes instead, not very useful right now :-) -- ReyBrujo 02:23, 4 June 2007 (UTC)

And yet another update: Problem has been fixed. It's now just a matter of waiting for the slaves to catch up to the master. It will sort itself out naturally. AmiDaniel (talk) 02:24, 4 June 2007 (UTC)

By my estimate it should be caught up in a little less than half an hour. Lag is decreasing about 400 seconds per minute (at least it was when I checked). Mr.Z-mantalk¢ 02:31, 4 June 2007 (UTC)

Its down to 10,000 seconds. Were almost to 4 digits! ---CWY2190TC 02:32, 4 June 2007 (UTC)

Is it possible to have at Special:Statistics the number of servers up and down? -- ReyBrujo 02:35, 4 June 2007 (UTC)

It looks like everything is back up. ---CWY2190TC 02:35, 4 June 2007 (UTC)

Yep, mine works now. Thanks! K. Lásztocska 02:35, 4 June 2007 (UTC)

How to request a deletion of a misspelled redirect page?

I accidentally created http://en.wikipedia.org/w/index.php?title=CKX.&redirect=no How do I request to delete it? - Bevo 18:43, 3 June 2007 (UTC)

  • {{db-r3}} works. -N 18:45, 3 June 2007 (UTC)
Place {{db-redirtypo}} (for a misspelled redirect) or {{db-author}} (for a page you created by mistake) on it. --ais523 18:46, 3 June 2007 (UTC)

Transclusions list wrong?

When I view Wikipedia:Today's featured article, the text for today's and tomorrow's FA appear as expected, but when I click edit, the transclusion list for "the current version" says:

Pages transcluded onto the current version of this page:
  • Wikipedia:Today's featured article/May 23, 2007 (protected)
  • Wikipedia:Today's featured article/May 24, 2007 (protected)
  • Template:FCpages
  • Template:Fapages
  • Template:Shortcut (protected)
  • Template:TFAfooter (protected)
  • Template:TodaysFABar2007
  • Template:Tomorrow

But the FAs for 23rd and 24th can't possibly be the ones I'm viewing. Resurgent insurgent 14:52, 2 June 2007 (UTC)

I have purged the page's cache; the dates now appear updated to me. GracenotesT § 17:06, 2 June 2007 (UTC)
Now the list is stuck at June 2 and June 3. I purged, then hit edit, and Ctrl-Shift-R'ed the edit page (all steps using Firefox), and lo and behold the list is stuck again. :( Resurgent insurgent 12:10, 3 June 2007 (UTC)
I messed up the page title of one of the transcluded pages, previewed Wikipedia:Today's featured article, fixed the page title, and made a null edit. [...] GracenotesT § 21:44, 3 June 2007 (UTC)

Permanently delete articles

How can I permanently delete an article in mediawiki so that not even an admin can retrieve it? ie, totally purge it from the database. This is for a mediawiki server at my workplace on which someone posted sensitive material. Thanks.Rlevse 16:55, 31 May 2007 (UTC)

You should look at WP:OVERSIGHT and make a request via e-mail from Wikipedia:Requests for oversight. Oh sorry, for your own server - you will need to look at m:Extension:Oversight. Warofdreams talk 17:16, 31 May 2007 (UTC)
Alternatively, you can remove the edit directly in the database. Prodego talk 17:44, 31 May 2007 (UTC)
If you delete an article the normal way then wipe the archives table in you database, you'll leave almost no trace (the delete log will still be there). Gutworth 00:57, 1 June 2007 (UTC)
The above link doesn't work. This is the correct one. mw:Extension:Oversight. Harryboyles 10:04, 1 June 2007 (UTC)
If you want to completely purge the article from the database, you'll have to do it manually. Not even the Oversight extension will help there (it still stays in the database). Jayden54 18:31, 1 June 2007 (UTC)
You can manually delete it and then truncate the archive table. However, that takes out every other article that you have deleted as well. Titoxd(?!? - cool stuff) 19:26, 1 June 2007 (UTC)
Actually, if you're going to be messing around with the database, it is better to look at the page table and delete the particular record for the page. There's no way to do this completely cleanly; Oversight (or if you wait a bit, bitfields for rev_deleted) are the better way to do this. Titoxd(?!? - cool stuff) 19:29, 1 June 2007 (UTC)
Thanks guys. Let me know when bitfields is released. Rlevse 21:43, 3 June 2007 (UTC)

How to translate system message?

some system messages are korean

some system messages are english

How to translate english system message to korean? -- WonYong (talk • contribs • count • logs • email) 13:23, 31 May 2007 (UTC)

I assume you're talking about English Wikipedia with your language set to Korean in your user preferences. In general, system messages are translated on-wiki by editing a page in the MediaWiki namespace that has the same name as the message being translated with the language code appended with a slash. For example, to update the Korean translation of the message that shows at the top of the watchlist (MediaWiki:Watchdetails), an administrator would edit MediaWiki:Watchdetails/ko.
If you're talking specifically about the sidebar, it would take a little more work to make it translatable. I brought it up for discussion at MediaWiki talk:Sidebar#Sidebar labels and elsewhere, but I can't seem to get anyone interested in fixing it. Mike Dillon 14:44, 31 May 2007 (UTC)

If people want to see what this looks like without changing user preferences, the uselang parameter can change the language for a single page view. For example:

  1. //en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)/Archive_AQ&uselang=ko
  2. //en.wikipedia.org/w/index.php?title=Special:Watchlist&uselang=ko

As you can see, some of the interface is in English and some in Korean. Mike Dillon 14:49, 31 May 2007 (UTC)

If you make them all, I will move them into the mediawiki space for you, but this is the English wikipedia after all. Prodego talk 17:45, 31 May 2007 (UTC)

Request

  • following is curruent status:
navigation -> 둘러보기
Main page
Contents
Featured content
Current events -> 요즘 화제
Random article -> 임의 문서로
interaction
About Wikipedia
Community portal -> 사용자 모임
Recent changes -> 최근 바뀜
File upload wizard
Contact us
Make a donation -> 기부 안내
Help -> 도움말
  • following is my suggest:
    • (english menu -> new suggested korean menu)
navigation -> 둘러보기
Main page -> 대문
Contents -> 목차
Featured content -> 특집 문서
Current events -> 요즘 화제
Random article -> 임의 문서로
interaction -> 의견교환
About Wikipedia -> 위키피디아 소개
Community portal -> 사용자 모임
Recent changes -> 최근 바뀜
File upload wizard -> 파일 업로드 마법사
Contact us -> 고객센터
Make a donation -> 기부 안내
Help -> 도움말

-- WonYong (talk • contribs • count • logs • email) 01:58, 1 June 2007 (UTC)

It looks like the default translation of "Main page" is already "대문" (MediaWiki:Mainpage/ko). The reason that the default translation is not appearing is due to a technical issue, but bugzilla:6332 would have to be fixed in order to both pick up the default translations and implement the English Wikipedia consensus of having "Main page" instead of "Main Page".
To fix the other ones (except MediaWiki:Uploadwizard/ko), something like my suggestions at User:Mike Dillon/Sidebar would have to be implemented, otherwise the localizations would break whenever people decided to change the English version. Mike Dillon 03:34, 1 June 2007 (UTC)
"Contact us" could also be changed at MediaWiki:Contact/ko, along with "interaction" at MediaWiki:Interaction/ko (although the English default of "Interaction" should probably go at MediaWiki:Interaction as well). Mike Dillon 14:34, 1 June 2007 (UTC)
IMHO some of the translations look misleading. I might comment later on in detail, but no guarantees... --Kjoonlee 04:52, 1 June 2007 (UTC)

As far as I know, the first place to put translations is a language file, like MessagesKo.php (hope I got the correct link), which is shared by all Mediawiki project. Then you can override messages by editing Mediawiki pages, but it makes sense only (a) as a temporary fix or (b) if the new message is specific to your project. Alex Smotrov 03:11, 4 June 2007 (UTC)

And if somebody implements Sidebar that just break localization for no good reson, that's another issue. Alex Smotrov 03:11, 4 June 2007 (UTC)

Outage

We had a bit of an outage due to some problems at the data center. This is now mostly resolved (see details), but you may see database errors on some pages. --brion 12:53, 4 June 2007 (UTC)

Heavy database lag

The probability of making an edit, let alone viewing a page, has dropped below 15% without getting an error message. RC feed shows edits being made at a greatly reduced rate. Have the database servers crashed again? MER-C 11:29, 4 June 2007 (UTC)

Yeah, had another crash this morning. See this post by Brion. AmiDaniel (talk) 15:29, 4 June 2007 (UTC)

My uploaded images

How do I get a list of images I have uploaded, please? BlueValour 04:09, 4 June 2007 (UTC)

[4] --Deskana (talk) 04:09, 4 June 2007 (UTC)
Splendid, thank you. BlueValour 15:50, 4 June 2007 (UTC)

Kennedy Family Tree template

{{kennedyfamilytree}} I have a problem with this template while using IE. Either on my computer or my sister's. Another editor suggested I change browsers, but I do not think that is fair. As there are many others who use IE. I don't know if everyone who uses IE, as their browser, has a problem with it. But when I attempt to edit these articles, my browser hangs, I lose control of the mouse, and becomes very frustrating because I can't move out of the page. It's very frustrating, that I have to change browsers to FireFox just to edit these articles with this template. Even just accessing them is probmatic.

While I believe the template is very interesting, but the frustration caused by it over-rides the interest. Anyway, the articles already have the geneology information and adding this template, that is huge, and does not fit the screen without having to scroll, with a mouse that won't work, BECAUSE of the template, it is frustrating (have I said that before?) My preferred browser, IE, has all my "stuff" on it, and I, nor anyone else should not be told or made to use a specific browser to view or edit articles on Wikpedia.

This is the ONLY template I have a problem with. There is something wrong with it, IMO, that is causing this problem. It is not my computer, I do not have a virus, as I was told by this user, who insists on reinserting the template after I asked him not too. Thanks for any help with this. - Jeeny Talk 21:33, 3 June 2007 (UTC)

This is a peeve of mine too, things that only work in IE or only work in FF. Templates should definitely work in both. Rlevse 21:45, 3 June 2007 (UTC)
Yay. Reason! Thank you. Okay, so what should I do now? Yell at him for reverting me? lol Or just remove the templates, or just wait here for more input? I'm lost. ugh. :) - Jeeny Talk 21:53, 3 June 2007 (UTC)

In my opinion, a template like this does not belong in individual biographical articles. It is ridiculously large and mostly irrelevant to any article except Kennedy family. That article actually has a textual version of the genealogy, not a tree. Having a large genealogical template like this inevitably runs into sourcing problems, since genealogy is very often a matter of educated guessing based on ambiguous or unreliable sources.

As for browser problems, I don't think there is anything browser-specific in these templates, they're just really big. I've nominated this template for deletion at Wikipedia:Templates for deletion/Log/2007 June 4#Template:Kennedyfamilytree. Mike Dillon 15:23, 4 June 2007 (UTC)

Follow-up

Hi Jeeny. Could you tell me whether you see the same issues when you look at the template or a containing article if you are not logged in? I don't see any user scripts in your monobook.js file, so I would guess you see the same behavior whether or not you are logged in. Also, could you give some idea of the specs of your computer, particularly the amount of RAM (right click on "My Computer" and open "System Properties"). Mike Dillon 18:36, 4 June 2007 (UTC)

Help Desk not having a plus button

All talk article, even ones in the Wikipedia namespace seem to have a + button at the top next to the edit button. This helps if you want to create a new section at the bottom. The Help Desk, however, does not have one. Is it possible to fix this? The Evil Spartan 00:20, 5 June 2007 (UTC)

I've added it in; you just use the magic word __NEWSECTIONLINK__. -Amarkov moo! 00:23, 5 June 2007 (UTC)

Image lining up

Not sure where else to post this... but I just inserted an image into Amazing Grace - I'm convinced the image at the top makes the article much more asthetically pleasing. But I can't figure out how to get the lyrics below the image, not to its right. Does anybody know a way that won't mess up the page? Any help here would be great. The Evil Spartan 00:19, 5 June 2007 (UTC)

You would embed the image within the DIV content and left-align it. - Bevo 04:38, 5 June 2007 (UTC)

Image deleted, but still accessable?

This image was deleted in April 2006 but it's still available if you have the direct link to it, like this http://upload.wikimedia.org/wikipedia/nap/thumb/0/05/SophiaLoren55.jpg/300px-SophiaLoren55.jpg While it does seem to be rare and odd that someone would have such information, knowing this, someone could upload an image, not care if it gets deleted and just use it having the direct link to it. I know "deletion" does mean the actual deletion of the image, but it seems the an image that's deleted shouldn't be accessible by any means. Anyone have any insight? MECU≈talk 15:50, 4 June 2007 (UTC)

That image is on a different wiki. --brion 19:07, 4 June 2007 (UTC)

Section watching

It would be nice to be able to watch a section of a page, rather than the entire page. Whenever I post a question or comment to a project page (like this one), I have to either face a deluge of changes on my watchlist, or keep the page open and periodically refresh it, to see the response when it's posted. I could request a response on my talk page, but threads on project pages are likely to be useful to someone other than myself. Is there a script for this possibly? Thanks, — Swpb talk contribs 13:25, 4 June 2007 (UTC)

It would create far too much server load unless this was coded into the software; a script would have to check the history of each page on your section watchlist every time you visited it to see when that section was last edited, and it would have to check the content of the change as well if the section-edit button hadn't been used. Also, sections can be renamed, etc., so it wouldn't work too well even if it were possible. --ais523 13:48, 4 June 2007 (UTC)
Section watching is not feasible. There will be improvements to the discussion system in the future which will give similar benefits for what you're talking about, however. --brion 19:08, 4 June 2007 (UTC)
m:LiquidThreads, for those looking for a link. -- Ned Scott 19:12, 4 June 2007 (UTC)

Weird bits of text in various places

In the last couple days, I've been getting weird chunks of text in random parts of pages. I'd say it's happened maybe 10 times. Looks as though some database field is getting randomly included in an article, or parts of HTML tags are getting stripped out. Refreshing the page usually makes it go away. For example, here are a few lines from my watchlist; look at the second line:

20:07 Hanford Site (diff; hist) . . (+500) . . 70.20.190.160 (Talk) (fire balloon attack)

20:05 torial_elections%2C_2010" title="United States gubernatorial elections, 2010">United States gubernatorial elections, 2010 (diff; hist) . . (+7) . . 67.162.154.78 (Talk)

m 19:55 Pierce v. Society of Sisters (diff; hist) . . (-4) . . Davidwr (Talk | contribs) (→Background - wikilink fixup of Supreme Court of the United States)

-Pete 06:30, 21 May 2007 (UTC)

That looks like part of the start of an HTML tag is missing; you're seeing the second half of an <A> tag there, for instance (it's exactly where the A tag should be, it's just that the first half of the tag is missing). I'm not sure what's causing it. --ais523 09:53, 21 May 2007 (UTC)
Yes, I think your analysis is correct, but when I refresh the page, the problem goes away. It's only been happening in the last couple days.
Not sure if this is related, but I've also been having random chunks of text appear in my edits, also in the last few days. It's the kind of thing I might assume results from a stray "paste" keyboard shortcut on my part, except that it's happened several times, in areas of text I haven't even been editing. For instance, the following weird text showed up after this edit; I hadn't even cliicked in that paragraph. (I bolded the extra text below to draw attention to it.)
The most famous and prominent example of TABOR legislation is in the state of Colorado.[1] In 1992, the voters of the state amended Article X of the Colorado Constitution to the effect that any tax increase resulting in the increase of governmental revenues at a rate faster than the combined rate of population increase and inflation as measured by the either the cost of living index at the state level, or growth in property values at the local level, would be subjected to a popular vote in a referendum, a process referred to as &quo<link rel="stylesheet" type="text/css" href="http://en.wikipedia.org/w/index.php?title=User:Lupin/navpop.css&action=raw&ctype=text/css&dontcountme=s">t;de-Brucing" after Douglas Bruce, the author of the amendment. This applies to any cities and counties in Colorado as well as the state itself. Additionally, any "natural growth" in revenues that exceeded this rate was to be either earmarked for educational improvements or rebated to the taxpayers once an adequate reserve ("rainy day") fund was established. This has led to a decrease in actual tax revenue (relative to population and inflation) for two reasons. Because the law does not adjust for rising productivity, additional income from year to year among the same population can not be effectively taxed. Secondly, the law only looks at the previous year, leading to a "ratchet-effect", wherein if tax revenue temporarily lowers in a recession, revenue can not rise back to pre-recession levels without a referendum. In Colorado, these factors have led to a decreasing overall tax revenue in the state.

-Pete 19:44, 21 May 2007 (UTC)

It looks very related; that's a chunk of text from the page you received being included in the information you sent (that's the styling information for navigation popups, as it happens, but given what you've said upthread it's probably just a bit of text plucked out from the page's HTML at random). One possibility might be network problems somewhere between you and Wikipedia, but I'm not sure what would case the symptoms you've seen exactly. --ais523 12:19, 22 May 2007 (UTC)
You are not the only one to experience this weird link popping up, see Shoulder_problems&oldid=133059167#Shoulder_structures_and_functions Root4(one) 05:41, 24 May 2007 (UTC)
Thanks again for your thoughts. Network weirdness sounds plausible, except that there are so many error checks built into TCP transmission that it seems unlikely. Also, I haven't noticed this posting to sites other than Wikipedia. In case it's relevant, I have POPUPS installed...I've been thinking of ditching it though, and trying a different tool. Twinkle seems popular, I may give that a try. -Pete 20:03, 22 May 2007 (UTC)
One more weirdness - this time an explicit error, upon trying to save an edit to the John E. Frohnmayer article:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

(SQL query hidden)

from within function "SiteStatsUpdate::doUpdate". MySQL returned error "1205: Lock wait timeout exceeded; Try restarting transaction (10.0.0.237)".

-Pete 22:19, 22 May 2007 (UTC)

Still happening, getting worse

Sorry to be such a naysayer, but the random pieces of HTML tags scattered over Wikipedia articles seems to be getting worse. I hope somebody smart is looking into this! -Pete 18:42, 31 May 2007 (UTC)

Just some suggestions, no pro advice here...You need to isolate the problem by either removing pop-ups or disabling JavaScript in your browser. Any updates to how the server handles form data, update to your browser, or a change to the pop-up code could cause a problem. Are you including the javascript from lupin or did you copy the code? Take a look at the last change made to the script and when your browser was last updated. Look to see if there is a relationship between the change date and when the pop-up errors started. -- I already forgot  talk  19:28, 31 May 2007 (UTC)
Good suggestion. I somehow immediately forgot about the Popups aspect - I'll disable it now, and report back in a few days on whether that solved the problem. -Pete 19:36, 31 May 2007 (UTC)
Okay, so I haven't seen the problem at all since disabling POPUPS. So consider it isolated. I'll see about letting the Popups developer know. -Pete 00:09, 5 June 2007 (UTC)

Table syntax documentation?

I'm looking at the country infobox code and I see it starts with:

<table class="infobox geography vcard" style="width:50ex; margin-top:0.75em;">

Where can I find documentation for this syntax? In particular, what is an "ex" and what other units can I use to specify a width? --Ideogram 04:09, 5 June 2007 (UTC)

CSS Spec. –Pomte 06:33, 5 June 2007 (UTC)
Uh, really? I think the question has to do with specific CSS classes defined by Wikipedia…I also would like to know where they're documented. I use class="wikitable" and class="wikitable sortable" all the time, but don't know what else is out there. -Pete 06:39, 5 June 2007 (UTC)
MediaWiki:Common.css for those and other classes, and it leads you to the stylesheets for specific skins. –Pomte 06:42, 5 June 2007 (UTC)
Excellent, thanks. That page links to Wikipedia:Catalogue of CSS classes, which I think is what we're both looking for. -Pete 06:49, 5 June 2007 (UTC)
Ems and Exes explained: [5]. Adrian M. H. 17:07, 5 June 2007 (UTC)

Replacement script

If no one minds, I plan on replacing the deprecated {{Football stadium}} with {{Infobox Stadium}}, and replacing the appropriate parameters as well, with a semi-automated JS script that gives me the diff before I save. A sample edit can be seen here. Does anyone have any objections? GracenotesT § 19:12, 10 June 2007 (UTC)

I'll take the silence as a go-ahead, and will start at about June 10 11, 20:00 UTC (or possibly earlier), at a reasonable speed, if there are no objections. GracenotesT § 02:20, 11 June 2007 (UTC)
I'm guessing you mean the 11th, since you left this note after the time you said you would start. It seems okay, but shouldn't the info in the infobox be centered? --(Review Me) R ParlateContribs@(Let's Go Yankees!) 02:37, 11 June 2007 (UTC)
I can fix the centering (and the rest of the template seems to have been coded less-than-elegantly); the important thing is to have just one template for stadiums, and improve that if needed. GracenotesT § 02:57, 11 June 2007 (UTC)
I'm working on the pages right now. GracenotesT § 21:23, 11 June 2007 (UTC)
All right, done. If anyone notices any errors, I'd be glad to fix them. GracenotesT § 22:06, 11 June 2007 (UTC)

Early registration for Wikimania 2007 is open.

Is there any way to get rid of this without having to click [hide]? Some kind of script maybe? I'm using page title overrides in my userspace which makes it hard to klick the hide button directly after logging in. —AldeBaer 18:09, 9 June 2007 (UTC)

You can hide it permanently by using #mw-dismissable-notice { display: none } in your monobook.css (or equivalent for a different skin). If you want to simulate the same action as the hide button, you have to call dismissNotice() from a user script. One way do do this would be to add a link to the toolbox:
addOnloadHook(function () {
    addPortletLink("p-tb", "javascript:dismissNotice()", "Dismiss site notice")
});
There are probably plenty of other ways depending on what you want to do. Hope that helps. Mike Dillon 19:34, 9 June 2007 (UTC)
Thanks. —AldeBaer 20:49, 9 June 2007 (UTC)
Additional question: Does that mean it's generally possible to change the contents of the navigaton/interaction/toolbox menus? If so, where can I learn more? —AldeBaer 21:06, 9 June 2007 (UTC)
Wikipedia:WikiProject User scripts is the place. There are a bunch of scripts other people have already written at Wikipedia:WikiProject User scripts/Scripts. Also, I forgot to mention that the JavaScript code above should be placed in your monobook.js file. Mike Dillon 21:09, 9 June 2007 (UTC)
Thanks once more. —AldeBaer 21:20, 9 June 2007 (UTC)

Template testing for images on Commons

Is there way to use "#ifexist" in templates to check if an image (still) exists on Commons. {{ #ifexist: Image:Picture.jpg}} depends on the image having a page here for the image on commons. {{if interwiki link|commons:Image:Picture.jpg}} doesn't appear to work either. -- User:Docu

I believe there were plans to make {{#ifexist:Image:Picture.jpg}} check if a page by that name existed (for images it would be the description page), and {{#ifexist:Media:Picture.jpg}} check if a file by that name existed. It doesn't seem to have been implemented yet. --Splarka (rant) 07:27, 10 June 2007 (UTC)
Thank you for your reply. This it would be great as currently {{#ifexist:Image:Picture.jpg}} fails if no image description page is available on en.wikipedia for an image at commons (that is: in most cases).
{{if interwiki link}} may have worked some time ago, as Template:Infobox School implements some sort of checking if the image is available. Currently it throws out an error, if one uses "[[Image:Picture.jpg]]" instead of "Picture.jpg" as argument. -- User:Docu

query.php

Does anyone know why the first of these two queries fails but the second one works? success error. — Carl (CBM Â· talk) 16:32, 4 June 2007 (UTC)

Replacing %20 with underscore works. –Pomte 16:37, 4 June 2007 (UTC)
Thanks, that is at least a temporary hack. Both of the queries have two-word continuations, and both of them have %20 in the URL, but only one works, so something more complex is going on. — Carl (CBM Â· talk) 16:42, 4 June 2007 (UTC)
Actually, the same error occurs for this query which has only one word in the continuation and is returned by this query as right one to fetch next. — Carl (CBM Â· talk) 16:46, 4 June 2007 (UTC)
It seems that %20 is actually the right character to use, according to User_talk:Yurik/Query_API/Completed_Requests#Category_downloading. Was "Diffusion process" returned in a "category next" tag? Tizio 16:54, 4 June 2007 (UTC)
No, but this one is the first error I get using %20. That's the second continuation, the first is this. — Carl (CBM Â· talk) 17:03, 4 June 2007 (UTC)

I have copied this section to User_talk:Yurik/Query_API#Categories (copied from VPT), as that seems the best venue to me. Tizio 12:13, 5 June 2007 (UTC)

Thanks. I like to post things here as a form of public notice, in case others are having the same problem. — Carl (CBM Â· talk) 18:39, 5 June 2007 (UTC)

User page not appearing

I went to check my user page but when i got there it had a plain wiki background and no toolbars. Later when i tried it was fine. What happened?

Oysterguitarist 18:13, 4 June 2007 (UTC)

No idea. I doubt anyone can replicate the problem... I can't. --Deskana (talk) 19:31, 4 June 2007 (UTC)
It happened to me sometimes when viewing other people's userpages. I'm guessing it was a cache problem. - BANG! 01:57, 5 June 2007 (UTC)
Do you have a slow internet connection? Sometimes this happens when your browser thinks the page data has ended but it really hasn't. Gutworth 21:09, 6 June 2007 (UTC)
It sounds like it might be a bad cached stylesheet, or possibly the wrong preferences were sent out. Bypassing your cache will solve both problems. --ais523 15:51, 7 June 2007 (UTC)

Navigation bar

How to make the navigation bar hidden by default? I didn't notice the appropriate features in HTML elements at first sight. Thanks. --Brand спойт 12:43, 7 June 2007 (UTC)

Navigation bar? --əˈnongahy ♫Look What I've Done!♫ 13:07, 7 June 2007 (UTC)
E.g. Simeon's I family tree :P --Brand спойт 13:53, 7 June 2007 (UTC)
They're collapsed on that page because when 3 NavFrame divs appear on the same page, they become autocollapsed. There are only 2 visible, but if you look at the second bar, there's an invisible empty NavFrame stuck under it to do the trick. There are other, more intuitive ways to hide something. One is {{hidden}}. Another is collapsible tables, which can become collapsed by default (see the bottom table in Template:Navigational templates for the comparison). –Pomte 14:36, 7 June 2007 (UTC)

Missing pages?

Hey, folks. I know that there was some issue with things disappearing from Commons, and maybe I'm missing something that should be really very obvious, but what happened to the mainspace page The Beatles trivia? The log shows the most recent action was a restore, so it should be there, but it's a redlink. WODUP 03:45, 7 June 2007 (UTC)

It got renamed to The Beatles' miscellanea after the third AfD, then proposed for deletion for the 4th time at Wikipedia:Articles for deletion/The Beatles' miscellanea. The WikiProject then decided to move it to the subpage Wikipedia:WikiProject The Beatles/The Beatles' miscellanea, where it is supposed to be integrated into other Beatles articles. –Pomte 07:21, 7 June 2007 (UTC)
That still doesn't explain why the redeletion wasn't logged. --ais523 15:53, 7 June 2007 (UTC)

Image rendering

[[Image:Cities destroyed in Jericho TV series.svg|250px|thumb|right|Destroyed Cities in the USA]] renders OK for me, but

[[Image:Cities destroyed in Jericho TV series.svg|255px|thumb|right|Destroyed Cities in the USA]] doesn't. Only the size is different. I'm using the default Monobook skin. What's up with that? - Bevo 21:04, 6 June 2007 (UTC)

There was some sort of problem with the upload.wikimedia.org server yesterday (I've had the problem myself and I've seen various reports), but all reported problems are gone, so I assume it's working again. --Dapeteばか 07:14, 7 June 2007 (UTC)
Both sizes look OK right now. Thanks for the confirmation. - Bevo 08:33, 7 June 2007 (UTC)


New Web Page - Paper

Hello,

Does any one know about the best way to develop a webpage for a News Paper so the users do not duplicate efforts typping the same text twice. I'd like something like be able to easily upload the text file(s) where user place the Nedwspaper's information and automatically build the webpage using the uploaded text file(s).

Could any one help me on this issue please?

Thank you very much!

Radhames Lopez

You may be interested in a variety of content management systems. –Pomte 16:52, 7 June 2007 (UTC)

Wikipedia Logo - errors

segment copied from archive, initially copied from end of Wikipedia:Village pump (proposals)#Wikipedia Logo.
  • There are at least 2 major character errors in the current Wikipedia puzzle-globe logo, and other minor problems.
  • User talk:Ambuj.Saxena/Wikipedia-logo is the most centralized discussion/link compilation that I know of. (There's even a petition at that link's projectpage)
  • Nohat has explained the problems with correcting the errors. But noone seems to have a solution.
  • Somebody with patience and brains (and either delegating or computer-graphics skills), needs to adopt this problem as a personal mission, lest it remain unsolved for another year. --Quiddity 02:53, 18 May 2007 (UTC)
This is a trademarked image. You have to consider those implications as well. You may want to ask whether there would be any issues replacing the old logo with a corrected one. Titoxd(?!? - cool stuff) 03:16, 18 May 2007 (UTC)

This got archived before I had a chance to ask, Where else should I ask/suggest/prompt/prod for action/assistance with this issue? I don't want to spam everywhere potentially-relevant, but I'm unsure where to go next. It's been mentioned at various VPump pages, relevant userpages, and metapages. The only other places I can think of are image talkpages, and the various mailing lists (but which one/s?). Thanks for any help. --Quiddity 19:01, 29 May 2007 (UTC)

Probably WikiEN-l (very high traffic) and Foundation-l (more relevant) would be the ideal. Titoxd(?!? - cool stuff) 23:25, 29 May 2007 (UTC)
wikipedia-l would be more sensible than wikien-l, given the subject matter.
James F. (talk) 15:39, 30 May 2007 (UTC)
I wrote to Wikipedia-l and Foundation-l on Friday, June 1. If there is still no reply/feedback by Thursday, I'll CC it to WikiEN-l and inquire further at the 1st two. --Quiddity 19:29, 4 June 2007 (UTC)
Done. --Quiddity 19:19, 13 June 2007 (UTC)

Image:Nuvola apps kcmpartitions.png

What happened to Image:Nuvola apps kcmpartitions.png? I can't see it anymore, the orginal upload specifies a size of "0×0 (15,194 bytes)", the MIME type is not recognized, despite being a png, and the file returns a not found error. Any idea what could be going on? Note: you can see the original image through Lupin's popups by hovering over the link. Prodego talk 20:20, 7 June 2007 (UTC)

I'd ask this at commons:Commons:Village pump, as it appears to be a Commons-only issue (yes, it doesn't work, but the problem is on their end, not ours). EVula // talk // // 20:22, 7 June 2007 (UTC)
I copied it there, but it is probably a server issue, possibly temporary, and there is probably a better chance a dev will read it here rather then at the commons. Does anyone know how popups generate image previews? Prodego talk 20:40, 7 June 2007 (UTC)
See commons:COM:VP#Missing_images, as mentioned on the edit history of Template:NowCommons. --cesarb 20:59, 7 June 2007 (UTC)

Hi

Can someone give me more picture options for my nav. bar? Gdk411 17:58, 7 June 2007 (UTC)

I don't understand, what image do you want to change? Prodego talk 18:58, 7 June 2007 (UTC)
My guess is that he wants more images on User:Gdk411/Navbar. The files seem to come from [6], on the first download link. They seem to be GPL, which means they can be uploaded to Wikipedia (I think). If you look at one of the images on your navbar, Image:Exquisite-folder html.png, it has some details under licensing. x42bn6 Talk Mess 19:28, 7 June 2007 (UTC)
I want to change the images. I took the idea from Chris's page, and I don't want it to look like I used the exact same thing. Gdk411 20:05, 7 June 2007 (UTC)
The icons come from commons:Category:Exquisite icons; you can find plenty of icons at commons:Category:Icons themes. EVula // talk // // 20:12, 7 June 2007 (UTC)
Thank you very much!! Gdk411 20:16, 7 June 2007 (UTC)

Taxobox template assistance requested

Could someone knowledgable in template jargon assist on the protected {{Taxobox}} page? It appears in an update, someone removed a width restriction and taxoboxes that used to wrap text (captions, etc.; see Stylidium debile for an example) now don't, so we get large taxoboxes. The editor(s) that made the updates aren't available at the moment and the issue should be fixed ASAP. Didn't know where else to post this--hope it's appropriate for the village pump. Thanks! --Rkitko (talk) 06:57, 7 June 2007 (UTC)

The template is protected, so I've made an edit request. –Pomte 07:05, 7 June 2007 (UTC)
Fixed.-gadfium 08:51, 7 June 2007 (UTC)
Thanks! --Rkitko (talk) 01:32, 8 June 2007 (UTC)

Formatting error

Something's gone wrong here: Nottingham#Settlements within and around Nottingham - if one clicks on any link in the middle column of the first section (Within the City of Nottingham), the section jumps, instead of following the link. Once the section has jumped, if one clicks on any link in the middle column of the second section (Around the City of Nottingham), the first section jumps again! If one keeps doing this alternately, eventually the "Within" section will jump so much it will return to it's normal state, with not one clicked link performing it's function correctly.

What's going on here? And how can it be fixed? — Jack · talk · 18:33, Thursday, 7 June 2007

I don't see what is causing this problem, but that is an interesting effect. I noticed in Mozilla Firefox if I right-click a misbehaving link and select "Open link in new tab" it does the right thing. I tried copying the whole peculiar section Nottingham#Settlements within and around Nottingham to another MediaWiki wiki, and I get the exact same behavior in the edit preview. Thus whatever the problem is, it seems to travel with the section. --Teratornis 19:35, 8 June 2007 (UTC)
It could be that the dotted box increases the size of the elements somewhat and hence starts breaking things. I've seen this happen before. No idea how to fix it, though. x42bn6 Talk Mess 20:40, 8 June 2007 (UTC)

Regardless, it's still pretty fun... The problem is probably Firefox's implementation of the column-count CSS attribute. GracenotesT § 21:25, 8 June 2007 (UTC)

I've added an extra column since the effect is so great on the section. GDonato (talk) 22:46, 8 June 2007 (UTC)

Throttling of watchlisting requests

I've written a script that allows the copying of a watchlist from one account to another. Importing a watchlist works by making HTTP HEAD requests to the URLs ending in ?action=watch (which watches the page) using AJAX (I replaced 'GET' in an AJAX routine someone else wrote with 'HEAD', so I think it's a HEAD request but something might be causing it to still be GET). At present, it AJAXs for the watched pages as fast as it can; is this too fast for the servers, and should I throttle it to some extent, or is this fine? --ais523 11:21, 8 June 2007 (UTC)

Perhaps setting maxlag, and looking for a response header (if it went through), will work. GracenotesT § 13:58, 8 June 2007 (UTC)
Hm, that was a bit terse. My suggestion is to set action=watch and maxlag=5 (or possibly higher, since it's not like you're submitting a form... actually running the script is the best way to check this). mw:Manual:Maxlag parameter gives the details about response headers and the like; x.getResponseHeader("Header-Name") will work, and I don't even think the that ready state has to be 4 to get the header. Once it's at an appropriate value (I believe 3, "receiving", would work), seeing if the response header is there and then aborting the XMLHttpRequest (x.abort()) could save excessive data transfer. Not sure about this, though.
Also, instead of concatenating the wikitext string, you could make a string array, and then join("\n") it; concatenating for strings that big can cause much ado. GracenotesT § 14:18, 8 June 2007 (UTC)
I'm submitting a HEAD request (I think), which automatically stops after the header anyway. As for maxlag: presumably the right thing to do would be to wait the given amount of time and then resubmit the request? --ais523 14:21, 8 June 2007 (UTC)
Oh yes, HEAD. (Grr, forgot.) Then that works out nicely. With maxlag, waiting the specified amount of time and then submitting sounds good, but I would count the number of tries. If the count exceeds some number, I would either make the request without the maxlag, or tell the user to try importing later. GracenotesT § 14:35, 8 June 2007 (UTC)
I've set it up at the moment with a maxlag of 5 (the requests are all going through nicely at the moment (no lagcaps in my 94-entry watchlist); I had to drop it down for -1 for testing). I'll just go and put a maximum retry cap of 5 on as well. --ais523 14:52, 8 June 2007 (UTC)
I've told it to stop after 4 failed retries, now (it was an off-by-one error originally but 4 seems more sensible after testing), and increased information to the user as to what's going on. When it works, it works pretty quickly, but when the maxlag value gets too high it waits for the recommended length of time that the server suggests (it said 5 seconds in testing but I suspect it could be as much as minutes when the server's really lagged), meaning that this will be slow during high server lag (which is more or less what is wanted). --ais523 15:11, 8 June 2007 (UTC)
Neat. Not watching a page is unlikely to decrease the lag, but as long as you're not overloading the servers, that works. Sounds like a useful script! GracenotesT § 20:07, 8 June 2007 (UTC)

Free PHP hosts with mediawiki

Does anyone know of any free PHP hosts that have MediaWiki and you can add extensions etc. - this would be appreciated if someone could let me know. I didn't really want to use any of the free wiki farms as you can't really edit the Localsettings.php files. Thanks, --SunStar Net talk 10:22, 8 June 2007 (UTC)

I've noticed that freehostia has free hosting w/ Apache, PHP, MySQL, etc; but I have never used it, so I'm not sure if they live up to their claims. If so, MediaWiki can be installed manually (it is not uber-hard). Unless you want to make a fork of Commons, there should be enough space. GracenotesT § 14:27, 8 June 2007 (UTC)
  • I'll try that. Does anyone know how to install it manually?? I usually just install from the tar.gz file to WAMP, but this is a public wiki, not one for testing. --SunStar Net talk 14:48, 8 June 2007 (UTC)
I've used freehostia and they live up to their claims. They're quite good, especially for free. For information about the MediaWiki software and help see http://www.mediawiki.org/wiki/MediaWiki Good luck! MECU≈talk 18:46, 8 June 2007 (UTC)

Deletion log visible by default

I noticed that I now see automatically the deletion log at the bottom in case of clicking a redlink (e.g. Pile_GeoCosmiche). Is this a new general feature? If so, the rest of the message should be adapted accordingly where it refers to and has a wikilink for the deletion log. --Tikiwont 13:06, 4 June 2007 (UTC)

I have made a edit request at MediaWiki talk:Noarticletext#Deletion log. –Pomte 17:53, 4 June 2007 (UTC)
I took care of this. --MZMcBride 19:51, 4 June 2007 (UTC)
This is not working for at least some anons, probably for the last four days; please see MediaWiki_talk:Newarticletext#link_to_deletion_log for a related discussion. 64.126.24.11 17:59, 8 June 2007 (UTC)
Well, anons can't create pages, so they see a different message. There is MediaWiki:Newarticletext, shown to users when they edit a non-existent page, MediaWiki:Noarticletext, shown to users when they view a non-existent page, and MediaWiki:Nocreatetext, shown to anons when they view a non-existant page. It seems the deletion log is appended to only the first two, which I suppose makes sense, since anons can't recreate the page, the log shouldn't be important. However, it is very easy to just readd a log link to MediaWiki:Nocreatetext, which I have done. Prodego talk 18:19, 8 June 2007 (UTC)
Aha! Good catch and quick fix; no idea why we have three different pages, but I'll update the talk page comments I've got going... 64.126.24.11 18:33, 8 June 2007 (UTC)
The deletion log has been removed from MediaWiki:Noarticletext, so now the only way to see the log is by editing a non-existant page. See r22856. (Note we have not yet updated to this version of Mediawiki yet). Prodego talk 02:21, 9 June 2007 (UTC)
Wow, I disagree with that maneuver. What's the correct way to file an objection with this change? -- nae'blis 03:17, 9 June 2007 (UTC)
There isn't one, but I will tell AmiDaniel for you right now. Prodego talk 03:34, 9 June 2007 (UTC)
He directed me here. Prodego talk 03:36, 9 June 2007 (UTC)

Just to clarify what's been done: Rob Church did assorted reworkings on the rendering of the Deletion log such that it won't display at all when there are no entries in the log. When there are entries in the log, it will display when editing a new page in a more casual manner and alongside a "dismiss" button which is presently broken and whose purpose I don't really I understand (as such I may remove that because it's just taking up space). I also removed the deletion log from Noarticletext as the user has not yet expressed any intention of creating the article, and so there is no need for him to see it. Commentary on this is best brought up on the mailing list wikitech-l@lists.wikimedia.org or on bugzilla (the relevant bug is bugzilla:7691). AmiDaniel (talk) 03:42, 9 June 2007 (UTC)

Btw, these changes won't take effect until the next scap, which may be some time thanks to a db schema change I did to implement e-mail blocking. To see what things will look like after that, see here. AmiDaniel (talk) 03:46, 9 June 2007 (UTC)

Redirect problems

Just created a batch of redirects, and they're not going. Given I'm fairly sure I spelled "redirect" correctly, and put in a #redirect and the link, what have I done wrong? Euro IV is one of them. 81.104.175.145 12:14, 9 June 2007 (UTC)

I've fixed some. "REDIRECT" should be in upper case, like this Peacent 12:43, 9 June 2007 (UTC)
I'm not sure that's the problem, because I have created redirects with the lower-case before (and was even picked up on it) and they worked. 81.104.175.145 13:28, 9 June 2007 (UTC)
I think you need a space between 'REDIRECT' and the first [ of the destination. I've seen lower case redirect working before. DuncanHill 13:35, 9 June 2007 (UTC)
I've also seen without a space working before. (example) 81.104.175.145 13:38, 9 June 2007 (UTC)
My bad, I think the problem was that you seemed to put the unneeded extra space before the redirect line (see this) I have no idea why it happened though. Peacent 13:46, 9 June 2007 (UTC)

All of the following are acceptable redirects:

#REDIRECT [[European emission standards]]
#redirect [[European emission standards]]
#ReDirECT                        [[European emission standards]]
#REDIRECT:[[European emission standards]]
#REDIRECT [[European emission standards]] ZOMGZ OTHER STUFF!!!!!
#REDirect[[European emission standards]]{{template}}

All of these work, but only if the redirect is the first character on the first line. All characters after it do not affect the redirect (that's why we can tag pages with redirect templates.) GracenotesT § 14:19, 9 June 2007 (UTC)

Page loading times

Consider a page like List of gay, lesbian or bisexual people/U-Z, which has ~100 refs. Would it take longer to load if the refs were all done using {{cite web}}? Or if they were all formatted manually? Just 'cuz I'm curious :) -- SatyrTN (talk | contribs) 03:33, 8 June 2007 (UTC)

In cases like this, it might be best to make a substitutable {{cite web}}. Then, you could just do a one time substitution, and it'll work just as well. Of course, pages with far more references than that transclude {{cite web}}... not worrying about performance might be a good route here. GracenotesT § 14:22, 8 June 2007 (UTC)
Thanks! a) I hadn't known about not worrying :) and b) Doh! I didn't even think about substing!!!! Silly of me :) -- SatyrTN (talk | contribs) 18:27, 8 June 2007 (UTC)
Oh, do not subst {{cite web}}. Trust me on this one ;) If you want, though, I could make a version of {{cite web}} for which substituting can be done. GracenotesT § 19:38, 8 June 2007 (UTC)
Yeh, doesn't seem to work. Why is that? Because it's in the <ref> tag? Grr. -- SatyrTN (talk | contribs) 20:30, 8 June 2007 (UTC)
It probably wouldn't take longer to load, since Wikipedia does some heavy caching. Don't worry about performance. And using a template without subst has the advantage that any enhancements to the template will be propagated through the whole wiki (in the past, doing that sometimes caused the whole wiki to lock up; nowadays, however, all the known bugs which caused it were fixed, so people don't even notice when it's done). --cesarb 13:52, 9 June 2007 (UTC)

Regex question

This is a rather silly question, but is there any way to change this regex - /moo+/ so that it does not register when Amarkov signs a post on a talk page (e.g. [7])? I ask because every one of his or her posts comes up in Lupin's anti-vandal suite. Thanks, Iamunknown 04:11, 10 June 2007 (UTC)

Lol. Anyway, if there's some type of whitelist function, you could just whitelist the exact markup used in my sig. I think. -Amarkov moo! 04:14, 10 June 2007 (UTC)
That's what I figure. :P --Iamunknown 04:14, 10 June 2007 (UTC)
lol. /moo(?!!]])/ will work. GracenotesT § 05:24, 10 June 2007 (UTC)

Updated images not appearing in articles?

I updated [8] with [9], but despite purges on both commons and main, the updated image seems to be stuck in image purgatory (see Interstate 290 (Illinois); map on top right). Any ideas? Thanks! —Rob (talk) 00:24, 10 June 2007 (UTC)

Seems to be fixed now, after a little purging. Cheers. --MZMcBride 06:12, 10 June 2007 (UTC)

Early registration for Wikimania 2007 is open.

Is there any way to get rid of this without having to click [hide]? Some kind of script maybe? I'm using page title overrides in my userspace which makes it hard to klick the hide button directly after logging in. —AldeBaer 18:09, 9 June 2007 (UTC)

You can hide it permanently by using #mw-dismissable-notice { display: none } in your monobook.css (or equivalent for a different skin). If you want to simulate the same action as the hide button, you have to call dismissNotice() from a user script. One way do do this would be to add a link to the toolbox:
addOnloadHook(function () {
    addPortletLink("p-tb", "javascript:dismissNotice()", "Dismiss site notice")
});
There are probably plenty of other ways depending on what you want to do. Hope that helps. Mike Dillon 19:34, 9 June 2007 (UTC)
Thanks. —AldeBaer 20:49, 9 June 2007 (UTC)
Additional question: Does that mean it's generally possible to change the contents of the navigaton/interaction/toolbox menus? If so, where can I learn more? —AldeBaer 21:06, 9 June 2007 (UTC)
Wikipedia:WikiProject User scripts is the place. There are a bunch of scripts other people have already written at Wikipedia:WikiProject User scripts/Scripts. Also, I forgot to mention that the JavaScript code above should be placed in your monobook.js file. Mike Dillon 21:09, 9 June 2007 (UTC)
Thanks once more. —AldeBaer 21:20, 9 June 2007 (UTC)

Attempting to print a page freezes Mozilla Firefox.

Whenever I try to print a page on Wikipedia, Firefox crashes. Is there any way to fix this? —The preceding unsigned comment was added by 24.144.170.198 (talk • contribs) 17:00, June 10, 2007 (UTC)

This isn't a server-side problem that we can deal with. It's either a problem with your web browser or operating system printer drivers. Have you tried using a different web browser? Have you updated your browser and printer drivers? Can you print anything at all? There's hundreds of things that could be wrong. Ask your friendly local computer geek to troubleshoot it for you. I also suggest filing a bug report with Mozilla. --  Netsnipe  â–º  18:00, 10 June 2007 (UTC)

WHOIS links on IPs' talk pages

I've noticed that the WHOIS links on the talk pages of IP users have recently changed. A link to Torstatus was added and the links to IP info, Abuse, City, RDNS, and to all the RIRs were removed. The old links are all still available on the User's contributions page. Why the change? I have no real idea how to put Torstatus to use, but I've always found the RIRs to be very useful. —Elipongo (Talk|contribs) 05:39, 10 June 2007 (UTC)

Hi Elipongo,

  • IP info essentially repeated information provided by WHOIS and RDNS except in much less detail.
  • The abuse link runs a WHOIS lookup on whois.abuse.net, but will always return nothing since whois.abuse.net only replies to queries containing domain names instead of IP addresses
  • RDNS is still there.
  • Torstatus is a list of known and active Tor (anonymity network) that require hard blocking per Wikipedia:No open proxies.
  • A multi-RBL lookup link was added. See DNSBL for more information.
  • As for the RIRs links, they were just localised WHOIS lookups. Were there any particular information they returned not already covered by the standard WHOIS link?

--  Netsnipe  â–º  07:45, 10 June 2007 (UTC)

Thanks for the quick response, Netsnipe. I always did my lookups on the RIRs, but I guess WHOIS covers them just fine. My error on the RDNS, I should wipe off my glasses once in a while, I guess. No problems for me really, just was kind of jarred by the change. Are there any plans to change the links available on anon user's contribution pages too?—Elipongo (Talk|contribs) 08:20, 10 June 2007 (UTC)

Job Queue

Yay! For the first time in about a week, the job queue has it the hundreds! --R ParlateContribs@ (Let's Go Yankees!) 19:42, 9 June 2007 (UTC)

That's... amazing. GracenotesT § 20:38, 9 June 2007 (UTC)
*sighs* WP:DWAP GDonato (talk) 20:55, 9 June 2007 (UTC)

The job queue length appearing in Special:Statistics is an inaccurate estimate (because performing an actual row count would be too expensive on such a large table) and will fluctuate according to the slave which answers that particular read request.

The queue is a queue, and it's managed; there's a bunch of scripts running through chunks of wikis in a continuous loop, like hamsters. Don't panic about the size of it, it'll get processed.

Job queue paranoia is more or less without rationale. 86.134.91.23 23:42, 9 June 2007 (UTC)

It's at least entertaining, if not pointless, to track... GracenotesT § 05:29, 10 June 2007 (UTC)
I agree. How can we legitimately (i.e. without pointless tasks) push it up to 1000 tho? Nil Einne 08:07, 10 June 2007 (UTC)
Editing {{talkheader}} can jump it up several thousand in an instant. (There's a CAT:PER request there that I'm leaving up for comments longer than usual just for this reason.) --ais523 10:46, 11 June 2007 (UTC)

Template testing for images on Commons

Is there way to use "#ifexist" in templates to check if an image (still) exists on Commons. {{ #ifexist: Image:Picture.jpg}} depends on the image having a page here for the image on commons. {{if interwiki link|commons:Image:Picture.jpg}} doesn't appear to work either. -- User:Docu

I believe there were plans to make {{#ifexist:Image:Picture.jpg}} check if a page by that name existed (for images it would be the description page), and {{#ifexist:Media:Picture.jpg}} check if a file by that name existed. It doesn't seem to have been implemented yet. --Splarka (rant) 07:27, 10 June 2007 (UTC)
Thank you for your reply. This it would be great as currently {{#ifexist:Image:Picture.jpg}} fails if no image description page is available on en.wikipedia for an image at commons (that is: in most cases).
{{if interwiki link}} may have worked some time ago, as Template:Infobox School implements some sort of checking if the image is available. Currently it throws out an error, if one uses "[[Image:Picture.jpg]]" instead of "Picture.jpg" as argument. -- User:Docu

Cheyenne, Wyoming article history corrupted?

The talk page for Cheyenne, Wyoming has several mentions of people adding and removing information from the article recently, including this diff, this one, and this complaint today about "recent" edits removing a lot of information. However, the article history doesn't show any edits between October 30, 2006 and May 26, 2007. I'm beginning to think the history has been corrupted somehow.

  1. Is that possible?
  2. Is that likely?
  3. If yes, can the history be restored?
  4. Is it possible, instead, that everyone except me can see edits in the history between those two dates, and the problem is somehow at my end?

Thanks for any insight. --barneca (talk) 13:48, 8 June 2007 (UTC)

It seems 130 edits have been deleted due to copyright violations. Cheers. --MZMcBride 13:57, 8 June 2007 (UTC)
Hmmm. Thanks for the info. Isn't that trying to kill mosquitos with a Howitzer? The first two diffs I show above seem to be edits by people who were improving/deleting material, and I have to believe a majority of the deleted edits had nothing to do with copyrighted material. If I understand correctly, someone probably added copyrighted material last fall, it didn't get taken off until late this May, and all intermediate edits, whether they related to the copyrighted material or not, just went down the memory hole? I know this much (imagine me holding my fingers 1 cm apart) about how we handle copyright violations, but I always thought they were just reverted or the offending material removed and that was the end of it. Or is this more a policy question now? Anyway, thanks for the explanation, and I'll welcome any additional info. Cheers back at you. --barneca (talk) 14:15, 8 June 2007 (UTC)
Unfortunately anything based on a copyrighted source, even after a drastic rewrite, has to be deleted. Prodego talk 18:30, 8 June 2007 (UTC)
Exactly, and that's why posting copyright violating material is incredibly bad for the project and bad for editors. Unfortunately, some editors don't seem to care (some editors are of course naive but seem to be aware it isn't allowed but do it anyway) Nil Einne 08:10, 10 June 2007 (UTC)

Missing image descriptions from Commons

What happened to transcluding the Commons image description page? What's up with the "This page left intentionally (mostly) blank"? howcheng {chat} 16:51, 7 June 2007 (UTC)

They look transcluded here. Any specific pages you can link to? –Pomte 19:15, 7 June 2007 (UTC)
Looks like the problem has fixed itself. Must be some sort of backup message in case there's some database/server lag or something. howcheng {chat} 20:26, 7 June 2007 (UTC)
I've seen it today several times today here, as well as on the Hungarian WP.. You have to refresh/purge for some time to reproduce it, if you don't see it. --Dami 16:38, 10 June 2007 (UTC)

Not logged in indication

If I am not logged in and about to post an edit, the way I can immediately tell that I am not logged in is whether the "This is a minor edit" selection appears directly above the Save Page button. If the "This is a minor edit" selection does not appear directly above the Save Page button, the I realize that I am not logged in. Is it possible that the Save Page button can be made to appear in a slightly different color (e.g., a light red/rose color) when users are not logged in and about to post an edit. This may go a long way in preventing registered editors who forget to log in from inadvertently posting their IP address. -- Jreferee (Talk) 20:38, 16 June 2007 (UTC)

The color would look awkward to anon editors. The "You are not currently logged in..." message bumps the edit box down a bit. If you have set some special preferences or changed your skin, then it's easier to tell. For example, I've hidden the entire toolbox with the Greek letters etc. as well as the footer on every page. With your monobook.css, you can change the save button to appear as rose when you are logged in. Use #wpSave {background-color:#fdd;}Pomte 20:51, 16 June 2007 (UTC)
OK, thanks for the solution. I added the string to my monobook.css and the button does appear rose color. Do you have the code for a light green color instead? Also, for others, is it possible to move the "You are not currently logged in. ..." statement so that it appears below the Save Page button or below the "Do not copy text from ..." text instead of far from the Save Page button as it is now (for the same reasons I listed above)? -- Jreferee (Talk) 21:01, 16 June 2007 (UTC)
Change #fdd to green or consult web colors for various shades of green. To move the warning, a developer has to change it, I think. –Pomte 21:17, 16 June 2007 (UTC)
Thanks. I changed it to 00FF00 green. -- Jreferee (Talk) 21:30, 16 June 2007 (UTC)

Talk pages

Why are Talk pages accessed by clicking a tab which says discussion? This does confuse some new editors, who get welcome messages reminding them to sign talk pages even though you never see anything to click to take you to a talk page! Could the tab be relabelled as talk for consistency and to avoid confusion? DuncanHill 23:26, 15 June 2007 (UTC)

It's that way for historical reasons. The tab title is at MediaWiki:Talk (lowercased via CSS special effects), which has an interesting edit history. --cesarb 00:04, 16 June 2007 (UTC)
There is code in my simple.js to change it to talk, and rename the other tabs as well. — Carl (CBM Â· talk) 00:10, 16 June 2007 (UTC)

Why is 'Search' case-sensitive?

The 'Search' function cannot find 'pilot licensing in canada' but takes me right to the page for 'Pilot licensing in Canada'. Why is searching on Wikipedia case-sensitive? What possible use is that? —The preceding unsigned comment was added by Icitrom (talk • contribs).

It lets us distinguish between Half-Life and Half-life for one. You can always just create a redirect. Night Gyr (talk/Oy) 17:27, 15 June 2007 (UTC)
See Wikipedia:Go button for an explanation of the variants in capitalization our search will find by itself. --Quiddity 18:04, 15 June 2007 (UTC)

Detecting printable layout from template

Template:Scroll box currently breaks the printable layout of pages where it is used. It should be possible to block it from rendering in when printable is in the url, but I wanted to check and see if there was an official way to do it. Is there? f Please respond to template talk:scroll box. MrZaiustalk 06:23, 11 June 2007 (UTC)

I do not know of a way to detect that in the template itself. But changing MediaWiki:Common.css is a way to solve this. But changing the CSS is a big deal on Wikipedia. --ChoChoPK (球球PK) (talk | contrib)
If it is at all possible to tell from within the template itself, it seems like that would be preferable to changing CSS. Is it possible to execute Javascript in it to get the URL we're being hit from, or, better yet, is there a magic word that does the same thing? Do we need to file a feature request with MediaWiki? MrZaiustalk 08:04, 11 June 2007 (UTC)

The best way to deal with this is create a CSS class (say, "scrollbox"), but make sure to add:

@media print {
    .scrollbox {
        overflow: visible;
    }
}

And actually, using overflow-x is a bit more elegant than merely using overflow, since that's the direction we want to scroll in anyway. GracenotesT § 10:34, 11 June 2007 (UTC)

I may not be a CSS guru, but I do know that changing java script or adding magic words are even riskier. --ChoChoPK (球球PK) (talk | contrib) 11:16, 11 June 2007 (UTC)
Nonetheless, modifications of the site css can be quite dangerous as well. Try for instance .bodyContent { display: none; } =D. Now, hopefully no one would be dumb enough to do that, but mistakes can certainly be made that can cause serious problems if the css is not tested before it's put in the Commmon.css. AmiDaniel (talk) 16:30, 11 June 2007 (UTC)
That will only affect the MonoBook skin. To really mess up, try .content { display: none; }. Or heck, just BODY { display: none; }. ;-) —Ilmari Karonen (talk) 17:09, 11 June 2007 (UTC)
Although, this can be overwritten by DOM tools (such as Firebug). GracenotesT § 21:24, 11 June 2007 (UTC)
Actually, you don't even need Firebug: just choose "View > Page Style > No Style" from the standard Firefox menu. —Ilmari Karonen (talk) 23:45, 12 June 2007 (UTC)
Oh; Who would have known :o GracenotesT § 17:45, 13 June 2007 (UTC)
Actually, we'll probably need !important and overflow-y. GracenotesT § 13:48, 11 June 2007 (UTC)

Getting a cookie with java

Hi. I'm having a bit of problem getting a session data cookie from Wikipedia with a java method. I have a class that imports:

import java.net.URL;
import java.net.URLEncoder;
import java.net.URLConnection;
import java.io.IOException;

with the following fields:

private String cookie;
private boolean loggedIn;

I'm using a String instead of a HashMap to simplify things for now (the latter is often used with cookies). The class has a method:

public void userLogin(String username, String password) throws IOException
{
    username = username.trim();
    password = password.trim();
    if (username.length()

== getting rid of the footer ==

I have another layout related CSS / JS question: Is there any way to get rid of the footer (the box that says ''"This page was last modified 02:57, 11 June 2007. All text is available under the terms of the GNU'' etc.)? I couldn't find any script that does this. —'''[[User:AldeBaer/welcome|AldeBaer]]''' 04:20, 11 June 2007 (UTC)

:Why?  -- [[User:Visviva|Visviva]] 04:30, 11 June 2007 (UTC)

::Perhaps adding '''<nowiki>#footer { display: none; }</nowiki>''' to your monobook.css [[User talk:H|<small><sup><font color="#000">(<font color="#c20">H</font>)</font></sup></small>]]<!-- Was HighInBC --> 04:32, 11 June 2007 (UTC)

::Yup, that works. Just be aware of the copyright and disclaimer information you may be missing. [[User talk:H|<small><sup><font color="#000">(<font color="#c20">H</font>)</font></sup></small>]]<!-- Was HighInBC --> 04:34, 11 June 2007 (UTC)

::Just so you know you can look in the source code and find occurrences of '''id="foo"''' then control what is inside it with css. [[User talk:H|<small><sup><font color="#000">(<font color="#c20">H</font>)</font></sup></small>]]<!-- Was HighInBC --> 04:38, 11 June 2007 (UTC)

:::Thanks a lot. Visviva, one third is curiosity on what can be done with CSS/JS, two thirds is that I recently added [[:m:Help:User style/floating quickbar|floating quickbar]] and now the footer is always attached right at the bottom of the content column and it looks a bit quirky on short pages. —'''[[User:AldeBaer/welcome|AldeBaer]]''' 04:44, 11 June 2007 (UTC)

== Strange image captions ==

When looking at image description pages of images from Commons (such as ), the pages are sometimes summarised as "''This page left intentionally (mostly) blank.''", and the caption not carried over from Commons, which can be confusing (especially when the image is a map and the key is not carried across, as is the case with ). However, there is nothing in either edit history which explains where this caption is coming from, so where is this text from? [[User:Smurrayinchester|<span style="color:#BB0055">Laïka</span>]] 11:25, 11 June 2007 (UTC)
:'''Update'''; the fault does not occur when the image is linked in line: both [[:Image:Roald Dahl Plass - Cardiff.jpg]] and [[:Image:Elevation.jpg]] work fine and displays the image summary when linked like this. [[User:Smurrayinchester|<span style="color:#BB0055">Laïka</span>]] 11:28, 11 June 2007 (UTC)
::Both images seem to be working properly now. [[User:Smurrayinchester|<span style="color:#BB0055">Laïka</span>]] 11:29, 11 June 2007 (UTC)

== [[Template_talk:WikiProjectBannerShell#Protection_hides_documentation]] ==

I wish you could tell me why , when you protect a template, , templates transcluded on it are not displayed.--'''''[[User:Andersmusician|<font color="green">Andersmusician</font>]] [[user_talk:Andersmusician|<font size="3" color="red">$</font>]]''''' 06:34, 10 June 2007 (UTC)

: [[Template:WikiProjectBannerShell]] only shows the basic template. Take a look at talk pages for examples "in use". Protection makes no difference. --[[user:h2g2bob|h2g2bob]] ([[user talk:h2g2bob|talk]]) 07:55, 10 June 2007 (UTC)

:: I think Anders is asking why, [http://en.wikipedia.org/w/index.php?title=Template:WikiProjectBannerShell&oldid=135940454 in this version] of the template page, {{tl|template doc}} doesn't seem to transclude. [[User_talk:Gimmetrow|''Gimmetrow'']] 08:03, 10 June 2007 (UTC)

:: It seems to be due to the [[Wikipedia:template limits|template limits]], reached due to the [[Template:WikiProjectBannerShell/Compliant banner list]].--[[User:Patrick|Patrick]] 14:07, 11 June 2007 (UTC)

== Replacement script ==

If no one minds, I plan on replacing the deprecated {{tl|Football stadium}} with {{tl|Infobox Stadium}}, and replacing the appropriate parameters as well, with a semi-automated JS script that gives me the diff before I save. A sample edit can be seen [http://en.wikipedia.org/w/index.php?title=Atat%C3%BCrk_Olympic_Stadium&diff=137295423&oldid=137030308 here]. Does anyone have any objections?  [[User:Gracenotes|<span style="color:#960;">Grace</span><span style="color:#000;">notes</span>]]<sup>[[User talk:Gracenotes|<span style="color:#960;">T</span>]]</sup> § 19:12, 10 June 2007 (UTC)
:I'll take the silence as a go-ahead, and will start at about June <s>10</s> 11, 20:00 UTC (or possibly earlier), at a reasonable speed, if there are no objections. [[User:Gracenotes|<span style="color:#960;">Grace</span><span style="color:#000;">notes</span>]]<sup>[[User talk:Gracenotes|<span style="color:#960;">T</span>]]</sup> § 02:20, 11 June 2007 (UTC)
::I'm guessing you mean the 11th, since you left this note after the time you said you would start. It seems okay, but shouldn't the info in the infobox be centered? --<small>([[Wikipedia:Editor review/R|Review Me]])</small> [[User:R|'''R''']] <sup>[[User_talk:R|Parlate]]</sup><small>[[Special:Contributions/R|Contribs]]<sub>[[Special:Emailuser/R|@]]</sub>(Let's Go Yankees!)</small> 02:37, 11 June 2007 (UTC)
:::I can fix the centering (and the rest of the template seems to have been coded less-than-elegantly); the important thing is to have just one template for stadiums, and improve that if needed. [[User:Gracenotes|<span style="color:#960;">Grace</span><span style="color:#000;">notes</span>]]<sup>[[User talk:Gracenotes|<span style="color:#960;">T</span>]]</sup> § 02:57, 11 June 2007 (UTC)
::::I'm working on the pages right now. [[User:Gracenotes|<span style="color:#960;">Grace</span><span style="color:#000;">notes</span>]]<sup>[[User talk:Gracenotes|<span style="color:#960;">T</span>]]</sup> § 21:23, 11 June 2007 (UTC)
::::All right, done. If anyone notices any errors, I'd be glad to fix them. [[User:Gracenotes|<span style="color:#960;">Grace</span><span style="color:#000;">notes</span>]]<sup>[[User talk:Gracenotes|<span style="color:#960;">T</span>]]</sup> § 22:06, 11 June 2007 (UTC)

== Euro V ==

Question, on [[http://en.wikipedia.org/w/index.php?title=Euro_I&oldid=114335711]] there are 6 templates used, (like: [[Template:Light commercial vehicle N1 - I - EU emission standard]]) from each template i need only the line for Euro I, is it possible to retrieve that data from the used template and not showing the other lines ? thanks. [[User:Mion|Mion]] 19:00, 9 June 2007 (UTC)

:Not without rewriting the template (to hide the other contents via paramters or css). Possibly best to copy the information to the page (or to a new single template). --[[User:Splarka|Splarka]] ([[User_talk:Splarka|rant]]) 07:34, 10 June 2007 (UTC)
::Problem there is , i created the 6 templates, so the data could be used on different places/pages, change a number on 1 place will change it also on other places, bij creating a new set of templates this auto update function is lost and then we are back to square one to manually compare the data. parameters like hide or invisible would be welcome. cheers.[[User:Mion|Mion]] 12:53, 10 June 2007 (UTC)
:::Since each of the templates is only appropriate in [[European emission standards|one place]], I have [[WP:SUBST|subst]]'d them into that one article, so this is moot.  [[User:81.104.175.145|81.104.175.145]] 09:28, 11 June 2007 (UTC)
::::No, the Euro I to VI are coming back in a different form. question is still valid.[[User:Mion|Mion]] 23:29, 11 June 2007 (UTC)

== Help needed: template mark-up ==

I want to edit a group of templates, but can't find a specific page where I should ask the following. Any suggestions?

----

I have recently added hCard mark-up to a number of geographical infobox templates, such as {{tl|Infobox Department of France}}, as used on [[Bas-Rhin]]. I want to add an extra layer of class names, trio properly use the hCard "adr" property. For instance, each of the table-rows "Region" and "Prefecture" should be wrapped in "class="adr". Any ideas how this might be achieved? One possibility is to use a "table body" (tbody) and apply the class to that. Can that be done? [[User:Pigsonthewing|Andy Mabbett]] 17:01, 12 June 2007 (UTC)

== monobook.js file ==

Can others edit my monobook.js file? -[[User:codingmasters|007bond]] aka [[User talk:codingmasters|Matthew G]] aka [[Special:contributions/codingmasters|codingmasters]] 06:55, 12 June 2007 (UTC)

:Only you, and sysops. --[[User:Splarka|Splarka]] ([[User_talk:Splarka|rant]]) 07:42, 12 June 2007 (UTC)

== Article titles that end with a question mark ==

I notice that visiting 
:[http://en.wikipedia.org/wiki/Is_Paris_Burning? http://en.wikipedia.org/wiki/Is_Paris_Burning?]
reaches the redlink [[Is Paris Burning]] instead of the article titled [[Is Paris Burning?]].  Apparently the server is interpreting the question mark as starting a set of query parameters.  I wonder if something can be done about this.  One really simple measure if there aren't too many of these articles is to put in the obvious redirects; if there's a lot, maybe we need a code patch.  Meanwhile, could someone add a redirect for [[Is Paris Burning]]?  Thanks. [[User:75.62.6.237|75.62.6.237]] 18:37, 9 June 2007 (UTC)
: Redirected. –[[User talk:Pomte|Pomte]] 18:40, 9 June 2007 (UTC)
::A code patch is unlikely, please see [[Wikipedia:Naming conventions (technical restrictions)#Question mark]]. -- [[user:Rick Block|Rick Block]] <small>([[user talk:Rick Block|talk]])</small> 18:44, 9 June 2007 (UTC)
:%3F is the correct URL encoding for the "?" character; otherwise it always means the separation between path and query string. --[[User:Brion VIBBER|brion]] 18:29, 12 June 2007 (UTC)

== Applying the Box Portal Template to a Third party wiki and having the templates work. ==

Background: i have a wiki for my house/friends, uses mediawiki 1.10.
I'm trying to implement the [[Template:Box portal skeleton|Box portal skeleton template]] with some success using Portal:Test as my wiki's sandbox for implementing this.

Q: How do i get <nowiki>{{{{FULLPAGENAME}}/Intro}} to work finding Portal:Test/Intro instead of Template:Portal:Test/Intro</nowiki>?

[[User:Kommando|Kommando]] 06:47, 12 June 2007 (UTC)

: <nowiki>{{PAGENAME}}</nowiki> strips the Template: prefix. See [[Help:Magic words]]. –[[User talk:Pomte|Pomte]] 07:04, 12 June 2007 (UTC)


  <nowiki> {{/box-header|<big>The {{PAGENAME}} Portal</big>|{{PAGENAME}}/Intro|}}
  {{{{PAGENAME}}/Intro}}
  {{/box-footer|}}</nowiki>
still returns Template:Portal:Test/Intro Template:/box-footer <br>
the header works fine. 
This is in a third party wiki [http://wiki.geekhouse.net.au/index.php/Portal:Test here].
relevant pages [http://wiki.geekhouse.net.au/index.php/Template:Box_Portal_Skeleton]  [http://wiki.geekhouse.net.au/index.php/Portal:Test/Intro]  etc  [[User:Kommando|Kommando]] 08:10, 12 June 2007 (UTC)

:Portal is not a real namespace there. In that case you need to put a colon: <nowiki>{{:{{FULLPAGENAME}}/Intro}}</nowiki>--[[User:Patrick|Patrick]] 09:57, 12 June 2007 (UTC)


Ok, what do i need to do to fix my wiki?  how do i define namespace?  [[User:Kommando|Kommando]] 13:34, 12 June 2007 (UTC)

:See [[mw:Manual:$wgExtraNamespaces]].--[[User:Patrick|Patrick]] 23:18, 12 June 2007 (UTC)

== 0 || password.length() == 0)
        throw new IllegalArgumentException("Blank parameter");

    URL url = new URL("http://en.wikipedia.org/w/api.php?action=login" +
                      "&lgname=" + URLEncoder.encode(username, "UTF-8") +
                      "&lgpassword=" + URLEncoder.encode(password, "UTF-8"));
    URLConnection connection = url.openConnection();

    String headerName;
    StringBuffer receivedCookie = new StringBuffer();
    int i = 0;
    while ((headerName = connection.getHeaderFieldKey(++i)) != null)
        if (headerName.equals("Set-Cookie"))
            receivedCookie.append("; " + connection.getHeaderField(i).split(";")[0]);
    receivedCookie.delete(0, 2);
    this.cookie = receivedCookie.toString();
    this.loggedIn = this.cookie.indexOf("Token=") != -1;
}

The only problem is that the string I'm getting back (this.cookie) from a correct login looks like this: "enwikiUserID=000000; enwikiUserName=Gracenotes; enwikiToken=00000000000000000000000000000000" (numbers obfuscated). I'm not getting enwiki_session, however. Is there something wrong with the code that's preventing me from getting that cookie? GracenotesT § 15:45, 9 June 2007 (UTC)

That cookie isn't in the raw response as far as I can tell. Mike Dillon 16:29, 9 June 2007 (UTC)
You code just like my Java lecturer. --Deskana (talk) 16:39, 9 June 2007 (UTC)
o_O I hope that's a good thing... GracenotesT § 16:59, 9 June 2007 (UTC)
Still, I have no idea how to get the cookie from api.php's login page. It's received from this page, but it would be much cleaner to get it when logging in, rather than when editing. I didn't mention that I also have a private String called "sessionData" that stores the enwiki_session cookie, but I have to get it separately :( it just seems odd that either MediaWiki is acting oddly there, or that my code is messed up. GracenotesT § 17:19, 9 June 2007 (UTC)

Yes, the enwiki_session cookie is currently not being sent by API headers. You are getting back everything that's being sent:

$result['lguserid'] = $_SESSION['wsUserID'];
$result['lgusername'] = $_SESSION['wsUserName'];
$result['lgtoken'] = $_SESSION['wsToken'];

If I may make a suggestion, however, you really, really should not send your username and password as part of a GET, but rather you should submit it as a POST (I know there are no forms or the like on the ApiLogin page, but you can just stick the args your passing in the URL into the post-data where it will be handled the same). Additionally, you really should not stick passwords inside of Strings or any other Object type, but rather you should use primitives such as an array of chars. This is because of known vulnerabilities in Java whereby the data stored in Objects can be fished out, even long after the object has been garbage-collected. AmiDaniel (talk) 18:02, 9 June 2007 (UTC)

The same thing goes for a char array if you don't zero it out. The only reason it's different for a String is that the char array that hold the characters internally is not accessible for zeroing. Mike Dillon 18:13, 9 June 2007 (UTC)
Yes, indeed. Thanks for reminding of that. AmiDaniel (talk) 18:41, 9 June 2007 (UTC)

I can do a POST there. And thanks for your advice: I'm relatively new to web-related deployment issues. GracenotesT § 18:16, 9 June 2007 (UTC)

Then again, I don't think you should reinvent the wheel. </spam> MER-C 13:18, 10 June 2007 (UTC)

lol :) Nice job. I have a bit of different structure... logging in and editing are in different classes; all cookie stuff is handled by a WikiSessionManager, which is passed to the constructor of WikiEdit, and to the constructor of all other wiki-page-getting stuffs. GracenotesT § 22:26, 12 June 2007 (UTC)

Getting a cookie with java

Hi. I'm having a bit of problem getting a session data cookie from Wikipedia with a java method. I have a class that imports:

import java.net.URL;
import java.net.URLEncoder;
import java.net.URLConnection;
import java.io.IOException;

with the following fields:

private String cookie;
private boolean loggedIn;

I'm using a String instead of a HashMap to simplify things for now (the latter is often used with cookies). The class has a method:

public void userLogin(String username, String password) throws IOException
{
    username = username.trim();
    password = password.trim();
    if (username.length()

== Detecting printable layout from template ==

[[Template:Scroll box]] currently breaks the printable layout of pages where it is used.  It should be possible to block it from rendering in when ''printable'' is in the url, but I wanted to check and see if there was an official way to do it.  Is there? f Please respond to [[template talk:scroll box]]. [[User:MrZaius|<font color="Blue">'''MrZaius'''</font>]]<sup>[[User talk:MrZaius|'''<font color="Blue">talk</font>''']]</sup> 06:23, 11 June 2007 (UTC)

:I do not know of a way to detect that in the template itself. But changing [[MediaWiki:Common.css]] is a way to solve this. But changing the CSS is a big deal on Wikipedia. --[[User:Chochopk|ChoChoPK]] (球球PK) ([[User talk:Chochopk|talk]] | [[Special:Contributions/Chochopk|contrib]])
::If it is at all possible to tell from within the template itself, it seems like that would be preferable to changing CSS.  Is it possible to execute Javascript in it to get the URL we're being hit from, or, better yet, is there a magic word that does the same thing?  Do we need to file a feature request with MediaWiki? [[User:MrZaius|<font color="Blue">'''MrZaius'''</font>]]<sup>[[User talk:MrZaius|'''<font color="Blue">talk</font>''']]</sup> 08:04, 11 June 2007 (UTC)

The best way to deal with this is create a CSS class (say, "scrollbox"), but make sure to add:
<source lang="css">@media print {
    .scrollbox {
        overflow: visible;
    }
}

And actually, using overflow-x is a bit more elegant than merely using overflow, since that's the direction we want to scroll in anyway. GracenotesT § 10:34, 11 June 2007 (UTC)

I may not be a CSS guru, but I do know that changing java script or adding magic words are even riskier. --ChoChoPK (球球PK) (talk | contrib) 11:16, 11 June 2007 (UTC)
Nonetheless, modifications of the site css can be quite dangerous as well. Try for instance .bodyContent { display: none; } =D. Now, hopefully no one would be dumb enough to do that, but mistakes can certainly be made that can cause serious problems if the css is not tested before it's put in the Commmon.css. AmiDaniel (talk) 16:30, 11 June 2007 (UTC)
That will only affect the MonoBook skin. To really mess up, try .content { display: none; }. Or heck, just BODY { display: none; }. ;-) —Ilmari Karonen (talk) 17:09, 11 June 2007 (UTC)
Although, this can be overwritten by DOM tools (such as Firebug). GracenotesT § 21:24, 11 June 2007 (UTC)
Actually, you don't even need Firebug: just choose "View > Page Style > No Style" from the standard Firefox menu. —Ilmari Karonen (talk) 23:45, 12 June 2007 (UTC)
Oh; Who would have known :o GracenotesT § 17:45, 13 June 2007 (UTC)
Actually, we'll probably need !important and overflow-y. GracenotesT § 13:48, 11 June 2007 (UTC)

Destructive-editing-resistant Tor unblocking

ArmedBlowfish, unable to edit because he runs a blocked Tor exit, has posted this essay to his talk page:

Destructive-editing-resistant Tor unblocking. --Tony Sidaway 06:35, 20 June 2007 (UTC)

Logs tab

I was wondering how hard it would be to add a page logs tab to every page or if there's a javascript someone's written to do that. Especially for images on commons, I have to manually enter the url that would allow me to see the local logs. -N 01:44, 20 June 2007 (UTC)

I have some JavaScript at User:Mike Dillon/Scripts/toolboxLogLinks.js. Mike Dillon 03:08, 20 June 2007 (UTC)

RFC behavior

I noticed that something like RFC 123 will result in RFC 123 (notice the link). Where in MediaWiki's code does this happen, and is there a way to link to sections? GracenotesT § 14:36, 19 June 2007 (UTC)

[10] (this is a link to the most recent version of the parser); use your browser's search function to search for the string rfcurl to find the relevant bit of code. --ais523 17:04, 19 June 2007 (UTC)
It makes sense that it's in Parser.php. Thanks for your help :) GracenotesT § 23:27, 19 June 2007 (UTC)

Signature

Minor problem. My signature was too long before buyt I liked the way it looked. Now someone gave a me a shorter one but it doesn't look the same (the color is off and the "holla" is pressed against my name) can someone help me fix this? This is how it used to look. TayquanhollaMy work 22:30, 16 June 2007 (UTC)

Does this look any better? It's not identical to your previous signature but I've fixed the colour and the 'holla'.
Code:'''''[[User:Tayquan|<font color="blue">Tayquan</font>]] <sup>[[User talk:Tayquan|<font color="blue">holla</font>]]</sup><sub>[[Special:Contributions/Tayquan|<font color="blue">My work</font>]]</sub>'''''
Result:Tayquan hollaMy work
Tra (Talk) 22:51, 16 June 2007 (UTC)

All you have to do to make it not pressed up is add a space. Night Gyr (talk/Oy) 18:05, 18 June 2007 (UTC)

Odd video

My computer popped up a welcome video (Welcome to Microsoft ME) after F6 disking my computer. How do I access it again after I close it? I can't seem to find it at all. If this is the wrong place to ask please direct me to the right place to ask. Thank you, --IP Address 20:32, 13 June 2007 (UTC)

You'd probably be looking for the computer reference desk. Cheers, GracenotesT § 21:00, 13 June 2007 (UTC)

Signature length now capped at 255

Bug 8458 has been fixed, with a default limit of 255 characters added. So if you see anything popping up with overcomplicated sig issues, keep that in mind. Night Gyr (talk/Oy) 19:50, 13 June 2007 (UTC)

Apparently, if it's too long, it displays the normal sig, not cuts off. This sounds fair. GracenotesT § 20:13, 13 June 2007 (UTC)
I can think of a fairly obvious way of getting around this, but I don't feel like feeding beans. Still, it'll stop the average sig modifier. EVula // talk // // 20:23, 13 June 2007 (UTC)
The best route would be to expand before measuring... a bug report could be filed for this. - Gracenotes 20:26, 13 June 2007 (UTC)
Templates aren't allowed in sigs if that's what you're hinting at... AmiDaniel (talk) 04:59, 14 June 2007 (UTC)
*cough* Man, I've got something caught in my throat... EVula // talk // // 05:01, 14 June 2007 (UTC)
Hmm .. indeed. Let's fix that shall we ... AmiDaniel (talk) 05:08, 14 June 2007 (UTC)
Substed templates in sigs is not a bad idea. But expand any templates in the sig first, and then check the length. It's harder than just forbidding substitution, but would break a hell of a lot of less sigs. GracenotesT § 05:19, 14 June 2007 (UTC)
Damn, now the rabid signature-improvement specialists will use my beans to create titanic signatures. GracenotesT § 05:22, 14 June 2007 (UTC)

Redirects to anchors

At one point, redirects to sections worked, but now they don't seem to work. For instance, Face on Mars is a redirect to Cydonia Mensae#The Face on Mars, but clicking on the redirect only goes to the top of the article for me. Gimmetrow 15:37, 13 June 2007 (UTC)

It still works, but note that the following issues have always existed with it:
  1. It'll only jump down to the section if you have JavaScript enabled
  2. The jumping doesn't work at all in Safari 2.0 due to bugs in Safari.
--brion 15:56, 13 June 2007 (UTC)
I work with multiple operating systems, but I would have sworn it used to work in Safari. Thanks. Gimmetrow 16:13, 13 June 2007 (UTC)
I'm using Safari, and it works for me. DuncanHill 16:23, 13 June 2007 (UTC)
It works in 3.0 beta or WebKit nightly builds, but at least in Safari 2.0 has been working never or very intermittently in my testing since the feature got added. --brion 18:54, 13 June 2007 (UTC)

Why does border-collapse not work

I copied the table classes, "prettytable" and "wikitable", from Mediawiki:Common.css to my own wiki. Everything works except for the borders are not collapse. When I put the style in directly, it works, but not through the style sheet. Any hints? 128.101.250.70 14:32, 13 June 2007 (UTC)

You could try Firefox + Firebug, then "inspect" any html element and then see all its CSS rules and their location (CSS files) and also see which rules are overriden by other rules. — Alex Smotrov 15:14, 13 June 2007 (UTC)
Hmm. I should have thought of that. Thanks! Gutworth (talk) 19:18, 13 June 2007 (UTC)

Uploading Newer Versions of Images that are Protected

Now, I know that this is WP:BEANS, but I have to ask:

What happens if you "upload a new version of the file" of the picture that is picture of the day. Besides getting banned and blocked. What I mean is will the server let you? It is blocked, right? I'm not going to do it or anything, but if you can, maybe we should do something about it so we can stop potential vandalism. I have posted this at the Miscellaneous Village Pump too, so you can respond in either spot. If this is too WP:BEANSish for you, just delete this section. Thanks!! - Hairchrm 01:44, 13 June 2007 (UTC)

A protected image can not be uploaded over, unless the image is at commons and the upload is done locally. This is why the POTD and other main page images are temporarily uploaded here. Prodego talk 02:32, 13 June 2007 (UTC)
Only admins can upload an image on Wikipedia on top of a Commons image by the same name (and the last time I tried it, there wasn't even a warning message which annoys me). We upload them here because we can't stop the Commons version from being vandalized. --BigDT 05:45, 14 June 2007 (UTC)
MediaWiki won't allow it. You'll just get an "error: protected page" message which is really that terse. Resurgent insurgent 03:27, 13 June 2007 (UTC)

Deletion logs on deleted pages missing

The deletion logs that display when editing a deleted page have gone missing. --- RockMFR 19:01, 12 June 2007 (UTC)

It wouldn't be so bad if the link to the deletion log were reinstated, but at the moment there is neither. --Finngall talk 19:26, 12 June 2007 (UTC)

Undelete appears to be down, I get an error page when I try to access it. Database problem? Night Gyr (talk/Oy) 19:43, 12 June 2007 (UTC)

This appears to have been a bug introduced in an unrelated change, and has since been fixed. Since, as I'm writing this, the fix is not yet live on the site, I've restored the deletion log links to MediaWiki:Newarticletext and MediaWiki:Noarticletext for now. —Ilmari Karonen (talk) 21:42, 12 June 2007 (UTC)

The deletion log no longer appears on Noarticletext, only on Newarticletext (when you go to edit the page). It also only appears if entries in the log exist--that is, if the page has been previously deleted. AmiDaniel (talk) 00:10, 13 June 2007 (UTC)

Actually, now that you mention it, there is a problem. The two revisions you mention above should have no effect here as they only effect anons (who cannot create pages on enwiki). Looking into this ... AmiDaniel (talk) 00:12, 13 June 2007 (UTC)

Ah, yes. This is the one that broke it, and rev:22932 is the one that fixed it. Let's see if we can guilt Brion into doing two updates in one day :D. AmiDaniel (talk) 00:31, 13 June 2007 (UTC)

Now fixed. AmiDaniel (talk) 22:34, 13 June 2007 (UTC)

Source code editor

Why is it that the page editor shows raw source code? Why not do WYSIWYG like most HTML editors? 208.138.31.76 20:31, 11 June 2007 (UTC)

Because wikis use their own formatting language to display content, I think a WYSIWYG editor is a perennial request, though; it might be in development (either as an add-on or a feature). Dunno. EVula // talk // // 20:35, 11 June 2007 (UTC)
WYSIWYG editors are not the easiest things to write. It's a lot of JavaScript that has to platform and pretty bug free. However, try wikiEd. Gutworth (talk) 19:28, 13 June 2007 (UTC)

Wikipedia Logo - errors

segment copied from archive, initially copied from end of Wikipedia:Village pump (proposals)#Wikipedia Logo.
  • There are at least 2 major character errors in the current Wikipedia puzzle-globe logo, and other minor problems.
  • User talk:Ambuj.Saxena/Wikipedia-logo is the most centralized discussion/link compilation that I know of. (There's even a petition at that link's projectpage)
  • Nohat has explained the problems with correcting the errors. But noone seems to have a solution.
  • Somebody with patience and brains (and either delegating or computer-graphics skills), needs to adopt this problem as a personal mission, lest it remain unsolved for another year. --Quiddity 02:53, 18 May 2007 (UTC)
This is a trademarked image. You have to consider those implications as well. You may want to ask whether there would be any issues replacing the old logo with a corrected one. Titoxd(?!? - cool stuff) 03:16, 18 May 2007 (UTC)

This got archived before I had a chance to ask, Where else should I ask/suggest/prompt/prod for action/assistance with this issue? I don't want to spam everywhere potentially-relevant, but I'm unsure where to go next. It's been mentioned at various VPump pages, relevant userpages, and metapages. The only other places I can think of are image talkpages, and the various mailing lists (but which one/s?). Thanks for any help. --Quiddity 19:01, 29 May 2007 (UTC)

Probably WikiEN-l (very high traffic) and Foundation-l (more relevant) would be the ideal. Titoxd(?!? - cool stuff) 23:25, 29 May 2007 (UTC)
wikipedia-l would be more sensible than wikien-l, given the subject matter.
James F. (talk) 15:39, 30 May 2007 (UTC)
I wrote to Wikipedia-l and Foundation-l on Friday, June 1. If there is still no reply/feedback by Thursday, I'll CC it to WikiEN-l and inquire further at the 1st two. --Quiddity 19:29, 4 June 2007 (UTC)
Done. --Quiddity 19:19, 13 June 2007 (UTC)

Big Issue With Page

The Yaris page's seconds section's sub heading's edit buttons are blocking the text due to an infobox - any idea on how to fix? --danielfolsom 16:19, 14 June 2007 (UTC)

Does the fix in Wikipedia:How to fix bunched up edit links help? --ais523 16:22, 14 June 2007 (UTC)

Watching contributions

Is there a way to watch a user's contributions, either by means of watchlist or RSS?--Rambutan (talk) 16:07, 14 June 2007 (UTC)

Don't think so. I seem to remember that there was a user script for that, though; you might want to check the list of user scripts. --ais523 16:18, 14 June 2007 (UTC)
There doesn't seem to be a way to add it to your watchlist, but there is nothing stopping you from adding it to your browser's favourites list.--Kylohk 17:01, 14 June 2007 (UTC)

OK, thanks, I'll check the userscripts.--Rambutan (talk) 17:03, 14 June 2007 (UTC)

Deleted edits

Hi. I would like to know if it is possible to see deleted edits mixed with regular edits. Any flag for this? Lgrave 01:14, 14 June 2007 (UTC)

Currently, you would have to have the sysop bit, and they're displayed separately. — Madman bum and angel (talkdesk) 04:18, 14 June 2007 (UTC)
This tool will list deleted edits, but enwiki has a huge replication lag of over 134 days, and so it is all but useless here. Currently there is no way for anyone, sysops included to find a list of deleted edits for a user on enwiki. Prodego talk 04:24, 14 June 2007 (UTC)
Well, I wouldn't go so far as to say anyone =D. AmiDaniel (talk) 04:59, 14 June 2007 (UTC)
Thanks Prodego, it works great in the ptwiki! Lgrave 10:20, 14 June 2007 (UTC)

Metadata consolidation proposal and bot proposal

Would any developers be able to look at Wikipedia talk:Persondata#Persondata on a subpage (a proposal to implement a metadata tab by using talkpage subpages) and also at Wikipedia:Bots/Requests for approval/Polbot 3 and User:Polbot/ideas/defaultsort. Some of the proposals might be simplified with developer input. At least I hope so! :-) Carcharoth 17:02, 15 June 2007 (UTC)

Why is 'Search' case-sensitive?

The 'Search' function cannot find 'pilot licensing in canada' but takes me right to the page for 'Pilot licensing in Canada'. Why is searching on Wikipedia case-sensitive? What possible use is that? —The preceding unsigned comment was added by Icitrom (talk • contribs).

It lets us distinguish between Half-Life and Half-life for one. You can always just create a redirect. Night Gyr (talk/Oy) 17:27, 15 June 2007 (UTC)
See Wikipedia:Go button for an explanation of the variants in capitalization our search will find by itself. --Quiddity 18:04, 15 June 2007 (UTC)

viewing problem

i can't seem to view any of the articles in wikiepedia. everytime i click on an article or search for an article it will return a "cannot find server " screen. can anyone teach me how to fix this problem? thanks —The preceding unsigned comment was added by 220.255.36.120 (talk • contribs) 16:10, 15 June 2007 (UTC)

Table of Contents

How can I add the table of contents back on my page? Gdk411 04:23, 16 June 2007 (UTC)

Put __TOC__ in the place where you want to appear your TOC ∴ Alex Smotrov 04:35, 16 June 2007 (UTC)

Talk pages

Why are Talk pages accessed by clicking a tab which says discussion? This does confuse some new editors, who get welcome messages reminding them to sign talk pages even though you never see anything to click to take you to a talk page! Could the tab be relabelled as talk for consistency and to avoid confusion? DuncanHill 23:26, 15 June 2007 (UTC)

It's that way for historical reasons. The tab title is at MediaWiki:Talk (lowercased via CSS special effects), which has an interesting edit history. --cesarb 00:04, 16 June 2007 (UTC)
There is code in my simple.js to change it to talk, and rename the other tabs as well. — Carl (CBM Â· talk) 00:10, 16 June 2007 (UTC)

Mediawiki and adware

If anyone's familiar with the topic, I'd be interested in seeing responses to Wikipedia_talk:Advertisements#Spyware/Adware from the more technically adept editors. Is it possible to measure the impact of adware/spyware vendors on our readership? MrZaiustalk 16:15, 23 June 2007 (UTC)

Classes

Hello there! I'm working now on a template in the Lusophone Wikipedia and I saw that some "classes" (Like class="messagebox standard-talk" and class="messagebox small-talk") we use in the Anglophone Wikipedia don't work on other Wikipedias (Like those two). I don't know what's happening, but if someone knows, can you tell why and how do we make this "avaliable" for other Wikipedias? Thank you for the attention. ManecoWifi 00:25, 17 June 2007 (UTC)

These classes are defined in MediaWiki:Common.css. There's a separate copy of this page for each wiki, and it's only editable by administrators. To make the classes your mentioning usable in the other wiki, you will need to copy over the relevant piece of css code over. You can identify the correct block of code, since it is in the format .class name { other text that may occupy multiple lines } Tra (Talk) 00:43, 17 June 2007 (UTC)
Pardon me? I couldn't get it well. There is a class copy for each wiki and it's only editable by administrators of the Wikimedia (In other words, operators of all Wikis). But I'm not admin in the Wikipedia, much less in Wikimedia. Can you help me with this? ManecoWifi 00:47, 17 June 2007 (UTC)
No, you need a regular sysop at the Wikipedia in the language you want it added to to do what is explained above to Mediawiki:Common.css at their site. Prodego talk 01:04, 17 June 2007 (UTC)

Ok, I got it. Thanks! ManecoWifi 01:12, 17 June 2007 (UTC)

Not logged in indication

If I am not logged in and about to post an edit, the way I can immediately tell that I am not logged in is whether the "This is a minor edit" selection appears directly above the Save Page button. If the "This is a minor edit" selection does not appear directly above the Save Page button, the I realize that I am not logged in. Is it possible that the Save Page button can be made to appear in a slightly different color (e.g., a light red/rose color) when users are not logged in and about to post an edit. This may go a long way in preventing registered editors who forget to log in from inadvertently posting their IP address. -- Jreferee (Talk) 20:38, 16 June 2007 (UTC)

The color would look awkward to anon editors. The "You are not currently logged in..." message bumps the edit box down a bit. If you have set some special preferences or changed your skin, then it's easier to tell. For example, I've hidden the entire toolbox with the Greek letters etc. as well as the footer on every page. With your monobook.css, you can change the save button to appear as rose when you are logged in. Use #wpSave {background-color:#fdd;}Pomte 20:51, 16 June 2007 (UTC)
OK, thanks for the solution. I added the string to my monobook.css and the button does appear rose color. Do you have the code for a light green color instead? Also, for others, is it possible to move the "You are not currently logged in. ..." statement so that it appears below the Save Page button or below the "Do not copy text from ..." text instead of far from the Save Page button as it is now (for the same reasons I listed above)? -- Jreferee (Talk) 21:01, 16 June 2007 (UTC)
Change #fdd to green or consult web colors for various shades of green. To move the warning, a developer has to change it, I think. –Pomte 21:17, 16 June 2007 (UTC)
Thanks. I changed it to 00FF00 green. -- Jreferee (Talk) 21:30, 16 June 2007 (UTC)

An article doesn't display its full content

I have a problem with Janusz Gajos article. I've made some changes [11] and now the article displays only a fraction of its content. When I click "edit this page" I can see the full text. Jogers (talk) 20:06, 16 June 2007 (UTC)

Fixed. Citations that refer to an earlier one should be closed like <ref name="adfasdgds" />. The / was missing. –Pomte 20:08, 16 June 2007 (UTC)
That was fast! Thanks. Jogers (talk) 20:09, 16 June 2007 (UTC)

Dashes in article titles

There was a bug some time ago about IE 6 and dashes in article titles. At the time, little was known. Has the cause been found? Is it true that a fully-patched windows computer does not have this problem any more? — Carl (CBM Â· talk) 23:53, 9 June 2007 (UTC)

I'm not suprised. IE6 is known for not complying with standards. A fully patched Windows computer might do that, but I suggest that, if you can, either upgrade to IE7 or get Firefox: they both follow standards much better than IE6. --thematrixeatsyou 08:41, 17 June 2007 (UTC)

Template help

Is there a way to fix this Template:Infobox cardinalstyles so the text in the articles doesn't butt up against the info box? Here's an example page; Francesco Cardinal Marchetti-Selvaggiani. In all the articles with this templete it makes the page unsightly and a bit difficult to read on the articles that have more text. The example I gave is just to show what I mean. I do not know how to configure templates at all, or I'd do it myself. Thanks for any help anyone can provide. - Jeeny Talk 22:24, 25 June 2007 (UTC)

The margin-left I just added to the table's style should do it, if you're asking what I think you are. —Cryptic 22:46, 25 June 2007 (UTC)
Yay! Thank you! You're the best! :) - Jeeny Talk 23:29, 25 June 2007 (UTC)

Discussion

I am attempting to open discussion at MediaWiki talk:Recreate-deleted-warn. Participants welcome there. Thanks, Navou 16:21, 18 June 2007 (UTC)

Stray category showing up on a talk page

We have been cleaning up after some sockpuppet page moves and have discovered that Talk:Primary education keeps showing up as being in Category:Educational stages without a corresponding tag at the bottom of the talk page edit screen. Not a big problem, I waited a day after being asked about it, but it is still there. The article itself does show this category, but it seems unusual for the talk page to be automatically included. Any help or suggestions will be appreciated. Thanks! --Fire Star 火星 15:20, 17 June 2007 (UTC)

It was in the the middle of the page. Someone was referring to a category in such a way that it was interpreted as a cateory inclusion. I fixed it. Mike Dillon 15:47, 17 June 2007 (UTC)
For future reference: To prevent this kind of mis-interpretation of category links, use a colon at the start of the link. For example to link to Category:Wikipedia use :
    Category:Wikipedia

If you look at the source code, there is a colon in front of the word "Category":

    :Category:Wikipedia   (omitting the square brackets)
... this prevents this specific page from being included in the category, since we just want to link to it, not categorize this page. For more on this, see Help:Category#Linking_to_a_category and Use-mention distinction. dr.ef.tymac 16:38, 17 June 2007 (UTC)


Thank you very much! --Fire Star 火星 16:46, 17 June 2007 (UTC)
Note that you can prefix : to any wikilink or even interwiki link to get a link. For example, you can use [[:m:Talk:Spam blacklist]] to create a link to the spam blacklist on meta (m:Talk:Spam blacklist). Then there is the pointless but workable [[:Digimon]] which creates Digimon. x42bn6 Talk Mess 18:30, 18 June 2007 (UTC)

Signature

Minor problem. My signature was too long before buyt I liked the way it looked. Now someone gave a me a shorter one but it doesn't look the same (the color is off and the "holla" is pressed against my name) can someone help me fix this? This is how it used to look. TayquanhollaMy work 22:30, 16 June 2007 (UTC)

Does this look any better? It's not identical to your previous signature but I've fixed the colour and the 'holla'.
Code:'''''[[User:Tayquan|<font color="blue">Tayquan</font>]] <sup>[[User talk:Tayquan|<font color="blue">holla</font>]]</sup><sub>[[Special:Contributions/Tayquan|<font color="blue">My work</font>]]</sub>'''''
Result:Tayquan hollaMy work
Tra (Talk) 22:51, 16 June 2007 (UTC)

All you have to do to make it not pressed up is add a space. Night Gyr (talk/Oy) 18:05, 18 June 2007 (UTC)

server lag?

Am I the only one getting severe server lag today?--VectorPotentialTalk 16:53, 26 June 2007 (UTC)

View my entire UserSpace

Is there a way to check for orphaned or old userspace pages that I may have forgotten about, or to view a list of all pages in my userspace? Thanks! CredoFromStart talk 14:46, 26 June 2007 (UTC)

Here ya go.[12] You can replace the username with anyone to check elsewhere. EVula // talk // // 14:52, 26 June 2007 (UTC)
Excellent. Put it in my wiki bookmarks. Thanks! CredoFromStart talk 14:56, 26 June 2007 (UTC)
Not a problem. You can also add an ending slash to just display subpages. (tiny detail) EVula // talk // // 14:57, 26 June 2007 (UTC)

Destructive-editing-resistant Tor unblocking

ArmedBlowfish, unable to edit because he runs a blocked Tor exit, has posted this essay to his talk page:

Destructive-editing-resistant Tor unblocking. --Tony Sidaway 06:35, 20 June 2007 (UTC)

Logs tab

I was wondering how hard it would be to add a page logs tab to every page or if there's a javascript someone's written to do that. Especially for images on commons, I have to manually enter the url that would allow me to see the local logs. -N 01:44, 20 June 2007 (UTC)

I have some JavaScript at User:Mike Dillon/Scripts/toolboxLogLinks.js. Mike Dillon 03:08, 20 June 2007 (UTC)

RFC behavior

I noticed that something like RFC 123 will result in RFC 123 (notice the link). Where in MediaWiki's code does this happen, and is there a way to link to sections? GracenotesT § 14:36, 19 June 2007 (UTC)

[13] (this is a link to the most recent version of the parser); use your browser's search function to search for the string rfcurl to find the relevant bit of code. --ais523 17:04, 19 June 2007 (UTC)
It makes sense that it's in Parser.php. Thanks for your help :) GracenotesT § 23:27, 19 June 2007 (UTC)

Lost articles

A couple of weeks ago, I read here about the language Toki pona, a page giving quite some details and length. Now I come back, want to use it again, the page seems lost. Before I could access Wikipedia, I experienced several "site not accessable" errors, so there may have been a downtime. Instead of the "Toki pona" page, I get a Link List:

Results 1-50 of 155
1 2 3 4 Next »
Toki pona
Relevance: 100.0% - 1.0 KiB (161 words) - 19:45, 18 June 2007
Toki Pona
Relevance: 90.8% - 1.0 KiB (161 words) - 19:45, 18 June 2007
Toki Pona dictionary
Relevance: 82.4% - 1.0 KiB (161 words) - 19:45, 18 June 2007
Toki Pona language
Relevance: 35.3% - 1.0 KiB (161 words) - 19:45, 18 June 2007
Tokipona
Relevance: 5.9% - 1.0 KiB (161 words) - 19:45, 18 June 2007
Sonja Kisa
Relevance: 5.9% - 1.0 KiB (161 words) - 19:45, 18 June 2007
Tokipinglish
Relevance: 5.2% - 1.0 KiB (161 words) - 19:45, 18 June 2007
TP
Relevance: 0.7% - 1.8 KiB (239 words) - 11:02, 8 June 2007

None of these links directs me to any useful information. So I assume a technical problem, which I want to bring to your attention. Thank you. --Purodha Blissenbach 20:12, 18 June 2007 (UTC)

P.S. When I make the above copy link to pages, the links they appear in red color. In the list presentet to me when I made my query, the links were not red but blue. --Purodha Blissenbach 20:12, 18 June 2007 (UTC)

It was deleted per Wikipedia:Articles for deletion/Toki Pona (2nd nomination). Our search index is rarely updated, that's why you encountered such weird results. MaxSem 20:26, 18 June 2007 (UTC)
I wouldn't say "rarely", just "infrequently". :) Corvus cornix 17:58, 19 June 2007 (UTC)

About &nbsp;

I have a question. When we use &nbsp; somewhere here, it's the same as hitting the space key. If &nbsp; gives a space, is there a similar "parameter" which is similar to "Backspace". I mean, if that parameter gives a space in text, is there another which takes one space in the text? If yes, which one is it? Thank you the attention. ManecoWifi 14:02, 17 June 2007 (UTC)

No. I'd hate for this character to exist and start messing up webpages. Each character is defined to "add" something. A "backspace" "character" would modify existing characters which overcomplicates things. x42bn6 Talk Mess 14:35, 17 June 2007 (UTC)
&nbsp; is a non-breaking space, meaning that prevents an automatic line break where it is used (see the non-breaking space article for more), so it is slightly different to a regular space. I'm not sure I have fully understood the second part to your comment, but there is no such thing as far as I am aware. Hope that helps, mattbr 14:39, 17 June 2007 (UTC)
If you want to write an overstrike, there is a possible coding ox, but the alignment isn't perfect, and better is to find the character you actually wanted to type in Unicode and type that. --ais523 17:29, 18 June 2007 (UTC)
Actually, a simple ox should work just as fine if not better. —Ilmari Karonen (talk) 19:14, 19 June 2007 (UTC)

Genesis (space station module)

Whitespace issues - me and several other people on the public IRC channel haven't been able to figure out what's going on. --Random832 00:56, 21 June 2007 (UTC)

Looking at historical versions, it seems to be caused somehow by the infobox --Random832 01:00, 21 June 2007 (UTC)
I edited the infobox table markup and that fixed most of it - if anyone can figure out what's causing the rest that'd be great --Random832 01:16, 21 June 2007 (UTC)

Looks like this was fixed. One thing I noticed about the version before the fix was that a closing </tr> tag was missing for the "Station statistics" table row. Mike Dillon 01:28, 21 June 2007 (UTC)

My edit went unattributed in history

An edit I made to the Reference desk seems to have been attributed to a bot. I had added the sentence Okay. Thanks. Any idea about maxi and mini-images?--~~~~ just a few minutes ago. But the edit got recorded as being made several hours ago, and that too by a bot (see old revision & new revision) My edit also does not come up in the "difference between revision". If this is a bug in the MediaWiki software, it needs to be fixed quickly, as this is a clear violation of the GFDL license. The fact that I added that sentence to the page is recorded nowhere!--Seraphiel 05:42, 20 June 2007 (UTC)

If you look at your user contributions, you'll find that your edit was in fact made on a sub page of the reference desk. Each day at 00:00 UTC, User:RefDeskBot archives the questions under the header for two days ago. It then transcludes this onto the main RD page. Harryboyles 06:14, 20 June 2007 (UTC)
Lol, silly me. Thanks for pointing it out. Wonder why I never thought of checking my contributions. Thanks again.--Seraphiel 05:39, 21 June 2007 (UTC)

Collapsible navigation boxes question

I've been trying for a while to put some collapsible navigation boxes on my user page, as I have a couple of lists that are getting very long, but I'm encountering some strange behaviour. I want them to be collapsed by default but no matter what I do I can't seem to get this to happen properly. As you can see on my user page now they seem to default to the uncollapsed state, even though I copied the code from this user page where they are collapsed. The only way I've found to keep them collapsed is to have a blank extra navbox above or below them, as you can see on this version of my user page. Having this blank one there looks really stupid, but I can't seem to get rid of it and keep the other ones collapsed. I pretty much know nothing about all this code, so any help would be greatly appreciated. Raven4x4x 04:10, 20 June 2007 (UTC)

NavFrames autocollapse when there are 3 or more on the same page. On the other hand, slightly different collapsible tables can be manually set to collapse or expand by default (these ones autocollapse when there are 2 or more on the page, if default state is not specified). You can code collapsible tables yourself or do it with {{Navbox generic}}. If you don't want to bother with this, then use the hidden NavFrame you already had, which is perfectly legitimate, just ugly when editing. –Pomte 04:25, 20 June 2007 (UTC)
Thanks, I didn't realise you needed three on the page for them to auto-collapse. So I just added a third one! Easy. Raven4x4x 07:10, 20 June 2007 (UTC)

popups

All of a sudden my popups seem to have stopped working, does anyone have any idea why? My monobook.js & my popups.js--VectorPotentialTalk 22:24, 28 June 2007 (UTC)

Nevermind, they're working again, must have been a fluke--VectorPotentialTalk 22:25, 28 June 2007 (UTC)

Watchlist

Is there some sort of hack I can add to my monobook that would allow me to watchlist only a talk page, but not its corresponding mainpage?--VectorPotentialTalk 19:15, 28 June 2007 (UTC)

As far as I am aware, you cannot stop both pages from being watched, but you can stop specific pages from appearing in your watchlist (with JavaScript, or very hacky CSS). GracenotesT § 19:40, 28 June 2007 (UTC)
Never mind, it appears that even CSS 3 is not that hacky. GracenotesT § 19:46, 28 June 2007 (UTC)

categories

why do people do [[Category:Category name|Page name]]? Why not just do [[Category:Category name]]?--Angermerit 18:18, 21 June 2007 (UTC)

Because that sorts all talk pages under T, all user pages under U, etc. — Carl (CBM · talk) 18:39, 21 June 2007 (UTC)
See WP:SORTKEY. –Pomte 21:13, 21 June 2007 (UTC)

Don't Download SVG in Safari/Mac

When I click on an SVG in the image description page, Safari 2 (Mac) automatically downloads the SVG to my desktop.

Is there a way to make SVG behave the same way as all the other image formats (jpg, png, etc), i.e., simply directing me to a page where there's only the image (usually enlarged).

Thanks for the help, Ye Wise Pump Villagers Who Happen to Use Mac ... --Menchi 05:59, 22 June 2007 (UTC)

It does what it says. When you click on an image in the image description page, it directs you to the URI containing nothing but file that was originally uploaded. For jpg, png, etc, your brower can process them directly. For svg, it apparently cannot. Take for example commons:Image:Commons-logo.png and commons:Image:Commons-logo.svg. Clicking the link to these will produce:
http://upload.wikimedia.org/wikipedia/commons/3/39/Commons-logo.png
HTTP Status Code: HTTP/1.0 200 OK
Content-Type: image/png
Content-Length: 5557
http://upload.wikimedia.org/wikipedia/commons/4/4a/Commons-logo.svg
HTTP Status Code: HTTP/1.0 200 OK
Content-Type: image/svg+xml
Content-Length: 5780
The delivery method is identical. The difference is in the mime type. If your browser cannot recognize or process a filetype, it cannot display it inline. The reason you can see SVG images on the description pages, is due to the MediaWiki software rendering them as png first (like the above SVG, the image you see is actually something like Commons-logo.svg.png).
Some things you can try:
  • Find a plugin for your browser for SVG support (if available).
  • Increase the thumbnail size in Special:Preferences under /files. --Splarka (rant) 07:23, 22 June 2007 (UTC)
  • Render the SVG as a larger png, for example [[Image:Commons-logo.svg|1000px]].

--Splarka (rant) 07:23, 22 June 2007 (UTC)

PLEASE HELP ME!

I tried to login in to my original Wikipedia account but it said I had the wrong password. I only use three different passwords for my various accounts on the net and was wondering who to talk to and how to resolve this issue. —The preceding unsigned comment was added by 71.174.224.55 (talk • contribs) 23:52, 13 May 2007 (UTC)

Incorrect TOC formatting

making Wikipedia more user-friendly

Anyone know whether the wikipedia code can be changed so that (1) when you open the homepage, the blinking cursor is automatically located in the "search" box (since 99.9% of the users will have to take their hands off the keyboard, put their hand on the mouse, move the cursor to the box, click the box, and then put their hands back on the keyboard), (2) you can use keystrokes to find text within a page (i.e., use Alt+Edit+Find; ctrl-Find works, but the Alt pull-down menus don't work)?

The two are connected, in fact. In the browser you're using, Alt-menus aren't working because your browser's using Alt-key combinations for keyboard shortcuts; see Wikipedia:Keyboard shortcuts. So for instance, you can jump to the 'search' box by pressing Alt-Fm without having to take your hands off the keyboard. The reason the cursor isn't in the search box by default is that users expect the 'up' and 'down' keys to scroll a page, and they won't when the cursor's in the search box. You could use the multilanguage search page, http://www.wikipedia.org, instead, where the cursor is in the search box by default, as there's no info to scroll through. Hope that helps! --ais523 17:48, 2 May 2007 (UTC)

how do you delete and article you made?

meanmachine4242

If nobody else has edited the article since, log in to the account with which you made the article and place {{db-author}} on it, to request an admin to delete it. Otherwise, use WP:PROD or WP:AFD as usual. --ais523 11:03, 26 April 2007 (UTC)

Corrected number of articles

Wikipedia:What is an article? states "The automatic definition used by the software at Special:Statistics is: any page that is in the article namespace, is not a redirect page and contains at least one wiki link. The statistics software currently has no method of detecting disambiguation pages..." I assume it uses the text #REDIRECT to discriminate redirect pages; is there not some simple way the software could be taught to recognise {{disambig}} or Category:Disambiguation? This seems like a very easy thing to fix, why isn't it already there? Although, it will suddenly and dramatically reduce the article count, which may be difficult to explain... — Jack · talk · 14:56, Monday, 2 April 2007

It's a problem of what's efficient, not what's possible. Redirects are actually stored differently from ordinary pages in the database, so that the software can tell them apart trivially; the software can recognize disambiguation pages using the list in MediaWiki:Disambiguationspage, but couldn't check every page in a resonably efficient manner. There has been a feature request (bugzilla:6754) for disambiguation pages to be more cheaply distinguishable from ordinary pages, but for the time being it would be too much load on the servers to remove dab pages from the article count. --ais523 15:03, 2 April 2007 (UTC)

"Send new password" problems

Shocker: I'm sorry for editing this post, but there is a problem with the "Send new Password" function. I forgot my password, chose "Send new password", it said I'll get my password via email but I didn't. It's been 3 days now, I tried a couple of times to ask for a new password, but I don't get any email :\ —The preceding unsigned comment was added by 81.18.88.109 (talk • contribs) 14:54, 21 March 2007 (UTC)

hello

i am wondering how to read articles on technical thing

thanks much i am pleased ur support

For technical information about Wikipedia and MediaWiki, Wikipedia:Technical FAQ and the MediaWiki website may be good starting points. --ais523 18:39, 19 March 2007 (UTC)

MediaWiki talk:Anonnotice#It needs to be moved up or over:

MediaWiki:Anonnotice is clashing with many of the top-right-corner icons for anons at the moment (see the thread linked in the section title for details). So it probably needs to be moved to the left. Per discussion in that thread, I'm taking the matter here for dicussion. --ais523 10:08, 26 February 2007 (UTC)

Greek alphabet

Would it be suitable to implement (in MediaWiki:Common.css) the fonts as they are used in sl:Predloga:Jezik-el2? The rendering seems prettier than with the current {{lang-el}}. --Eleassar my talk 20:00, 30 June 2007 (UTC)

It will look prettier for people who have those fonts installed, that's all. I don't see any particular reason why not, but this does mean that {{lang-el}} will be different from everything listed here. GracenotesT § 22:06, 30 June 2007 (UTC)

The font list at that page is: new athena unicode, athena, gentium, code2000, palatino linotype, serif; and font-size is 110%. You can set a similar style on :lang(el) yourself if you want, in your monobook.css.

Mediawiki and adware

If anyone's familiar with the topic, I'd be interested in seeing responses to Wikipedia_talk:Advertisements#Spyware/Adware from the more technically adept editors. Is it possible to measure the impact of adware/spyware vendors on our readership? MrZaiustalk 16:15, 23 June 2007 (UTC)

Inside every link is a tag waiting to get out

I've started a proposal called Wikipedia:Link intersection about a method of using wikilinks to do keyword searches to find similar pages. Feedback would be appreciated -- especially from a developer. -- SamuelWantman 03:46, 25 June 2007 (UTC)