Wikipedia:Village pump (technical): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Line 713: Line 713:


Please ban user [[Special:Contributions/68.104.130.225]] ! — [[User:Chesnok|Chesnok]] 20:53, 23 October 2007 (UTC)
Please ban user [[Special:Contributions/68.104.130.225]] ! — [[User:Chesnok|Chesnok]] 20:53, 23 October 2007 (UTC)

== Admin rollback in watchlist and RC ==

Is this possible? -- <strong>[[User:Anonymous Dissident|<span style="font-family:Script MT Bold;color:DarkRed">Anonymous Dissident</span>]]</strong>[[User_talk:Anonymous Dissident|<sup><span style="font-family:Verdana;color:Gray">Talk</span></sup>]] 21:26, 23 October 2007 (UTC)

Revision as of 21:26, 23 October 2007

 Policy Technical Proposals Idea lab WMF Miscellaneous 
The technical section of the village pump is used to discuss technical issues about Wikipedia. Bugs and feature requests should be made at the BugZilla since there is no guarantee developers will read this page. Problems with user scripts should not be reported here, but rather to their developers (unless the bug is exigent).

Newcomers to the technical village pump are encouraged to read these guidelines prior to posting here. Questions about MediaWiki in general should be posted at the MediaWiki support desk.


Nested tables class="collapsible collapsed"

If someone knows of a workaround for this issue, I'd like to know what it is too. I couldn't find anything for it in Bugzilla either.

I have some nested collapsible tables coded up roughly as follows:

{|class="collapsible collapsed"
!Outer table header row
|-
| interesting information
|-
|
{|class="collapsible collapsed"
!Inner table header row
|-
| more detailed interesting information
|-
|
{|class="collapsible collapsed"
! Inner inner table header row
|-
| Even more detailed information that's not particularly interesting
|}
|}
|}

Here's what it looks like:

All of them should be collapsed by default. But when you expand the outer table, all the inner tables expand as well -- but their "show" links say "show". The Javascript apparently doesn't know they've expanded. When you click on "show" it changes to "hide", but doesn't do anything else. After that, the link works normally.

Any thoughts? TCC (talk) (contribs) 09:58, 1 July 2007 (UTC)[reply]

Looks like you aren't using it in the way it was intended. Looks like it doesn't support nesting. I'll take a look around and get you an answer and the correct code in a bit. —Andrew Hampe Talk 23:17, 1 July 2007 (UTC)[reply]
Just so you're aware then, one requirement is to be able to specify the initial state, which is why I'm using the table instead of NavFrame, etc. TCC (talk) (contribs) 01:33, 2 July 2007 (UTC)[reply]
You can hide the nested tables by putting 3 NavFrames inside one collapsible table, e.g. {{Calculus footer}}. Even if you're nesting only 2 or less, you can add an empty NavFrame div to make them hidden. I don't know of a way to make the nested NavFrames expand by default though, unless you're nesting 2 or less. –Pomte 18:55, 24 July 2007 (UTC)[reply]
That is kind of the problem with using NavFrames, yes. In fits and starts I'm working on a change to the scripting to see if I can get it to work. Going's a bit slow though, as this is my first time working with either Javascript or the DOM. TCC (talk) (contribs) 02:07, 10 August 2007 (UTC)[reply]

Sorted it. I'd made a silly mistake about the order in which scripts are executed on a page load. It's probably very klugy, so I wonder if someone experienced in JS and the DOM could have a look at it and tell me if I've done anything boneheaded? See User:Csernica/monobook.js. And what might be the chances of getting this into Common.js? TCC (talk) (contribs) 07:26, 15 August 2007 (UTC)[reply]

A little help with javascript

What's a way to execute a function on page load? Thanks, — Bob • (talk) • 07:41, July 31, 2007 (UTC)

Nevermind, I googled it. — Bob • (talk) • 08:01, July 31, 2007 (UTC)

overriding class="wikitables"

I need to override the wikitables class. Specifically, I need to replace its charming #f2f2f2 table header with another color. I tried adding style="background:red;" to the header to the header row but it seems that the wikitables class takes precedence over my customized style. So how can I override the wikitables class? -- Миборовский 05:14, 21 August 2007 (UTC)[reply]

Put "class" before "style" so that it overrides properly. Anything more, and I'd need to see an example of what you're trying to do (you could set up a page in your userspace, for example). EVula // talk // // 05:17, 21 August 2007 (UTC)[reply]
Order of class and style attributes on an element should not matter. Anomie 14:02, 21 August 2007 (UTC)[reply]
Yes, it should; the "C" of "CSS" is cascading. Declarations that are made first are overridden by later declarations (ie: if Sheet X says that h2 tags should be green, and Sheet Z says h2 tags should be red, which ever sheet is included last will determine how it is displayed, but it can stille be overwritten by an inline style that says that that particular h2 tag should be blue). EVula // talk // // 19:35, 21 August 2007 (UTC)[reply]
But if Sheet W says SPAN tags should be blue and an inline style says orange, <span class="SheetW" style="color:orange"> and <span style="color:orange" class="SheetW"> are equivalent (i.e. orange). Something similar goes for your example: <h2 class="SheetX SheetZ"> and <h2 class="SheetZ SheetX"> are equivalent. Anomie 21:34, 21 August 2007 (UTC)[reply]
Here's an example. --MZMcBride 06:43, 21 August 2007 (UTC)[reply]
If you look at MediaWiki:Common.css, you will see that the background color is being applied to the TH elements. Thus, you will have to specify the style override on each cell rather than on the row. Unless there is a good reason (not just "I like it better in this color") for overriding the class, I would advise against doing this as it will prevent user preferences or skins from overriding the color. Anomie 14:02, 21 August 2007 (UTC)[reply]

Collapsible tables

Hi, I'm using a local copy of mediawiki-1.9.3 and I can't get collapsible tables to work.

I have copied the code from articles elsewhere in this reference desk:

 
 {| class="collapsible" width="60%"
 !colspan="2"| Fun with table columns
 |-
 | Column 1 || Column 2
 |}

It works here as you can see:

Fun with table columns
Column 1 Column 2

There was no common.js, so I created one in the root directory of the local wiki. I went to the common.js page on wikipedia, pressed edit, then copied and pasted the code into my common.js. It contains:

function collapseTable( tableIndex )

I tried editing my LocalSettings.php and added the following lines at the bottom:

// Rob's changes
$wgUseSiteCss = true;
$wgUseSiteJs = true;

I also tried using

{| class="collapseTable" width="60%"...

but I'm not sure what I'm doing.

Can someone help?

Dragonfallrob 14:49, 10 October 2007 (UTC)[reply]

Is collapseTable the only function you grabbed? You also need createCollapseButtons and the call to addOnloadHook you'll find right below it. The class needs to be "collapsible".
You also need the var hasClass = (function () js near the top of the file.

TCC (talk) (contribs) 00:04, 11 October 2007 (UTC)[reply]

I copied the entire contents of http://meta.wikimedia.org/wiki/MediaWiki:Common.js. It contains the two you mentioned. I just re-copied it again just to be sure you are looking at the same code as me. The tables display, but are not collapsible. Dragonfallrob 08:32, 11 October 2007 (UTC)[reply]
You will also need to copy the "collapsible" classes defined in Common.css. EdokterTalk 17:34, 11 October 2007 (UTC)[reply]
Hmm, I don't see any related classes there. I also think that the redirect that you just used is invalid and should be deleted. Most likely Dragonfallrob's Common.js either doesn't work (try to insert alert(1)) or has some errors (look at error console in Firefox or Opera) ∴ Alex Smotrov 18:25, 11 October 2007 (UTC)[reply]
There are no related classes. Class "collapsible" is a pseudo-class used by createCollapseButtons to locate tables it needs to set up, but there's no code for it in any of the style sheets.
The only thing I can think of -- and here I'm just guessing -- is that Common.js isn't being loaded for some reason. If I'm not mistaken, it needs to be in the MediaWiki namespace. So you need to create a MediaWiki:Common.js.
If, as Alex says, errors are preventing it from executing to the point where the hooks are running, Firebug is a nice Firefox extension with a Javascript debugger. TCC (talk) (contribs) 23:20, 11 October 2007 (UTC)[reply]
I think you may have cracked this one TCC. I looked for MediaWiki:Common.js and found a page with just a single comment on it. No code. Unfortunately, it won't let me update it. I'll have to wait a few days until the guy that built the Wiki returns - I assume he must have created some kind of admin userid that can get to it. I'll let you know how it goes. Thanks for now. Dragonfallrob 12:20, 12 October 2007 (UTC)[reply]
Finally got the password. Pasted the code into MediaWiki:Common.js and everything works fine. Many thanks guys.Dragonfallrob 08:25, 17 October 2007 (UTC) —Preceding unsigned comment added by 212.140.245.163 (talk) [reply]

Why does plainlinks not set the color to the darker blue

What is the purpose of plainlinks, except to make a link that really is internal (to an edit page, or to special:log, or to history) look internal? Why, then, is it different in color? So many bytes have been spilled, so to speak, over this issue on various templates. Can someone explain this to me? —Random832 04:05, 11 October 2007 (UTC)[reply]

In a way, because there is no guarantee it is internal. Plainlinks can be used for other stuff, and saying more is probably a case of WP:BEANS. Titoxd(?!? - cool stuff) 04:08, 11 October 2007 (UTC)[reply]

If you have a long list of links, putting the external link icon next to each is ugly. Also it can be removed to prevent the remote possibility of confusing noobs in instructional messages with such links. That's about it. 1of3 00:55, 16 October 2007 (UTC)[reply]

Articles I created

I heard that Interiot had a tool that indicated all articles created by a user but the script seems to fail and Interiot is AWOL. I'm not technically-minded at all but if someone who knows of an alternative and could ping my Talk page that'd be great Dick G 05:13, 11 October 2007 (UTC)[reply]

Heh, I just came to ask the same question. Special:Contributions doesn't mark new articles and Special:Newpages on Wikipedia at least doesn't go back very far. How hard would it be to get Special:Contributions to mark new articles like Specia;Recentchanges does? Thanks all. - Taxman Talk 18:07, 11 October 2007 (UTC)[reply]
There was another tool at http://tools.wikimedia.de/~escaladix/larticles/larticles.php but it doesn't seem to work either ∴ Alex Smotrov 18:25, 11 October 2007 (UTC)[reply]
I have a tool that can give user stats, see [1] for a list of the logs, Ill gladly run it for anyone who wants it. βcommand 20:36, 13 October 2007 (UTC)[reply]
I would like to know how to do this too. It drives me nuts when I want to go back to an article I created and cannot remember the article name, even though I try to keep lists, etc. --Mattisse 16:39, 20 October 2007 (UTC)[reply]

Google page summaries

Google generally shows you a piece of text after the title of a page, and generally this is either taken from the page's text or from meta tags. Wikipedia pages have some relevant text which is neither. (For example, search for Al Gore; the snippet begins "Hyperlinked encyclopedia article about the current global climate change activist and former Democratic nominee for President, 45th Vice President..." which appears nowhere in the wiki markup for that page, nor, indeed, in the rendered HTML.) Does anyone know where it comes from? Marnanel 00:17, 13 October 2007 (UTC)[reply]

I think some Google employee typed that. - BANG! 00:30, 13 October 2007 (UTC)[reply]
Apparently it is the description submitted to the Google Directory [2]. Dragons flight 00:35, 13 October 2007 (UTC)[reply]
Thanks, I was wondering about that too. I gotta say I don't think much of these descriptions -- they read like advertisements. I'd rather see them deleted and let the articles be excerpted in Google's usual way. --207.176.159.90 03:17, 13 October 2007 (UTC)[reply]
Afterthought: But then people who actually use Google Directory lose the benefit of them. Hmm. No win there, I guess. --207.176.159.90 03:18, 13 October 2007 (UTC)[reply]
It is not up to us to influence the way Google works. If you don't like it, you should discuss that with Google Nil Einne 11:44, 13 October 2007 (UTC)[reply]
  • Sorry, I took "submitted to" to imply that someone at Wikipedia had provided them. 207.176.159.90 01:26, 17 October 2007 (UTC)[reply]
With the exception of the Google Directory entry for Wikipedia itself. That was woefully inaccurate once, but within a few minutes of a thread starting somewhere here on Wikipedia complaining about it, the entry was corrected. It kind of reminded me of the story told about the Yalta Conference, where people in a closed conference room complained among themselves about the plants and the fish tank, and, as if by magic, a few days later the plants had been replaced and the fish tank freshened up. The thought was that the Soviets had the room bugged. Carcharoth 12:00, 13 October 2007 (UTC)[reply]
The Google directory gets its data from the Open Directory Project. Many Google search results use ODP descriptions, for example from http://www.dmoz.org/Regional/North_America/United_States/Society_and_Culture/Politics/People/Gore,_Al/ for the above example. You can suggest a new ODP description with "update listing" but the ODP editor who reviews it may reject it. It can take weeks before a changed ODP description is noticed by Google. PrimeHunter 02:22, 17 October 2007 (UTC)[reply]

pages stuck in a category

Sometimes, when a template is listed for deletion, all pages transcluding it will remain in C:CSD even after the template is fixed. You can see what I mean by looking at the history of this template: {{Ireland-writer-stub}}, which was fixed, but dozens of pages stayed in C:CSD until they were "touched" by me with edits like this: [3]. Is there a way to remove them from the category without having to make null edits? --W.marsh 13:55, 13 October 2007 (UTC)[reply]

The job que is a background process that will "touch" all articles affected by edited templates and such, so no need for null edits. Except the que sometimes get very very long, so it may take a while for the update to probegate. Check Special:Statistics to see how big the current que is. If you can't wait for the que to catch up I'm afraid null edits are the only other alternative. --Sherool (talk) 14:00, 13 October 2007 (UTC)[reply]
You can tack "?action=purge" to the end of the urls of the articles and the cat to attempt to nudge the updating process. It's like a "null edit" without changing the article. Gimmetrow 14:03, 13 October 2007 (UTC)[reply]
Oh, thanks... I'll just wait, then... I wasn't sure if it would get fixed automatically or not. I tried the manual purge thing and it didn't seem to work. --W.marsh 14:04, 13 October 2007 (UTC)[reply]
As an aside, you don't actually have to change the article when you touch it; just edit and save. It won't show up in the article history that way, either. —Cryptic 14:30, 13 October 2007 (UTC)[reply]
That's a great tip. I didn't realize you could make a true null edit that updates the article but doesn't show in the history. -- Satori Son 14:32, 16 October 2007 (UTC)[reply]

Oddness

Two years of ANI edit history seems to have disappeared. The software thinks that the intermediate edits exist, but refuses to provide a way to go to them. -Amarkov moo! 00:56, 14 October 2007 (UTC)[reply]

ANI didn't exist in 2003. It looks like just Jayjg's edit is misdated. [4]. —Cryptic 00:58, 14 October 2007 (UTC)[reply]
That would explain it. It's still odd, though. -Amarkov moo! 01:02, 14 October 2007 (UTC)[reply]
This has been mentioned before. On WT:ANI I think. Maybe we need a FAQ for this? :-) Carcharoth 17:18, 15 October 2007 (UTC)[reply]
Yes, here we go: Wikipedia talk:Administrators' noticeboard/Archive 4#Borked page history. Carcharoth 17:20, 15 October 2007 (UTC)[reply]
[5] shows this is one of two Jayjg edits which are recorded as 4 January 2003 but apparently were made 10 March 2005. PrimeHunter 02:09, 17 October 2007 (UTC)[reply]

Blue

Is it just me, or have all non-mainspace pages turned slightly blue? - BANG! 04:09, 14 October 2007 (UTC)[reply]

They've always been slightly blue. —Remember the dot (talk) 04:12, 14 October 2007 (UTC)[reply]
I don't think so... Weren't they white before? - BANG! 04:16, 14 October 2007 (UTC)[reply]
No. Perhaps your computer's color depth was set too low previously, making the pages appear white. —Remember the dot (talk) 04:17, 14 October 2007 (UTC)[reply]
Oh. That explains it. Thanks! - BANG! 04:19, 14 October 2007 (UTC)[reply]
They are slightly blue! Wow, I actually never noticed that. Weird. Pyrospirit (talk · contribs) 04:04, 15 October 2007 (UTC)[reply]
Also, some screens I've used show very light colours as white; I couldn't see the blue background on those screens (or even the infamous pre-ambox 'pastel-shaded box' backgrounds). --ais523 08:08, 15 October 2007 (UTC)
Yep, but that can usually be fixed by twiddling with the monitor settings. BTW, the non-article space pages have not always been blue. They're a very light shade of blue in monobook since July 3, 2004.[6] Lupo 08:43, 15 October 2007 (UTC)[reply]
They all just went white for me for a few minutes, when the Wikipedia spam at the top just started, don't know if they are related. But it's back to blue again now. Gene Nygaard 23:18, 22 October 2007 (UTC)[reply]

Allocated portable IPs

Can someone clarify (with certainty) the meaning of "allocated portable" in terms of IP status? It's relevant to some blocks in this sockpuppet report. The Whois data is here. Thank you!--chaser - t 08:48, 15 October 2007 (UTC)[reply]

"Allocated portable" simply means that the address block was allocated directly by the national registry service, in this case APNIC, and is, thus, provider-independent. This means that the "owner" of the IP address can transfer it from one provider to another, as opposed to the typical model where IP addresses are "borrowed" from service providers and may only be used with that provider. The primary reason for acquiring portable IP addresses is to maintain the established reputation of an IP address when changing providers, and to ensure the flexibility to change providers without having to give up former addresses. I'm not sure, however, how this would play any role in determining whether two users are sock puppets of another, but that's your definition as requested :) AmiDaniel (talk) 15:45, 15 October 2007 (UTC)[reply]
Then allocated portable addresses tend to be more static than the average static IP?--chaser - t 20:49, 15 October 2007 (UTC)[reply]
Hmmm .. I certainly wouldn't jump to that conclusion, though I've not really thought about it in this sense. Whether an IP is "static" or "dynamic" is determined by the way that a service provider assigns addresses to subscribers, not by the way that the IP addresses are allocated by the IANA. All that "portable" means is that the IP address or block can be (not has been or will be!) transferred from one provider to another, and, in particular, the address cannot be resolved by provider due to this nature. What is usually (at least AFAIK) the case with portable IP addresses is that one company or provider subleases portable IP addresses from a higher-up provider with the condition that the subleasing company can maintain the same IP addresses when transfering to alternative providers if need be. Due to the expense, this is typically only done in regions with very competitive ISP markets (such as is certainly the case in many of the regions that APNIC services). The subleasing company will then provide connectivity to its customers through these IP addresses based upon its own internal allocation scheme--some may be provided to individuals, companies, servers statically, others may be used dynamically by one or many of its customers. For the most part, no individual will be the custodian of a single portable address. I would actually say that, quite on the contrary of being static, most portable IP addresses are likely shared by multiple individuals or entities, though this is also by no means compulsory. In short, you're far, far more likely to find out the exact nature of how this IP address is used by contacting Sri Lanka Telelcom than you are by asking me :) AmiDaniel (talk) 19:11, 17 October 2007 (UTC)[reply]
Thanks for your very helpful and informative answers, Amidaniel. I've learned a lot from this exchange.--chaser - t 20:56, 17 October 2007 (UTC)[reply]
Glad to help :) AmiDaniel (talk) 03:24, 19 October 2007 (UTC)[reply]

The devanagiri character in Wikipedia logo is incorrect. It does not take the complex character rendering into account when rendering the phonetic "wi" in devanagiri. —Preceding unsigned comment added by Manishxjoshi (talkcontribs) 12:33, 15 October 2007 (UTC)[reply]

Yeah, a lot of people are aware, including The New York Times. It really should be fixed, but there are copyright and other issues, including the actual ability to recreate it. --MZMcBride 20:13, 15 October 2007 (UTC)[reply]
This is another FAQ isn't it? Is there a page where this is explained? Carcharoth 22:09, 15 October 2007 (UTC)[reply]
If there isn't there probably should be. I wonder if Wikipedia has room for a project trivia page... :) Tuvok[T@lk/Improve me] 01:04, 16 October 2007 (UTC)[reply]
There is some very old discussion here. At the bottom of that page, there are links to more discussion. As for an actual FAQ, I don't believe one exists. --MZMcBride 01:05, 16 October 2007 (UTC)[reply]
WP:FAQ. This question is not frequent enough, based on a glance in there. There is Wikipedia:Miscellaneous FAQ#Can you tell me anything about the Wikipedia logo? 1of3 15:15, 16 October 2007 (UTC)[reply]

Parameter expansion inside html

Is there any known workaround for the issue of template parameters not expanding when enclosed in html tags? Happymelon 21:40, 16 October 2007 (UTC)[reply]

An example, please? 1of3 01:19, 17 October 2007 (UTC)[reply]
Someclaim <ref name={{{refn}}}>{{{ref}}}</ref>
refn, at least, will not expand correctly, and all references will have the name "{{{refn}}}". I don't think ref will expand properly either. Happymelon 08:07, 17 October 2007 (UTC)[reply]
The problem is not that template parameters won't expand in HTML tags (<ref> is not a HTML tag), but rather this bug. --PEJL 08:20, 17 October 2007 (UTC)[reply]
Have a look at the output of User:Happy-melon/sandbox2 - I know I'm missing closing braces somewhere but I'm going on holiday in 20 minutes time so I don't have time to check it! See also Help:Template#When parameters do not expand. You can probably see what I'm trying to do - have a definable reference name and a definable content. Any suggestions? Happymelon 09:05, 17 October 2007 (UTC)[reply]
The bug noted above means that you cannot generate <ref> tags using templates. --PEJL 09:28, 17 October 2007 (UTC)[reply]

Ifeq help

Can anyone figure out why {{#ifeq:<nowiki>#</nowiki>99CCFF|<nowiki>#</nowiki>99CCFF|true|false}} returns false, and how to fix it to not return false (given the same input)? Thanks. --PEJL 08:31, 17 October 2007 (UTC)[reply]

Don't use <nowiki> inside the comparison? Someone who is familiar with the code can tell you the details, but from my experiments it seems that each <nowiki> is changed into a unique tag something like �UNIQ5d22741068bd706c-nowiki-00000001-QINU� (the "" represents codepoint U+0007) before parser functions are applied, and afterwards the tag is changed back. The problem with your ifeq is that it sees something like {{#ifeq:�UNIQ5d22741068bd706c-nowiki-00000001-QINU�99CCFF|�UNIQ5d22741068bd706c-nowiki-00000002-QINU�99CCFF|true|false}} and thus is always false. Anomie 11:45, 17 October 2007 (UTC)[reply]
Is it just curiosity or do you need to use this?--Patrick 11:46, 17 October 2007 (UTC)[reply]
Thanks for the explanation. This is not just curiosity, it causes a false negative at Template:Infobox Album/color/doc#Unit test. Can anyone think of an alternate solution? --PEJL 13:24, 17 October 2007 (UTC)[reply]
See the example in my sandbox. The trick is to return #99CCFF for the color. You then have to make the comparison against exactly that, but it works, as does the return value since the space is ignored in the style specification. TCC (talk) (contribs) 20:36, 17 October 2007 (UTC)[reply]
Thanks a lot! (I note that the above doesn't render as intended, it should be: &#32;#99CCFF.) --PEJL 21:15, 17 October 2007 (UTC)[reply]
I know, but after 4 attempts just trying to type the damn thing correctly, I gave up on it. Too much coffee, not enough sleep. TCC (talk) (contribs) 01:02, 18 October 2007 (UTC)[reply]

i am new

I am new here, could anyone tell me how to get round? Mdhamiri 09:43, 17 October 2007 (UTC)[reply]

Dear Mdhamiri, welcome to Wikipedia. I have given you a "welcome box" which you can read by clicking User talk:Mdhamiri. It has lots of useful links explaining how to get the best out of Wikipedia. Best wishes. DuncanHill 11:05, 17 October 2007 (UTC)[reply]

"Revision history of .."

Is there a piece of custom css I could use to not have to see the words "Revision history of .." in front of every page history title?--VectorPotentialTalk 13:20, 17 October 2007 (UTC)[reply]

It can't be done in CSS, but it would be easy in JavaScript. You might want to make a request at WikiProject User scripts' request page. --ais523 14:17, 17 October 2007 (UTC)
I created a Javascript to fix that the day they implemented it:
addOnloadHook(function(){
    /* Fix the title of the history page */
    if(wgAction=='history'){
        document.title=wgPageName.replace(/_/g,' ')+' - Wikipedia History';
        var h=document.getElementsByTagName('H1');
        if(h.length){
            h=h[0];
            while(h.firstChild) h.removeChild(h.firstChild);
            h.appendChild(document.createTextNode(wgPageName.replace(/_/g,' ')));
        }
    }
});
Works fine for me. Anomie 02:18, 18 October 2007 (UTC)[reply]
Thanks! Works perfectly.--VectorPotentialTalk 17:35, 18 October 2007 (UTC)[reply]

Is there a bug filled on missorting categories?

Category sorting system doesn't recognize various diacritical characters, forcing us to ignore them in category sorting - which can have small impact but also pretty major. Is there a bug filled on that we could vote upon? -- Piotr Konieczny aka Prokonsul Piotrus | talk  17:08, 17 October 2007 (UTC)[reply]

This is actually the third-most-requested feature ever (after single user login and anon-only blocks): see bugzilla:164. --ais523 08:07, 18 October 2007 (UTC)

Calling ye template gods

Don't know if this is possible, but I have a question. Can you pass a variable from one template to another? I came across the {{Johnny Cash}} template and loved its format for things that have many groups and subitems. Each group is collapsible AND you can set a parameter so for a certain group, only that group is shown. For instance, if you go to the June Carter Cash article, only the Family group is shown, all others remain collapsed. You do this why adding the group's paramater you want such as {{Johnny Cash|family}}, so the Family group is now shown. I took this concept and rewrote several university templates including {{University of Oklahoma}}, {{University of Texas at Austin}}, {{Oklahoma State University}}, {{University of Michigan}}, {{Ohio State University}} and maybe a couple others. I decided it might be worthwhile to create a template to make converting these easier. So, today I created {{Navigation with collapsible groups}}. But, after creating in my userspace and moving the template space, one huge issue occured to me. Can I pass the paramater from the article to the university template to the base template. So far, no success. I've tried dissecting the code to {{Navbox}} and {{Navbox/core}} to see if something similar is done but I'm getting a headache from staring at it for so long. Any help would be appreciated (I hope I described the issue well enough).↔NMajdantalk 20:26, 17 October 2007 (UTC)[reply]

You can pass parameters into and through a template, but not out of one. For example, article calls template A with a parameter intended for template B (and A calls B). Inside A, you would have something like param = {{{param|}}}. That passes the value from A's caller (the article) as a named parameter for B. Hope this helps, Andrwsc 20:57, 17 October 2007 (UTC)[reply]
Thanks, I think that worked!↔NMajdantalk 01:13, 18 October 2007 (UTC)[reply]

Linking a citebook to an article

Hi, I just found an article which cites a book by someone who has an article (currently orphaned). How can the citebook thing used for the reference be made to link to the author please? DuncanHill 23:53, 17 October 2007 (UTC)[reply]

Ilink the name of the author or use the parameter authorlink (authorlink=name of the target article). There should be more details on the template page.-- Piotr Konieczny aka Prokonsul Piotrus | talk  00:57, 18 October 2007 (UTC)[reply]
Thanks - I did the authorlink thing and it worked! DuncanHill 01:18, 18 October 2007 (UTC)[reply]

Bad tfd effects on tagging

re: this tfd is biased because the {{tfd}} wasn't tagged inside the title of the template box. I had to {{lts}} four other templates before I could figure out where the "orphaned" template deletion message was located. I'm not sure of where she applied the {{tfd}} closing '}}' pair, and the history diffs aren't displaying the change in red as usual. Can some template savvy Admin take a look and get the tfd message inside the title section, with a proper subst. I think the tfd needs closed and reopened with a valid tagging. Best regards // FrankB 02:30, 18 October 2007 (UTC)[reply]

All fixed. —Cryptic 02:49, 18 October 2007 (UTC)[reply]
Sorry about that. The instructions on Template:Tfd are quite clear but a useful sentence "This code will work as is; there is no need to replace PAGENAME with the actual page name." wasn't included in the instructions I was following on Wikipedia:Templates for deletion, and I needed that clarification! I've added it there now, to avoid anyone else making the same mistake. My thanks to Cryptic for sorting it out. PamD 07:22, 18 October 2007 (UTC)[reply]

Underlined links

I have my preferences set to underline links, but until today I never noticed the navigation and interaction links on the left being underlined. Has something changed, or am I just going noticing this for the first time? I'm using IE7 for a browser. Coemgenus 15:53, 18 October 2007 (UTC)[reply]

They should underline when you hoover over them. That's being governed by Wikipeia's CSS styles (which does override your browser settings). EdokterTalk 15:57, 18 October 2007 (UTC)[reply]
Yes, but I'm not hovering over them. They stay underlined all the time now. Coemgenus 16:02, 18 October 2007 (UTC)[reply]
OK, that is weird. Nothing has changed as far as I know. Have you tried clearing your cache? EdokterTalk 16:11, 18 October 2007 (UTC)[reply]
Bypassed it, with no effect, then cleared it, also with no effect. This is kind of weird. Even the symbols and character links on the edit screen are underlined. Coemgenus 17:56, 18 October 2007 (UTC)[reply]

I believe this edit did it. Probably needs a partial revert. --- RockMFR 18:11, 18 October 2007 (UTC)[reply]

Yes, it was that edit (requested by me). Technically, if you set "Underline links: Always" in preferences, you want all links underlined. But since users are already accustomed to "normal" portlets and specialchars, this needs to be put back into Mediawiki:Monobook.cssAlexSm 18:50, 18 October 2007 (UTC)[reply]
/* Not underlined links in portlets/specialchars even with pref "Underline links:Always" */
.portlet a, #editpage-specialchars a  { text-decoration: none }
.portlet a:hover, #editpage-specialchars a:hover { text-decoration: underline }
P.S. This setting takes effect through http://en.wikipedia.org/w/index.php?title=-&action=raw&gen=cssAlexSm 18:50, 18 October 2007 (UTC)[reply]
This should be fixed. WP:BYPASS or WP:PURGE as necessary. Sorry for any issues. --MZMcBride 03:33, 19 October 2007 (UTC)[reply]

Issue with Tnavbar-header template

Can somebody take a look as this issue and see if they can figure out what is wrong? The fontcolor parameter is applying itself correctly to the vde, but not the title and its negatively affecting many templates, such as {{University of Oklahoma}}. Its protected, so if you see the problem but can't edit the template, let me know. Thanks.↔NMajdantalk 20:28, 18 October 2007 (UTC)[reply]

The problem is that the title is linked using [[ ]], which itself overrides any font color specified outside the [[ ]]. There is no easy fix for this, but you could try this as an (ugly) workaround in the University of Oklahoma template:
title=[[University of Oklahoma|<span style="color:#fff">University of Oklahoma</span>]]
EdokterTalk 22:20, 18 October 2007 (UTC)[reply]
Thanks for the info. I was thinking that was the issue looking at the generated HTML. Unfortunately, that solution won't work for me. The {{University of Oklahoma}} template is actually generated from another template I made called {{Navigation with collapsible groups}}. I guess I'll just drop the vde until I find a better solution. Thanks.↔NMajdantalk 13:01, 19 October 2007 (UTC)[reply]
On the other hand, wrapping the entire link inside a font tag also seems to work... EdokterTalk 17:23, 19 October 2007 (UTC)[reply]

Needing the <references/> tag

Editing a section

Say you edit an article section to add a new <ref> item. When you Show Preview, the preview shows the article text but not the references, so you don't actually see the change you made. Or if you added text and a reference, you see part of the change you made, but not all of it.

When I run into this problem, I usually work around it by temporarily adding <references/> at the end of the section. Then I Show Preview, fix any errors, remove <references/>, and Save Page. But that's obviously error-prone, because one's instinct is to Save Page as soon as the errors are fixed, and it's all too easy to forget to remove the <references/> tag and have to go back and do it afterwards.

A technical workaround occurs to me. I suggest that if a section being edited contains a <ref> tag but not <references/>, the software should append a template reference like {{preview-references}}, which would expand to something like

    ---
    ''The section being previewed contains the following references, which in ''
    ''the complete article will appear at the &lt;references/> tag:''

    <references/>

Of course, if you're editing only the text of the section and not the references, you don't really need to see them expanded, and they're just an annoyance. An alternative approach would be a separate Preview References button, but that seems like overkill to me.

Checking consistency

On a related point, for both a section and an article edit, it would be desirable to trap the case where the article contains one or more <ref> tags without a <references/> tag that will expand them, or where it contains two or more <references/> tags. (Experiment indicates that each <references/> expands all <ref> tags appearing earlier in the article, so there must be exactly one <references/> tag that is after all <ref> tags.) I suggest that when a Show Preview is done, a check should be done on the entire article as it would exist if Save Page was done at this point, and if any of these erroneous situations exist, a warning should be issued (either within the preview window or elsewhere, but prominent enough that it won't be missed).

I think this should be a warning issued at preview time, not an error message preventing the save, because you have to consider what happens when someone adds the first reference to an article. If they do it during a section edit, they don't want to be blocked from saving because they forgot to add a References section first. Similarly, someone doing a cleanup pass through an article from top to bottom in order might add several references, saving sections one at a time, before they get to the end and add References. But they need to be reminded to add that References section.

Or thinking bigger

Or, thinking bigger, perhaps there's a better approach -- although I guess I can't be the first person to think of this, so perhaps there are good reason why it isn't being used. But right now it seems to me as though the Right Thing is to forget the whole idea of explicit <references/> tags -- send a bot through Wikipedia to get rid of them and their associated sections -- and instead simply have the whole section

    ==References==
    <references/>

appended implicitly to the wikitext of any article containing a <ref> tag, at the time when the wikitext is rendered into HTML. (Or some equivalent behavior.) And the same for any section when it is being previewed.

This change, of course, would address both of the issues covered in my other two points.

--207.176.159.90 23:09, 18 October 2007 (UTC)[reply]

On that last one, the only problem is that the references section is very often not the last section in the article, and really shouldn't be. The point of using the tag is to allow some flexibility in exactly where the references are placed and in formatting them. TCC (talk) (contribs) 01:26, 19 October 2007 (UTC)[reply]
However, if (1) one or more <ref> tags were encountered and (2) no <references/> tag was encountered in the wikitext, then it might be a good idea to add something like "ERROR!! No <references> tag was seen. ERROR!! - Cited references were:", and then to add an implicit <references> tag. -- Boracay Bill 03:00, 19 October 2007 (UTC)[reply]
A warning message, rather than an error, likely would be a useful and not particularly difficult feature to implement. The notion of auto-adding the references tag, however, leaves open a whole slew of problems, one of which Csernia above alluded to. The exact nature of how the references block is to be added to pages is quite intentionally not explicitly defined. Where the references block occurs in an article should be left up to the author of the article, to allow him the option to format it as he wishes. There are many cases where it is in fact correct to not have a references block -- consider a template or infobox that cites various sources; it is usually better to have the sources cited in this template included in the references block of the page in which the template is transcluded than in the template itself. In fact, I very much so believe that one of the greatest problems with Cite at present is that it does not allow editors enough ability to customize how references are used on a particular page -- this proposal seeks to make their usage even less customizable for the sake of alleviating a very minor inconvenience. One thing I believe to be quite imperative to implement is the ability to define different classes of reference types within a given page, such that, for instance, "notes" and "sources" can be separated from one another. I also believe it important to allow articles to make use of different forms of in-text citation, i.e. MLA, which the current system does not. Much discussion about a reform of Cite has taken place recently, and we will likely soon see some changes to the system. Worth reading would be this recent thread on Wikitech-l. AmiDaniel (talk) 03:21, 19 October 2007 (UTC)[reply]
Okay, if there's a whole slew of problems, forget that proposal. But I would like to see my first two subsections addressed in that case. --207.176.159.90 05:07, 19 October 2007 (UTC)[reply]
Your first two subsections are do-able. Unless there are objections, I'll try to implement something this weekend. In any case, Cite has a lot of problems that need to be addressed -- you've barely hit the tip of the iceberg :) AmiDaniel (talk) 06:33, 19 October 2007 (UTC)[reply]
AmiDaniel, are there cases where a <ref> tag has been encountered and yet it is still correct to not have a references block? In that situation, is it more useful to have the references expanded at the very end of the article headed by a warning message, to have the warning message appear but the unexpanded references remain hidden, or to have the unexpanded references remain hidden with no warning (current behavior)? -- Boracay Bill 05:46, 19 October 2007 (UTC)[reply]
Sure there have been. I can't think of one on enwiki off the top of my head, but I know that I have implemented templates of this style myself. The issue, however, is not about whether it should be okay to have a ref tag without a references tag; rather, it's about whether the decision of where or if to place such a tag should be made by the software or by the editor. IMO, the correct behavior would be to warn the editor, and the editor alone, following the saving of an edit that there are reference tags with no matching reference block. AmiDaniel (talk) 06:30, 19 October 2007 (UTC)[reply]

(next 50)

In the edit history page of every article, there are links like

(previous 50) (next 50)

Unfortunately, since the history is listed in reverse, the "next 50" in order of listing is the "previous 50" in chronological order, and once I get back past the two pages of entries, I always find myself clicking on the wrong link and going forward in time instead of further back.

Could another wording be found, such as

(50 older) (50 newer)

or

(next 50 later) (next 50 earlier)

or something like that?

--207.176.159.90 05:14, 19 October 2007 (UTC)[reply]

See MediaWiki talk:Nextn for an explanation of what goes wrong when we try to change them with the current software. I don't think the problem would be ridiculously difficult to sort out, but it requires developer intervention, and developers tend to be busy. --ais523 09:28, 19 October 2007 (UTC)

..am I the only one who sees an (udnu) button in the middle of the sandbox history page? I checked, it's not in the edit summary, the software is somehow producing a backwards undo button, for this one specific revision!? Backwards AES, or is someone testing some weird javascript, css, or other in the sandbox?--VectorPotentialTalk 13:15, 19 October 2007 (UTC)[reply]

Ah, looks the editor just put in the 'reverse' unicode character in the edit summary, which is used in Arabic and such. EdokterTalk 13:21, 19 October 2007 (UTC)[reply]
Never mind then. --VectorPotentialTalk 13:37, 19 October 2007 (UTC)[reply]

Can't upload files to commons

Can somebody help me here? For some reason, I am unable to upload image files to wp:commons. When I type into the "destination filename" gadget, this weird red light icon flashes next to the gadget, and when I hit the "upload" button, nothing whatever happens. I've tried uploading files from external websites and my own PC, makes no difference. The image copyright selection box is set to "US federal government" so that isn't the problem. Left messages at wp:images and wp:commons village pump but got no response. Thanks. Gatoclass 04:41, 20 October 2007 (UTC)[reply]

I think I have the answer, left a amessage on his talk page. Will know for sure when he gets back to me. TomStar81 (Talk) 05:28, 20 October 2007 (UTC)[reply]
Actually Tom's solution didn't work but I've figured out part of the problem. For some reason, when I try to upload jpegs directly from Navsource Online, or even when I save them to my PC and try to upload them from there, Commons won't recognize them. But if I take the same jpeg file and save it in MS Paint as a jpeg, suddenly Commons will recognize the file and I can upload it.
Trouble is, MS Paint is a rather limited program that doesn't seem to be able to handle pictures beyond a certain size and I don't have another paint program, so I'd still appreciate it if someone could figure out why this is happening. Gatoclass 11:31, 20 October 2007 (UTC)[reply]
You cannot upload images directly from another web site. You must save them to your computer first. As far as image editors, I recommend the GIMP. The GIMP for Windows can be downloaded from http://gimp-win.sourceforge.net/
There might be a problem with your web browser. What web browser are you using? —Remember the dot (talk) 20:20, 20 October 2007 (UTC)[reply]
Thanks for the tip re: GIMP, I'll take a look at it :)
I'm currently using IE 7. Gatoclass 04:32, 21 October 2007 (UTC)[reply]

MediaWiki:Sitenotice not appearing

Over at the Kannada Wikipedia, someone tried to set up a new site notice, but the message does not appear at all now, no matter what it's set to. It's not the site notice ID because the message does not appear for anons either. -- Prince Kassad 12:59, 20 October 2007 (UTC)[reply]

The old sitenotice has been replaced for now by the central one for the upcoming fundraiser. --brion 18:57, 20 October 2007 (UTC)[reply]

I/W links at the bottom of the page?

Is it possible to customzize my monobook.css so it would display all interwiki links at the bottom of the page instead of a box on the left? Here is a random example from the mediawiki site. --(cubic[*]star(Talk(Email))) 13:55, 20 October 2007 (UTC)[reply]

Need to put special character in article title, but not in URL

Hello, I am trying to figure out how to implement something that is in use at two articles. For reference, please visit Natto and I Heart Huckabees. The URLs, respectively, read as http://en.wikipedia.org/wiki/Natto and http://en.wikipedia.org/wiki/I_Heart_Huckabees, but the page titles are Nattō and I ♥ Huckabees. The special character is used in the page title, but not in the URL.

I would like this to be implemented at We Love Katamari, with the heart symbol visible in the page title, but not in the URL. As visible in the image in the article, "We ♥ Katamari" is the correct spelling of the title of the game. If you could explain how to do this, rather than just doing it for me, I would greatly appreciate it. If the process requires administrator tools, please feel free to go ahead and do it. If you have time, I would still like to hear how it is done. Thank you very much! Photouploaded 15:59, 20 October 2007 (UTC)[reply]

The true url to I ♥ Huckabees is http://en.wikipedia.org/wiki/I_%E2%99%A5_Huckabees, I Heart Huckabees is a redirect to the true article title. So basically an article can use any Unicode characters, and for convenience a redirect page can be made. 1 != 2 16:07, 20 October 2007 (UTC)[reply]
I am sorry, I don't understand. Is it just a simple redirect? Photouploaded 16:09, 20 October 2007 (UTC)[reply]
Yes, those are simply redirects; look at the top of the page, you'll see a small notice syaing "Redirected from...". So the special characters are in the URL, with a non-special URL redirecting to the actual article.
You can move a page to a title containing a ♥ (which is however discouraged), and a redirect will automatically be created. EdokterTalk 16:14, 20 October 2007 (UTC)[reply]
Yes, it is. However, reviewing that article's talk page reveals that the page used to be at We ♥ Katamari and was moved after overwhelming consensus on the talk page. Moving back to We ♥ Katamari would require restarting a discussion there and obtaining consensus for the move back. —bbatsell ¿? 16:14, 20 October 2007 (UTC)[reply]
I did respond there. Now I am aware of the issue. Currently, some article titles are permitted to have special characters, and others are not. If you would like to weigh in on this inconsistency in the interpretation of Wikipedia policy, please visit Talk:We Love Katamari#Accuracy dispute. Photouploaded 16:29, 20 October 2007 (UTC)[reply]

Javascript question (I think)

I am using Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8 and Windows Vista. Recently I have been having trouble on Wikipedia doing simple things like getting the cursor to move in the text. Navigating while editing within the text of an article is more and more difficult and unreliable. Easily (and for seemingly no reason) all or parts of the text gets selected (turning blue or gray) and usually I have to leave the page and then return to alleviate this problem. Because I do not have this problem other than on Wikipedia, I am wondering if this is a Wikipedia problem. (Also, it is very easy to lose control - have the text jumping around or scrolling out of control - as if javascript (or whatever) is operating too fast. Am I making sense in this question? Thanks, --Mattisse 15:59, 20 October 2007 (UTC)[reply]

Are you editing long pages (i.e. pages with source text at or greater than 32kb)? That's been known to cause problems with some browsers. Nihiltres(t.l) 16:41, 20 October 2007 (UTC)[reply]
Easy way to find out if it is indeed a script causing your problems, is to disable Javascript in Firefox, then see if the problem still exists. EdokterTalk 16:44, 20 October 2007 (UTC)[reply]
Yes, long pages probably. No problem posting here today. Also, often there is a long lag before something shows up. Yesterday I found I had signed twice several times because the first time nothing seemed to happen. But when I looked in Preview I saw two signatures. Also, I posted the same message three times on one user's page because I kept getting "Wikipedia is having a problem" messages and did not know it was posting, making that user very angry as he thought I had done it intentionally and called me "childish". Thanks for your response! --Mattisse 17:40, 20 October 2007 (UTC)[reply]
I know this is a generic response, but have you gone to Windows Update in the Control Panel and checked if there are any reliability updates that for some reason haven't made it to your computer yet? —Remember the dot (talk) 01:15, 21 October 2007 (UTC)[reply]

Page linking to a redirect to itself

Hi!

I just edited MV Liemba to unlink Liemba which, of course, redirects to MV Liemba. Aren't there bots that do this, like for double-redirects? Or do they need a tweak? Saintrain 18:24, 20 October 2007 (UTC)[reply]

Technical feasibility of an IP block/range block for a specific article

So here's something I just thought of that probably (a) has been asked repeatedly, and (b) is impossible. Would it be technically possible someday to modify Mediawiki to be able to block a certain IP (or, even more usefully, range block some IP's) from editing a particular article?

I thought of it because someone using IP's in the range 41.242.xxx.xxx think this is the most hilarious thing they've ever seen, so they've added it to Libertarianism about 9 times in the last week, using 6 different IP's. If this continues, no solution is really satisfactory: it seems that rangeblocking would be overreacting, as it would block a big chuck of South Africa from editing; page protection isn't good either, as this particular article gets a lot of good edits from IP addresses; and just watchlisting and continually reverting each time and moving on (what I'm doing now) is getting annoying.

Now, if you could range block for just that one article, (or, put another way, protect the page only from a range of IP addresses) you'd only prevent a large portion of South Africa from editing one article for a while, instead of all 2+ million; not perfect, but damn close. Obviously this solution doesn't exist now, but my question is, would it be technically feasible to add this feature? If it's a stupid idea, I'll tuck my tail between my legs and go home; if not, I'll explore Bugzilla for the first time. --barneca (talk) 00:59, 21 October 2007 (UTC)[reply]

Well, if you are rangeblocking for just one article, why not protect the page? It will be a little wider in scope, but really who cares, it is one article, and temporary semi-protection. Prodego talk 02:57, 21 October 2007 (UTC)[reply]
Hi Prodego. Because I don't want to prevent other IP editors from editing the article. Right now, when we semi-protect an article, we kind of throw the baby out with the bathwater. In this particular article, there seems to be a slightly-higher-than-average level of participation from legit IP editors, and the vandalism probably wouldn't rise to the level required for protection at WP:RFPP. But even when there isn't much legit IP participation, and even when the vandalism is swamping the article, it's always seemed a shame to block all legit IP editors from editing an article because of one jerk on a dynamic IP. --barneca (talk) 03:22, 21 October 2007 (UTC)[reply]

Yet another apparent browser-specific css problem

The table in Douglas_MacArthur#Dates_of_rank looks fine for me using Firefox 2.0.0.8. Internet Explorer 7.0.5730.11 messes it up -- the vertical line goes through the text in the second column. Ain't CSS grand? -- Boracay Bill 01:59, 21 October 2007 (UTC)[reply]

While partially to blame on IE, the real cause was using left/center/right in image tags in a table, which is know to cause problems (divs in tables don't mix). Easily fixed. EdokterTalk 14:42, 21 October 2007 (UTC)[reply]

Categories show up too high

I have a problem with categories showing up too high covering up some text at the bottom of pages. It only happens in IE6, not in Mozilla. It also only happens with this account, when I use another account in IE6 everything is fine. I checked if it was something in my monobook, but couldn't find it. Anyone has any ideas? Garion96 (talk) 14:30, 21 October 2007 (UTC)[reply]

I sometimes have that. Resizing the window ususally clears it. EdokterTalk 14:45, 21 October 2007 (UTC)[reply]
Ok, now that is just plain weird. It worked! Thanks. Any idea what causes it? Just some IE6 bug? Garion96 (talk) 14:48, 21 October 2007 (UTC)[reply]
That's what I'm guessing... I'll have a look at the CSS that controls the Category box anyway. EdokterTalk 15:19, 21 October 2007 (UTC)[reply]
Thanks, I hope you find something. It's strange though, it only happens since the last couple of days. So something in that period of time must have been changed. Garion96 (talk) 17:01, 21 October 2007 (UTC)[reply]

Unfortunately, catlinks is defined in main.css, so I can't touch it (can't see nothing wrong there either). The only thing I did find is this snipplet in IE60fixes.css:

/* Rule 18 of /skins-1.5/monobook/IE60Fixes.css?100 */
#catlinks {POSITION: relative}

I don't know why, but this may be why the category box jumps up sometimes. EdokterTalk 18:19, 21 October 2007 (UTC)[reply]

Internet Explorers list of CSS quirks is utterly massive. You've probably heard it before, but I highly recommend you switch to a better browser, like Safari or Firefox. At the very least, IE7 fixes a lot IE6's problems; an upgrade wouldn't be a bad idea. EVula // talk // // 03:22, 22 October 2007 (UTC)[reply]

Making it possible to import histories from the Nostalgia Wikipedia into here

It's late at night in Perth so this is just a brain wave ... would it be possible/feasible/desirable to make it possible to import page histories from the Nostalgia Wikipedia to this website? Some background: the Nostalgia Wikipedia is a read-only copy of Wikipedia from an 11 December 2001 database dump. However there seems to be some history in Nostalgia.Wikipedia that is not, and never was, stored in the English Wikipedia database. The germ for this idea came when I found the earliest history for saint in the English Wikipedia and compared it to the history in the Nostalgia Wikipedia, and found eleven edits that are stored in Nostalgia Wikipedia but not in the English Wikipedia. There are only 95,321 edits stored in Nostalgia Wikipedia, most of which probably don't need to be imported here. The only problems I can see are that it may mess up the revision ID's (very high numbers will be assigned to very old edits) and we may have problems with the old UseModWiki form of storing IP addresses like 127.0.0.xxx (obfiscating the last octet). Also there will be some CamelCase titles that may or may not be worth importing. Would it be worth it ... would it impact the servers much? And yes, Special:Export would work on Nostalgia Wikipedia. Graham87 15:25, 21 October 2007 (UTC)[reply]

However there seems to be some history in Nostalgia.Wikipedia that is not, and never was, stored in the English Wikipedia database. Oh but it was stored in wikipedia, but all history was lost in The Big Database Crash in 2002 (? Can't fint it! Needs a FAQ). EdokterTalk 15:54, 21 October 2007 (UTC)[reply]

Pic code not working

I tried putting my first image into an article today - a pic of USS Card into the Seattle-Tacoma Shipbuilding page. Unfortunately the code won't do what it's supposed to. It seems like it will only obey two commands but not three. Like for example, at the moment I've got it where I want it and the size I want, but it won't display the caption. If I get it to display the caption, I lose the size or the location parameter.

I'm using IE 7, don't know if that makes any difference. But the pics on all the other pages display fine, so why not this one? Gatoclass 16:03, 21 October 2007 (UTC)[reply]

I think you were looking for the 'thumb' parameter? See Help:Images on how to display images. EdokterTalk 17:50, 21 October 2007 (UTC)[reply]
No, I'm not looking for thumb. Thumbs are too small. I want to have a 350px image on the right hand side, bordered with a caption. Everyone else seems to manage this without a problem, but for some reason the code won't work for me. I can't see that I'm doing anything different from anyone else, so it's really got me bamboozled. Gatoclass 17:54, 21 October 2007 (UTC)[reply]
Okay, I see you've edited it. Yes, that's what I wanted, thanks! However, the code is still not behaving the way it's described in the help pages, what if I want to put an image like this on the left instead of the right? Gatoclass 17:59, 21 October 2007 (UTC)[reply]
Then simply add the 'left' parameter (|350px|thumb|left|). Thumb images default to the right. EdokterTalk 18:01, 21 October 2007 (UTC)[reply]

Easy when you know how! Thanks so much Edokter, I was getting very annoyed about this problem. It isn't clear at all from the help pages that you need to specify "thumb" as well as a pixel size, I assumed you only needed the one and that's what had me baffled. Gatoclass 18:14, 21 October 2007 (UTC)[reply]

Well, the "thumb" feature is completely optional, as is the size. The help pages could probably be a bit clearer on that, though. EVula // talk // // 20:55, 21 October 2007 (UTC)[reply]
The picture didn't display properly until the "thumb" parameter was included. So I don't think it's "optional" at all. Apparently it is a required field if you want to reduce the size of an image. Gatoclass 04:01, 22 October 2007 (UTC)[reply]
Not at all. You can always specify the size. The 'thumb' option only creates a border which displays the caption. But without a given size, thumb defaults to 150px. EdokterTalk 14:09, 22 October 2007 (UTC)[reply]
Oh, okay, so you need the thumb in order to get the border and caption. That makes sense because I could previously get the reduced image but couldn't get it along with the caption, it was either one or the other.
Thanks once again for the clarification, Edokter, I think I'm finally up with the details now :) I think I will have to go and re-read the image pages though, because I don't recall reading any of these details and if they're not there then it's about time someone added them. Gatoclass 15:37, 22 October 2007 (UTC)[reply]
I think if you don't use "thumb" the caption text becomes alt text which is only visible when you put the mouse pointer over the image (without clicking on the image). (SEWilco 15:58, 22 October 2007 (UTC))[reply]

Yeah, I think you're right. Gatoclass 18:06, 22 October 2007 (UTC)[reply]

Displaying some of the more exotic languages...

There are several languages that display only as large blocks (either with some sort of character in it, which is completely repeated over and over and over, or just a blank "this character doesn't exist" block). I know that on at least one wiki, there were instructions in the sitenotice for how to display the text properly, but there are a slew that don't have such instructions, and I'd like to find out how what fonts I need to install so that I can view the language properly.

For those that are curious, here's what I'm talking about:

And along the lines of what I'm looking for is my:Wikipedia:Font, which is extremely helpful (though I'd rather not pay $30 just so I can casually edit in a language) or am:Wikipedia:Can't see the font?, or the links on lo.wikipedia and ti.wikipedia. EVula // talk // // 16:40, 21 October 2007 (UTC)[reply]

Most of these actually have site notices, but currently, site notices are disabled for all Wikipedias. Kannada Wikipedia has kn:Wikipedia:Kannada Support, Malayalam Wikipedia has ml:സഹായം:To Read in Malayalam, Gothic has got:Wikipedia:Gothic Unicode Fonts. Bengali has bn:উইকিপেডিয়া:Bangla script display and input help (which fixes Assamese as well, and probably Bishnupriya Manipuri). Dhivehi has dv:Tāna_Support (not very useful though). Khmer has km:Install Khmer Unicode fonts. For all the others, no font help seems to exist, however you could use Google to try to find fonts yourself. -- Prince Kassad 05:09, 22 October 2007 (UTC)[reply]
I know this is a terrible answer, but newer operating systems are coming with more and more Unicode support right out of the box. For example, Windows Vista comes with many international fonts for many languages: [7]. So, the problem will slowly resolve itself in time as people transition to newer software.
That said, a page that listed Unicode character sets with links to free fonts to that can display them would be nice. —Remember the dot (talk) 05:37, 22 October 2007 (UTC)[reply]
@Prince Kassad: I had no idea that the site notices were disabled. How come? That would certainly explain my confusion over how I could have sworn I'd seen some before... thanks for the links, too. I can't check them right now, since I'm a bit busy, but I'll do so when I get home.
@Remember the dot: Eh, I wouldn't consider that a terrible answer. I use Mac OSX, which has excellent Unicode support (even as I was compiling the list, I was able to remove a couple of the wikis by finding the fonts and basically just double-clicking them; pretty nice to not have to restart the browser to see the characters). That said, I'd be surprised if I installed *all* the optional languages when I first set up the computer, and I've got no clue where the system DVD is. :D I'm gonna poke around Meta to see if there's a Unicode set list; if not, that seems like the best place for such a list to go. EVula // talk // // 05:53, 22 October 2007 (UTC)[reply]

Why Does Wikipedia Use Obscure File Formats?

I'm wondering why Wikipedia recommends the use of obscure file formats such as SVG and OGG. I'm tech-savvy enough to know how to deal with these, but my family isn't. I know there has been an increased focus on improving the accessibility of these formats through built-in automatic rendering, but they're still not nearly as simple to use as the universally accessible JPGs, PNGs, WAVs, or MP3s. Shouldn't Wikipedia emphasize accessibility of information? —Preceding unsigned comment added by Cromulent (talkcontribs) 19:48, 21 October 2007 (UTC)[reply]

Well, SVG will never be a total replacement for the JPG format. Its purpose is for vector-based imagery, while JPGs are better for photos; there's no way that something like Image:John Thomas Griffith posing.jpg could be replaced with a SVG version. Similar argument for PNGs.
As for OGG vs. other audio formats, I believe (and I could be wrong) that it's because MP3 is a proprietary format (while OGG is not) and OGG compresses better than WAVs. EVula // talk // // 20:53, 21 October 2007 (UTC)[reply]
As I understand it, Wikipedia prefers formats that are formally documented and not encumbered by patents. PNG should threfore be perfectly acceptable for its purpose (i.e, pixel graphics, such as logos or cartoons.) SVG is an acceptable vector format, and OGG is an acceptable compressed music audio: both are unencumbered and openly documented. They are therefore preferred over encumbered formats, e.g. MP3 for audio or any of the dozens of proprietary vector formats. Vector formats are preferred over pixel formats when the underlying data is in vector form, because vector files can be losslessly scaled. This leaves JPG, which is a compressed pixel format used for photographs. We do not have a good unencumbered alternative, so we live with it. The reason Wikipedia prefers unencumbered formats is that in theory a patent holder can shut you down if you use a patent-encumbered format. This actually happened in the late 1990's with the then-ubiquitous GIF format. the Opensource community responded by creatingthe PNG format within a few days, but the conversion hassles were horrible. Those of us who hold a grudge will never buy from Unisys again. -Arch dude 04:17, 22 October 2007 (UTC)[reply]

Missing links in some skins

The skins Classic, Cologne Blue and Nostalgia don't have the links "Cite this article" and "Permanent link". Is that intentional? Help:Preferences#Skin says "Some links are not present in every skin", but doesn't mention these links. It seems impractical to not have consistent links. Wikipedia:Citing Wikipedia assumes "Cite this article" is there, and people asking for citation help at Wikipedia:Help desk are often told to click "Cite this article". PrimeHunter 00:25, 22 October 2007 (UTC)[reply]

It is intentional for the Classic and Nostalgia skins at least - they are throwbacks to how Wikipedia looked before the Monobook skin was invented - see Wikipedia:Mediawiki 1.3 and Wikipedia:Archive/Petition for the return of the Old Wikipedia for some discussion about, among other things, the then new Monobook skin. The permanent link feature was added in June 2005 and the cite this article link was added in November 2005, so adding those links to the nostalgia and classic skins would strictly be an anachronism. I'm not sure about the design of the Cologne Blue skin, but it was included in the first version of MediaWiki. I'm not sure how you would add the links either, seeing as different JavaScript files for each skin like MediaWiki:Monobook.js are deprecated. Actually, IIRC the three skins you mention don't even support JavaScript. Graham87 09:37, 22 October 2007 (UTC)[reply]

Special:Whatlinkshere

How long does it take for Special:Whatlinkshere to update? Luigi30 (Taλk) 13:02, 22 October 2007 (UTC)[reply]

It depends on the length of the job queue - when a template is changed, updating the whatlinkshere table is one of the things added to that queue. However I don't know of a metric to compare the number of job queue entries and the time taken. Graham87 13:53, 22 October 2007 (UTC)[reply]

Problem loading refdesks

I've noticed a problem loading the refdesks over the last day(ish). I have to click several times on the link from my watchlist before they load. I haven't noticed this problem with any other pages. As something of a refdesk regular, this is rather anoying! Any ideas about what is happening or how to fix it? DuncanHill 15:15, 22 October 2007 (UTC)[reply]

In case it's relevant, I'm using Safari on WinXP. DuncanHill 15:28, 22 October 2007 (UTC)[reply]
I also have the same problem if I type the shortcut (eg. WP:RDE) into the search box. DuncanHill 16:08, 22 October 2007 (UTC)[reply]

Secure login

On the login page toward the bottom, it discusses security and offers an SSL option for login secure.wikimedia.org. However, this url does not work and states "Wiki does not exist". It has been like this for a while. I tried it about a month ago and got the same error on a different computer (thought it was a temporary glich as I had used it in the past). Also, if this gets fixed, could you please link the url on the login page as it would make it much easier when browsing from my phone. Morphh (talk) 18:58, 22 October 2007 (UTC)[reply]

It's not a link; is says the domain should be secure.wikimedia.org. But a link would be nice. EdokterTalk 19:13, 22 October 2007 (UTC)[reply]
The link is https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special:Userlogin (which I've had templated at {{User:ais523/SecureURL}} for a while because the question comes up often enough that it's useful to have a stock response). Last time it was linked from the UI, though, it was changed back (see MediaWiki talk:Loginsuccess); that connection isn't very fast and has problems (clicking on any link that's hard-coded to en.wikipedia.org, rather than {{fullurl}}'d, will leave the secure connection and log you out, and there have been problems with the destination of the Upload file link). --ais523 07:57, 23 October 2007 (UTC)
Well it is very confusing and turning it into a link would be helpful. How is any normal user suppose to know that they're to paste that domain name into the current domain path to the userlogin page? Most are going to copy the url provided "secure.wikimedia.org" and paste it into the address bar and come up with "Wiki does not exist". Please link it to something as this is just plain confusing for the normal user. I'm a computer geek and I didn't catch it - I just moved on disappointed. If we're going to put it there, we should to make it easy to access. To the point of leaving the secure connection, I would actually prefer it. I only need it encrypted when sending my password throught the Starbucks wireless network or something of the sort. Encrypt my authentication and send me back to en.wikipedia.org - that would be fine with me. Morphh (talk) 15:01, 23 October 2007 (UTC)[reply]
That's easier said than done. Currently, the secure sessions are not exchangeable with the http sessions--meaning that if you log in on the secure server, you will be logged in only on the secure server. There is furthermore very, very little server resource dedicated to secure.wikimedia.org, meaning that if every user who logs in to Wikipedia in a day did so on the secure server, it would crash. This is of course the primary reason that the direct link to the secure server was removed from the login text, and the reason that the URL is intentionally quite difficult to find. Everyone would prefer to use https; unfortunately, it is not feasible at this time. On that note, I think it would likely be a good idea to remove all mention of the secure server from loginend, as it's clearly confusing to many. Those who know enough to find the secure server likely know enough to not get phished. AmiDaniel (talk) 19:14, 23 October 2007 (UTC)[reply]
Why have a separate server? Why not add the cert to en.wikipedia.org and offer the same access across 443 for authentication? Wouldn't this allow them to maintain session as you transition back to 80? On a similar note, how come we don't support OpenID? Morphh (talk) 19:38, 23 October 2007 (UTC)[reply]
OpenID is dependent on the implementation of Single-user login, a.k.a. Bug 57, which will be done sometime between now and the heat death of the Universe. Secure login in the regular en.wikipedia.org server, is rather hard on the virtual host setup that Wikimedia uses, and is rather computationally expensive, as described on Bug 225. Titoxd(?!? - cool stuff) 20:25, 23 October 2007 (UTC)[reply]
I think the last poster on Bug 225 got it right. You don't have to encrypt the entire thing and you don't have to offer it by default. I'm not sure how virtual servers are much different than physical servers. The host names should not matter much as the cert would use the alias name (en.wikipedia.org). I mean come on... we're a top 10 destination on the Internet and we can't even encrypt the authentication? If we can't afford the CPU cycles on the server get a SSL gateway or something. This should really be addressed. Morphh (talk) 21:10, 23 October 2007 (UTC)[reply]

Remote Loading of third party wiki

I have a small but highly used wiki being used by my company. I need to find out how to display a current wiki page on other documents that I am creating. Documents that are pulling the wiki are on the same corporate WAN as the server for our wiki, but are NOT served by the same server. Documents being created are (at this time) html only, though I am looking for ANY way to do this. I have tried many codes of javascript and html as well are pre-loaders and even went so far as creating a gateway page that would be accessed by my apache server to create the pages. So far the closest I have got to it actually working is an IFrame (of all things) but the wiki page is forcing no frames (though the html dose not contain the code for it ??????) Any Help? Nevet

By the way, Thanks to all those who created this 'program.' —Preceding unsigned comment added by 69.145.253.1 (talk) 20:40, 22 October 2007 (UTC)[reply]

Try pulling a copy of a page with action=render, for instance, //en.wikipedia.org/w/index.php?title=Main_Page&action=render; that just gives you the HTML for the page, not any of the scripts or user interface. (The framebreaking effect is there because editing from inside a frame can cause chaos sometimes, if I remember correctly; however, you should be fine when using action=render because that's a read-only view.) --ais523 08:00, 23 October 2007 (UTC)
Just want to say thank you. I knew after about 20 hours of work trying multiple different display systems it would be something as simple as that. I was pulling URL/Page name instead of URL/index.php?title=page name. Thank you for your help and for the &action=render, working great. Nevet —Preceding unsigned comment added by 69.145.253.1 (talk) 13:26, 23 October 2007 (UTC)[reply]

{{PAGENAME}} uncapitalized: how?

Is there a way to pull a page's pagename but have it start with small case? If so, please tell me how.

Thank you.

The Transhumanist 22:37, 22 October 2007 (UTC) [reply]

see Help:Magic words. You probably want {{lcfirst:{{PAGENAMEE}}}} -- Boracay Bill 02:14, 23 October 2007 (UTC)[reply]

Hiding that scrolling graphic in header

Perhaps a silly question, but how can I hide that? I gave at the office and that scrolling text is incredibly distracting. • Lawrence Cohen 22:54, 22 October 2007 (UTC)[reply]

  • Even worse for me: it's triggering migraine. Please make it go away NOW. --jpgordon∇∆∇∆ —Preceding comment was added at 22:58, 22 October 2007 (UTC)[reply]
Concur. What happened, they decided they needed something even more annoying than <blink>? Ugh. Kill it now, please. (And for what it's worth, there's some info on meta about it over here. But only that they planned to do it. I haven't found how to make the hurting stop yet. --Bfigura (talk) 23:03, 22 October 2007 (UTC)[reply]
This thanks to Ariel. Kill it with div#siteNotice {display:none} in your monobook. --Bfigura (talk) 23:06, 22 October 2007 (UTC)[reply]
That may have been premature. It didn't work for me. See here for a parallel discussion. --Bfigura (talk) 23:08, 22 October 2007 (UTC)[reply]
This works: .fundraiser-box { display: none; } -- don't forget to refresh your pages. --jpgordon∇∆∇∆ 23:17, 22 October 2007 (UTC)[reply]
Oh thank god that worked! --Coastergeekperson04 23:58, 22 October 2007 (UTC)[reply]
We should not be forcing registered users to modify their monobook.css pages in droves. This marquee is distracting at best and far too obtrusive. Do we need to appeal to someone at Meta to have this removed or altered? Can't sleep, clown will eat me 23:28, 22 October 2007 (UTC)[reply]
Exactly. it's awful. Tacky, distracting, annoying. bogdan 23:32, 22 October 2007 (UTC)[reply]
Firmly agreed. This should be disabled, and a dismiss tag should be added. I *have* donated and I have no further need to see it, and I don't see why it should be treated differently to any other announcement (especially in its present form). We're going to drive good contributors away if we're not careful about this. Orderinchaos 13:20, 23 October 2007 (UTC)[reply]

Why the heck is this not in English on the English Wikipedia? This is terribly implemented. It says "What you don't know about Wikipedia..." then scrolls complete garbage that nobody wants to read. Ugh. --- RockMFR 23:39, 22 October 2007 (UTC)[reply]

A more targeted option: marquee { -moz-binding: none } for Gecko-based browsers, or marquee { display: none } for everyone. That will kill only the most evil part, leaving the rest intact. --cesarb 00:13, 23 October 2007 (UTC)[reply]

The Ads

Thos new ads messed up my userpage! And I though that there were so many issues about ads before, and that wikipedia was an ad-free site! Since the space on top have been taken up, my userpage is ruined! As well as many other templates! Well this sucks. --Coastergeekperson04 23:01, 22 October 2007 (UTC)[reply]

GAH!!! Who thought offering an 18 MB video to every single reader was anywhere near a good idea? It's stalled an sapping bandwith from everyone. Can't we at least host it somewhere other than upload? Publicola 23:25, 22 October 2007 (UTC)[reply]

No doubt. And the scrolling thing slows editing down – grr. Someone complained at Meta and was told that wasn't the place to complain about the English Wikipedia. So where do I complain? – Scartol · Talk 23:28, 22 October 2007 (UTC)[reply]
That person was wrong (and me). EVula // talk // // 19:25, 23 October 2007 (UTC)[reply]

I've put up with fundraising promotions before, since they're usually just an unobtrusive line of small text. But this is a full-fledged banner ad, nothing less; it doesn't matter that it's for Wikipedia. Wikipedia is supposed to be ad-free. Period. Get it off of here. Now. -- BlastOButter42 See Hear Speak 23:56, 22 October 2007 (UTC)[reply]

What ad would this be? I see nothing. HalfShadow 23:57, 22 October 2007 (UTC)[reply]
Someone's youtubed it here: [8]. Cheers, --Bfigura (talk) 00:26, 23 October 2007 (UTC)[reply]

RfC on Sitenotice

I opened an RfC about the Sitenotice here. This is to get everyone's opinion about whether it should be disabled or not. Bushcarrot Talk Please Sign! Let's go Lightning! 01:00, 23 October 2007 (UTC) [reply]

Also Wikipedia:Fundraising redesign. Squee23 11:30, 23 October 2007 (UTC)[reply]

Accessing irc://irc.freenode.net/ with MS IE

Please see talk:Internet Relay Chat#Accessing irc://irc.freenode.net.2F with MS IE.

Thanks for any help in advance! Best regards · please email me · Gangleri · Th · T 13:54, 23 October 2007 (UTC)[reply]

Template:jct is broken! Affects highway articles

I just stopped by to look at a page and I see that Template:Jct has been broken (probably one of its subtemplates actually) to include the sandbox into the freeway infoboxes (e.g., see Interstate 210 (California)). This is a mess! I spent a few minutes trying to figure it out, but it's not obvious to me and it affects probably zillions of articles, I'd guess. I have to leave now; can someone fix it? Or is there a highway project somewhere who could be notified of the problem? Thanks. Elf | Talk 16:05, 23 October 2007 (UTC)[reply]

There's been some heavy experimenting. I've reverted to the last good version. EdokterTalk 16:13, 23 October 2007 (UTC)[reply]

Thanks. Much appreciated. Elf | Talk 18:30, 23 October 2007 (UTC)[reply]

is this thing safe?

importScript('User:VoA/monobook.js');

// Please let me know. --Kushalt 20:21, 23 October 2007 (UTC)[reply]

Yes, that is 100% safe. :-) —METS501 (talk) 20:57, 23 October 2007 (UTC)[reply]
Well, 95% safe :)). It's primarily written and maintained by a MediaWiki developer, so it's likely much safer than most user scripts out there; however, as with all user scripts, there exists the possibility that an admin may get a wild hair some day and screw with it (oh beans...). I certainly wouldn't worry about it though. AmiDaniel (talk) 21:00, 23 October 2007 (UTC)[reply]

Please ban user 68.104.130.225 !

Please ban user Special:Contributions/68.104.130.225 ! — Chesnok 20:53, 23 October 2007 (UTC)[reply]

Admin rollback in watchlist and RC

Is this possible? -- Anonymous DissidentTalk 21:26, 23 October 2007 (UTC)[reply]