Wikipedia:Village pump (technical)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Pjetter (talk | contribs) at 21:42, 7 March 2007 (→‎Category not showing.: I might have been unclear). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

 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.

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.

This page is automatically archived by Werdnabot. Any sections older than 7 days are automatically archived to Wikipedia:Village pump (technical)/Archive. Sections without timestamps are not archived.

These discussions will be kept archived for 7 more days. During this period the discussion can be moved to a relevant talk page if appropriate. After 7 days the discussion will be permanently removed.

Removing "Main Page" from... Main Page =P

Resolved

Got my own wiki set up =)

Except I've noticed that other wikis like our very own and Memory Alpha both don't have the "Main Page" header at the very top... how can I replicate this on my own wiki for my main page?

Thanks in advance! :)
Kareeser|Talk! 22:27, 6 February 2007 (UTC)[reply]

These might help: m:Customize page layout, m:Layout customization, MW:Help:FAQ#How do I change the main page?. --Teratornis 23:15, 6 February 2007 (UTC)[reply]
Look at the top of MediaWiki:Monobook.css. —Ruud 23:51, 6 February 2007 (UTC)[reply]
Thanks to both Teratornis and Rudd... however, now that I know what I'm looking for, I can't find a monobook.css file in my own wiki... sorry for all the seemingly obvious questions >< Kareeser|Talk! 00:03, 7 February 2007 (UTC)[reply]
It's located at MediaWiki:Monobook.css on your wiki as well, though it might not exist yet. Just start a new page (only admins can do that, though.) —Ruud 00:26, 7 February 2007 (UTC)[reply]
Finally got the hang of it... after a week... turns out I had to modify common.css instead :) Thanks for all your help! Kareeser|Talk! 20:09, 10 February 2007 (UTC)[reply]

how to add assement to the templete.

pl anybody help with with adding assment rating to the Template:Wp pakistan templete. User talk:Yousaf465

fix vandalized page?

Hi folks -

I tried to fix the vandalized page for the featured article (on Sly & TFS)... but it looks OK on the edit page.

Sorry if this is a FAQ, but could someone jump in and fix it & lock it temporarily?

THX -

-CC

added question about navframe

DEFAULTSORT question

Before reporting a bug, I want to make sure I am doing this right. According to DEFAULTSORT's help, you can have multiple defaultsort statements. However, Oliver Twist didn't do as I expected in Category:Big Read Books - it sorted under "Twist, Oliver" instead of "Oliver Twist."

{{DEFAULTSORT:Oliver Twist}}
[[Category:1838 novels]]
[[Category:Novels by Charles Dickens]]
[[Category:Serialized novels]]
[[Category:London in fiction]]
[[Category:Black and white films]]
[[Category:1909 films]]
[[Category:Big Read Books]]

{{DEFAULTSORT:Twist, Oliver}}
[[Category:Charles Dickens characters]]
[[Category:Fictional orphans]]
[[Category:Fictional thieves]]

Is this the correct arrangement? — RevRagnarok Talk Contrib 17:06, 24 February 2007 (UTC)[reply]

I'm not sure you're allowed to use more than one {{DEFAULTSORT}} key. --MZMcBride 21:05, 24 February 2007 (UTC)[reply]
The help says you can, which is why I am asking: Once this has been included in an article, the new default sort key will remain in force until the end of the article, or until a fresh {{DEFAULTSORT}} is used.RevRagnarok Talk Contrib 21:09, 24 February 2007 (UTC)[reply]
The help page is ambiguous and misleading. What is actually means is that the last {{DEFAULTSORT}} will be used, no matter what previous ones might contain. You may want to make a feature request to do what you'd like to do. --MZMcBride 23:27, 24 February 2007 (UTC)[reply]
Actually, the help page reflects what the code should be doing, as far as I can remember when I wrote it. Looking into this. 164.11.204.56 10:18, 26 February 2007 (UTC)[reply]
Agree strongly that it should be doing what the documentation says it can do, and the Oliver Twist example above is a perfect demonstration of why.  :-) — SMcCandlish [talk] [contrib] 02:29, 1 March 2007 (UTC)[reply]

Firefox keeps downloading Javascript scripts

I'm running Firefox 1.5.0.9, and have loaded two fairly large scripts into my monobook.js page as follows:

importScript("User:Lupin/recent2.js");

importScript('User:Lupin/popups.js');

They both run fine (thanks Lupin!), but every time I reload a page (using the buttonbar or F5 - not Shift-click), both scripts get re-downloaded (nearly 400kB). This slows things down and also causes unnecessary load on the servers, I guess. Does this happen to anyone else and is there any way I can persuade Firefox to always use the cached copies? TIA

--Smalljim 23:31, 25 February 2007 (UTC)[reply]

Check if your browser.cache.check_doc_frequency setting is something other than 3. You can access it by typing about:config in the URL, and then searching for it. -- ReyBrujo 23:43, 25 February 2007 (UTC)[reply]
And remember to do one hard refresh (with ctrl+f5, not shift+f5) at least to update your cache stamp. -- ReyBrujo 23:45, 25 February 2007 (UTC)[reply]
Thanks for the quick reply, ReyBrujo. Just checked that setting - it is default - integer - 3. I have done several hard refreshes, and even cleared out the whole cache, but it still happens. Should say I'm running Windows XP Home. When I reload a page I can see, with Explorer, the files being re-downloaded into Firefox's cache. The odd thing is that it doesn't happen when I open a new page - only when I reload one that's already opened. It's as if the Reload button has been reprogrammed to do a full refresh.
Thanks for the pointer to about:config, which I'd forgotten - I'll have a browse around in there and see if there are any settings that change the behaviour of the Reload button. I do have a number of Extensions installed, so perhaps it might be a clash with one of them?
Failing everything else, does anyone know if can I store the scripts on my hard disk (as .js files) and get monobook.js to point to them somehow? --Smalljim 00:21, 26 February 2007 (UTC)[reply]
I haven't tried it, but it might be possible to convert the popups.js to a greasemonkey script. That way the script will always be on and you wouldn't even need to be logged in! — Ambuj Saxena () 05:06, 26 February 2007 (UTC)[reply]
Thanks, I can look into greasemonkey scripts - but it may be a bit beyond me! Incidentally I've found that the same thing happens with Opera, so I guess it actually happens to everyone and I'm just particularly fussy about download times!
I have found that a partial workaround is to click the article tab instead of the Reload button. This seems to update the article without re-downloading all the .js files. --Smalljim 12:10, 27 February 2007 (UTC)[reply]

Yes, you can call scripts from your hard drive if you install a web server on your computer (any small webserver will do). Put into your monobook.js

document.write('<script type="text/javascript" src="http://localhost/my.js"><\/script>');

and the scripts inside my.js will be executed as if they were inside monobook.js. Also, this seems to be the best way to develop new scripts without all those extra edits. — Alex Smotrov 00:50, 4 March 2007 (UTC)[reply]

Parameters for user warning templates

I was wondering about the community's opinion on what parameters to use for the newer user warnings (such as {{uw-vandalism3}} or {{uw-delete1}}). The following are all possibilities.

Parameter name or option Description
1 A numbered parameter; the value would be the page name that the template-receiver edited. This must stay in place; apprently it's ancient. :)
#ifexist hack This is a way to code the template so that if "1" exists, text similar to "as you did to [[:{{{1}}}]]" shows up, but if it doesn't, text similar to "as you did to {{{1}}}" will appear. This is helpful for listing multiple pages. Suggested by Gracenotes (talk · contribs).
diff A link to the diff of vandalism. Can be used as a substitute for, or in conjunction with, 1. Suggested by AzaToth (talk · contribs)
oldid This is an extension of diff, but it's not really needed, since it's much easy to copy an entire link than a specific page revision Suggested by AzaToth (talk · contribs)
header An option to have a header above a template. It does minimize customizing said header, however. Boldly implemented by Esprit15d (talk · contribs), but then discussed and reverted by Khukri (talk · contribs).
2 (or "sig") Puts a notice at the end of a template
subst all ParserFunctions in all templates are preceded by "{{{subst}}}". So if a template is substituted, and "subst" is set equal to "subst:", the messy syntax will disappear. Suggested by AzaToth (talk · contribs) (known bugs: even if 1 doesn't exist, the ParserFunction will pretend that it does)

So which ones do you like, and which ones are you less partial to? GracenotesT § 19:06, 26 February 2007 (UTC)[reply]

I made a note of this discussion at WT:UW. I think it would be useful to have the diff in the template. I'd say no on the header because I like the way WP:UW proposes we handle these - creating a ==Warnings== section with month subsections and having each warning numbered. A section heading in the template would throw this off. Unless it was optional as it is with many of the speedy delete templates (such as {{empty-warn}}).↔NMajdantalk 19:14, 26 February 2007 (UTC)[reply]
All of the parameters above would be optional. GracenotesT § 19:30, 26 February 2007 (UTC)[reply]
The diff and oldid parameters might be useful, especially if automated tools are being used to revert vandalism. I don't think the header should be added, for reasons Najdam gave. The #ifexist hack would be useful, but unless it's substituted, it would mean that if the vandalised page is later deleted, the red link would eventually be removed, so there would be no easy way to access the deletion logs of the page. I think a good way of dealing with messy template code would be to use <includeonly> tags to make the subst: commands only work when the template is used, but this would break the template if it's transcluded and not substituted. Parameter 2 would probably only be useful if it's the type of message that goes in a box, like some image-related warnings. Tra (Talk) 19:37, 26 February 2007 (UTC)[reply]
Please see my comment at Template talk:Nn-warn-deletion#Section edit problem regarding the optional header feature on {{Nn-warn-deletion}} which causes a section editing problem where the header is used. Thanks, mattbr30 11:59, 1 March 2007 (UTC) This has been solved. Thanks, mattbr30 12:13, 1 March 2007 (UTC)[reply]

Wikimedia Error

Hello, this error is occuring incredibly often and is getting very annoying. Usually, the first and second times I try to hit the "Save Page" button on an edit, I am faced with a error message that can apparently be displayed in about nine different languages. Only by pressing the back button and trying again (often twice) am I able to complete the edit. The error came with this information I'm supposed to include in the report:

Request: POST http://en.wikipedia.org/w/index.php?title=The_King%27s_Way_%28book%29&action=submit, from 71.248.93.23 via sq20.wikimedia.org (squid/2.6.STABLE9) to 10.0.5.3 (10.0.5.3)
Error: ERR_ZERO_SIZE_OBJECT, errno [No Error] at Wed, 28 Feb 2007 22:27:50 GMT

If it helps, I use Firefox 2.0 and have the popups nav feature and Interiot's edit counter installed in my monobook.js. If this isn't the place to report this, please let me know where to do so and I'll pass the message on. Thanks. Hersfold (talk/work) 22:32, 28 February 2007 (UTC)[reply]

Its not just you. I started a discussion here earlier about this (its above somewhere). I have found that it is often faster to refresh the page instead of back and forward. I don't know how that will work in Firefox though, I use IE. Mr.Z-mantalk¢ 22:39, 28 February 2007 (UTC)[reply]
I'll give it a try. Thanks for the suggestion. Hersfold (talk/work) 01:32, 2 March 2007 (UTC)[reply]

Problem logging in another Wikipedia

Meta is huge and there is not a simple way to access its information ("If you can't log in in a Wikipedia, post a note here, if you think you have found a serial spammer, post here, etc"), so I am asking here for either the right page to ask about a problem logging in a Wikipedia, or for an answer :-) I registered as ReyBrujo in ne.wikipedia.org, received the confirmation e-mail (which expires on March 4), and after clicking, I got the Your e-mail address has been confirmed. You may now log in and enjoy the wiki. message. However, my user and password is not recognized, and clicking the "Email" button gives me a आगमन त्रुटी
Login error: There is no e-mail address recorded for user "ReyBrujo".: ईमेल पठाउदा त्रुटी भयो Error sending mail: There is no e-mail address recorded for user "ReyBrujo".
However, how could I get the confirmation address if there were no e-mail recorded? Suggestions welcomed :-) -- ReyBrujo 01:23, 1 March 2007 (UTC)[reply]

Apparent DEFAULTSORT bug

Resolved

The DEFAULTSORT magic word appears to work perfectly on article pages, but is malfunctional on talk pages. See Category:All cue sports pages minus snooker for a big example of how it goes wrong. Instead of sorting Talk:Vilmos Foldes (with {{DEFAULTSORT:Foldes, Vilmos}} at the top of that page) under "F", it instead sorts him under "V", and so on, for all bio article talk pages DEFAULSORTed this way. It's obviously doing something or the page would have been sorted under "T" for "Talk:" (like the /Comments pages at the top of the "T" section, which did not use DEFAULTSORT). It just is not doing what it should be doing. This isn't catastrophic but I would hope it could be fixed. I guess having them mis-sort by given name instead of family name is better than having them ALL sort under "T", but it's not ideal. — SMcCandlish [talk] [contrib] 02:37, 1 March 2007 (UTC)[reply]

Nevermind! I was being a bonehead. The WPP talk page template that was assigning the categories was using |{{PAGENAME}} which of course was overriding DEFAULTSORT. Duh. — SMcCandlish [talk] [contrib] 05:52, 1 March 2007 (UTC)[reply]

Userpage Templates

I spent 4 hours creating a pimped up userpage. So, I figured, it might be useful to have userpage templates - essentially, a template a user can copy-paste into their userpage, fill out, and substitute, then go back and edit it as required.

So, I decided to create this template. I'm not that great a coder, however, so I'd appreciate some help checking it over, adjusting it, and so on.

Some of the things I'm struggling with:

  • Fields in a preview of the template are listed as {{1}}, {{2}}, {{3}}, etc.
  • I can't create an option that determines how many of each item (if any) there will be.
  • Finally, I'm trying to create labels, similar to the layout of Template:WPBiography.

Anyone willing to help out? ScaleneUserPageTalkContributionsBiographyЄ 09:34, 1 March 2007 (UTC)[reply]

To display something in a preview other than {{{1}}}, write the parameter in the form {{{1|text to display in preview}}}.
To name parameters, write {{{name of parameter'}}} rather than {{{1}}} (and you can pipe named parameters the same way you pipe numbered parameters).
Creating a 'how many of each item' option is difficult; basically you write lots of copies of the item (the maximum number), using different parameters for each (e.g. {{{language1}}}, {{{language2}}}, etc.), and then write {{#if:{{{language2|}}}|(the language 2 item goes here)}} around each item so that it's hidden if the relevant parameter isn't given. :Hope that helps! --ais523 09:39, 1 March 2007 (UTC)
It does. Thanks a lot! ScaleneUserPageTalkContributionsBiographyЄ 09:52, 1 March 2007 (UTC)[reply]
Allrighty! All finished!
...
...
...
Now, what should I do with it? Here's the final version. ScaleneUserPageTalkContributionsBiographyЄ 10:36, 1 March 2007 (UTC)[reply]
You might want to try adding Category:User namespace templates to the noincluded section, which will increase the chance that an interested user will come across it. --ais523 11:35, 1 March 2007 (UTC)

ISBN numbers dropped by edit with Firefox

While editing Wikipedia pages I noticed that in my edit window only "ISBN" shows for what showed in a Wikipedia page as a full, punctuated ISBN number. I am using Firefox 2.0.0.1. Did anyone else encouter this problem? Any suggestions? (Meanwhile I switched to Internet Explorer)Emesz 12:20, 1 March 2007 (UTC)[reply]

Someone else had a problem some time ago that something was dropping ISBN numbers (and other phone-number-looking numbers) on all edits he made. If after saving your edit the ISBN numbers have been removed (check the diff), you might be having the same problem. --cesarb 16:04, 1 March 2007 (UTC)[reply]
Do you know how the problem was resolved?Emesz 19:02, 1 March 2007 (UTC)[reply]
I think it wasn't. Unfortunately, I'm not finding it anymore (should be somewhere in my contributions, since I commented on it, but there are too many of them) to check. --cesarb 20:57, 1 March 2007 (UTC)[reply]

Spell Correcting and/or Phonetic Search

Is there a spell correcting and/or phonetic search capability in Wikipedia?Emesz 12:36, 1 March 2007 (UTC)[reply]

Language Translation

Would be useful to have a Google like automatic machine translation capability. Is that somehow possible WITHIN Wikipedia? Of course one can do that by entering the Wikipedia page URL in Google ... Maybe all that has to be done is to build a script on top of the Google capabilityEmesz 12:39, 1 March 2007 (UTC)[reply]

It's so inaccurate that human translation will work best, especially with all the wiki markups. Xiner (talk, email) 20:28, 1 March 2007 (UTC)[reply]

Donations Progress Bar

I'd like to take a look at the format and source-code of that progress bar / guage that appears when Wikipedia asks for donations - you know, the one that appears at the top of each page to say what percentage of their donations target has been reached.
Do you know where I can find that progress bar in a template or something? I've done a bit of searching, looked up template:progress, etc etc and can't seem to find it.
Thanks in advance.
60.227.97.79 15:34, 1 March 2007 (UTC)[reply]

Me too, it was very slick. — SMcCandlish [talk] [contrib] 22:01, 1 March 2007 (UTC)[reply]
It's not a template, it's a static image generated by the fundraising system. The source is here. -- Tim Starling 03:00, 2 March 2007 (UTC)[reply]
Great, looks like a php script. Darn I gotta start learning PHP properly cos the syntax isn't singing to me. But I worry that even if it did, I still wouldn't know how to implement it - how do I transclude it in a page or feed it the variables it needs to generate the image? But kudos for the answer. Rfwoolf 03:48, 2 March 2007 (UTC)[reply]
We use another extension for that, FixedImage. 164.11.204.56 08:18, 7 March 2007 (UTC)[reply]

Category Pages

Im a bit of a wiki novice, I usually restrict myself to correcting typos, grammar and tidying up text but I found a partially populated catagory and gave it a go. I tried adding Boris Johnson to the 'Current Conservative MPs (UK)' category page by pasting the tag provided into johnsons links, however unlike the other pages in the cat, it was listed under B for Boris rather than J. Am I doing anything wrong ? or what am I not doing ? Dondilly 16:31, 1 March 2007 (UTC)[reply]

You need to provide a sortkey, eg. [[Category:Bananas|Yellow]] or [[Category:Primates|small]] Xiner (talk, email) 20:26, 1 March 2007 (UTC)[reply]

Special:All pages

Special:All pages is almost useless. It is so choked by redirects and subpages that it is almost impossible to browse base pages with it.

Is there a way to view "Special:All pages" without pagination? 500 at a time is just not enough.

Is there a way to see the wikimarkup version of the output? The screen output is columnized, which makes cutting and pasting useless. Redirects are italisized, but I know of no way to search for italicized strings except in the sourcetext.

Is there a feature for viewing non-redirect base pages only? I.e., no redirects nor subpages included.

Basically I need a list of the Wikipedia namespace's pages, with all the redirects and subpages stripped out. The latest one I could find is a year old.

The Transhumanist   16:18, 1 March 2007 (UTC) [reply]

None that I know of. I can create a list of all Wikipedia namespace pages, dismissing redirects, but subpages become a little tricky to filter out. You should download the page.sql.gz dump, import it in a MySQL database, and throw the queries you need :-) -- ReyBrujo 20:04, 1 March 2007 (UTC)[reply]

CSD problem

There's several non-article namespace pages that are stuck in the CSD category but aren't in it. I've tried clearing the cache. Luigi30 (Taλk) 18:48, 1 March 2007 (UTC)[reply]

IE Locks up

Recently, when I go to any wikipedia page my Internet explorer has started locking up. I have the new tabbed version, not sure exactly of which version it is but the only way for me to kill it is to ctrl+alt+delete and kill it throth task manager. When in task manager, it shows that iexplorer is using 99% of the cpu resource. It does not happen every time and after killing it in task manager it works again for an undetermined amount of time before it happens again. Is this a bug with wikipedia or my browser? It is starting to get realy annoying. Thanks! -- Chrislk02 (Chris Kreider) 20:59, 1 March 2007 (UTC)[reply]

It might be one of your user scripts (maybe popups?). To see if this is the case, blank User:Chrislk02/monobook.js and try browsing the site. If it works fine, then you know it's one of those. You can then add them back individually until the problems come back, in which case, you've found the culprit. Tra (Talk) 21:45, 1 March 2007 (UTC)[reply]
Happened to me, too. My advice: switch to Firefox. Most of the really good JavaScript for monobook.js is only compatible with Firefox. Pyrospirit Flames Fire 01:47, 6 March 2007 (UTC)[reply]

Deletion log entry not showing up

I deleted Category:Wikipedians by alma mater: Saint Petersburg State University of Information Technologies, Mechanics and Optics as an empty category and it isn't showing up in the deletion log. Is this a bug? I'm guessing it has to do with the length of the category name. VegaDark 01:09, 2 March 2007 (UTC)[reply]

When did you delete it? -- Tim Starling 02:52, 2 March 2007 (UTC)[reply]
About two minutes before I posted that message. VegaDark 03:37, 2 March 2007 (UTC)[reply]
So, any word on this? Any admin can click on the above link and see the "one deleted edit" thing, and then if they click on it they will see that there is no deletion history. I have a theory as to what could be the reason. It could be the length of the category was too long, combined with the fact that my edit summary was somewhat long. The two combined may have screwed something up to make it not show up. A way to test this would be to recreate the category and delete it and see if it does the same thing, and then create a category with an almost identical name and delete that and see if that shows up in the log. If you want to test it with my edit summary, it was "WP:CSD#C1 - Empty category that has been empty for at least four days". VegaDark 21:18, 3 March 2007 (UTC)[reply]
I would guess it has to do with the fact the category had a colon, which may have confused the software. -- ReyBrujo 21:37, 3 March 2007 (UTC)[reply]
At first I thought it might be that, but Category:Wikipedians by alma mater: University of Copenhagen shows up in the deletion log and that has a colon. It may be a combination of having a colon and a comma, however. VegaDark 21:41, 3 March 2007 (UTC)[reply]

Change all previous signatures

Is it possible for me to have all of my previous signatures changed to my current signature with little effort on my part? Sanchom (talk) 03:25, 2 March 2007 (UTC)[reply]

No, sorry. You will have to use AutoWikiBrowser or something similar to make it easy, but even then, it will be hard. -- ReyBrujo 03:36, 2 March 2007 (UTC)[reply]
It would also be a bit uncool. While you're allowed to change talk page text you wrote, there's an expectation that you do it soon after you wrote it, not days or weeks later. If someone has responded to what you wrote, it's important to preserve what they responded to. Also, for those watching thousands of articles, someone updating every one of their signatures would be somewhere between alarming and time consuming. —EncMstr 03:51, 2 March 2007 (UTC)[reply]
Ya... I probably won't do it. It would have just been removing my last name from all of the signatures. It's just that all of my wikipedia posts are turning up in Google when you search for me now... Sanchom (talk) 06:42, 2 March 2007 (UTC)[reply]

Checking it's safe

Hello again, it's me, the only guy who is determined to learn CSS and java through Wikipedia alone! I just wanted to double-check some CSS before saving it, can someone please assist me with this as I don't want to find the page breaks after I've saved it. Obviously I've borrowed this from elsewhere, and I've previewed the skin and it looks moderately okay, but, given my previous form, I would like to know if this is all "grammatically correct", as it were.

/* standard link colors */
a { color: #F0F0F0; }
a:active, a.new { color: #00FF00; }
a.interwiki, a.external { color: #F0F0F0; }
a.stub { color: #F0F0F0; }

/* put scrollbar on pre sections instead of ugly cutoff/overlap in firefox */
pre { overflow: auto; }

/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */
#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topleft: 1em;
  -moz-border-radius-topright: 1em;
}
#content { 
  -moz-border-radius-topleft: 1em; 
  -moz-border-radius-bottomleft: 1em;
}
div.pBody {
  -moz-border-radius-topright: 1em;
  -moz-border-radius-bottomright: 1em;
}

/* same following the css3 draft specs, any browsers supporting this? */
#p-cactions ul li, #p-cactions ul li a {  
  border-radius-topleft: 1em;
  border-radius-topright: 1em;
}
#content { 
  border-radius-topleft: 1em;
  border-radius-bottomleft: 1em;
}
div.pBody {
  border-radius-topright: 1em;
  border-radius-bottomright: 1em;
}

/* don't use a smaller font */
td.diff-addedline, td.diff-deletedline, td.diff-context { font-size: 100% ;}

/* underline just the text that's different */
span.diffchange { text-decoration:underline; }

div { line-height: 1.2;   font-size: 10pt }   /* number */
div { line-height: 1.2em; font-size: 10pt }   /* length */
div { line-height: 120%;  font-size: 10pt }   /* percentage */

/* default skin for navigation boxes */
table.navbox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 5px;
    text-align: center;
    width: 100%;
}

There is one final change I want to make to the skin and that is to alter the Navigation, toolbox, and interwiki link bars in the sidebar to #000000, and the text to #F0F0F0, but I don't know how to do this. Any help would be very much appreciated. Bobo. 05:25, 2 March 2007 (UTC)[reply]

You had one typographical error, a transposed } and ; (fixed above). The W3C CSS validator says the rest is fine (except it doesn't recognize the border radiuses, but you can ignore that). One problem is, you are making *all* links very light grey, which makes it hard to use a wikipage (be aware).
Anyway, to make the portlets white on black, try:
.pBody { background-color: #000000; border-color:#444444; color: white }
.pBody a { color: #f0f0f0 }
.pBody a:active { color: #f000f0 }
.pBody a:visited { color: #f0f0f0 }
--Splarka (rant) 08:24, 2 March 2007 (UTC)[reply]
Once again Splarka, thank you very much for your help, especially after the relative debacle of last time. I will ensure that I alter the links to a sensible colour given the brightness of my computer screen. It's nice to realize I'm learning something! And thank you for the link, that will be useful for bookmarking for the future. Bobo. 16:37, 2 March 2007 (UTC)[reply]

Defaulting show preview and edit summary prompt upon account creation

In this discussion at WP:VPP, a user suggested that we make show "Show preview" mandatory before saves. There is no apparent support for that change. However, this sparked in me a far less drastic idea that a few users have supported involving modifying the default preferences setting upon account creation in a way that would address this issue as well as the perennial proposal that users always be automatically prompted for missing edit summaries. I am seeking second opinions, as well as a feasibility report from you tech gurus, for the following:

The options in user preferences under the editing tab allow a user to choose "show preview on first edit" as well as to "Prompt me when entering a blank edit summary." Currently these default to unchecked upon account creation. I imagine it would not be difficult to change the software so that upon account creation, these options would instead default to checked.

For "Show preview", I am betting this would lead to a not inconsiderable reduction in error-filled edits, and for the edit summary prompting, not only would it serve to teach new users what an edit summary is, but go a long way toward getting them to use them from the get-go. Many new users might get used to those defaults before they ever realize they have a preference page, and never uncheck them after because they are used to that state of affairs.

To be clear, I am not proposing any change making these two options automatic, just that the two existing preferences default to checked upon account creation (as we already have for other options in editing preferences, such as Show edit toolbar, etc. It would not force anything on anybody; all users would still have the option of changing their preferences, but many will I am hoping, be gently and invisibly guided by starting with these defaults.

I also think it might have at least a mild vandalism reduction side effect. Some vandals must hover over the submit button for a moment thinking "do I really want to do this?" Now they get a second chance to turn back, and may be more likely to after seeing their changes right up there on the screen in preview mode. It is even more likely this would cut down on test edits of the "can I really edit this page in real time" variety. Those new users will see the red-colored "Remember that this is only a preview; changes have not yet been saved!" at the top of the page and will be more likely to not hit save because they realize from that, that it [really] will save to a live change.--Fuhghettaboutit 06:25, 2 March 2007 (UTC)[reply]

You have to remember that anons can't change their preferences, so they'd be stuck with whatever defaults were set until they created an account. There's some worry, I think, that anons might be put off editing by having to save twice and by having to enter an edit summary. --ais523 11:20, 2 March 2007 (UTC)
Is there some technical reason why the default preference settings upon username account creation necessarily must also be the default setting for anons? If the answer to that is a categorical yes, it could be one or the other. If only one is a better choice because of this, I think "show preview" would have more good effect than would the edit summary prompt.--Fuhghettaboutit 13:38, 2 March 2007 (UTC)[reply]
Why do you want anons to be able to edit without previewing but not new users? Anyway, it seems that there's precedent for something like this; go to fr:Special:Random (a random page on fr:) and go to the editing screen; you'll find that that the 'save' button is disabled for anons unless they've previewed first, which I think is what the thread above refers to. 'Show preview on first edit' loads the article up on the edit screen as if you'd clicked 'Show preview' without making a change (I've just tested), but lets you save immediately. --ais523 13:46, 2 March 2007 (UTC)
No. It's not a matter of wanting different things between the two. It's a question of choice. If anons can't access preferences, and changing the preference default for new accounts necessarily affects them as well (which I don't know is true), then anons would have this change forced on them while new accounts would always have access to their preference settings, notwithstanding the fact that many new users will not discover they can change their preferences for a time. If anon and user account default preferences are slaved together, and cannot be divorced, then the consideration of whether to implement this becomes different because of the choice issue. It may be that making all anons have to preview before saving without choice would have too much of a chilling effect--Fuhghettaboutit 14:19, 2 March 2007 (UTC)[reply]
The preferences for anonymous users and the default preferences for new users should always be the same, else it's confusing (new users should be able to expect that nothing will change when creating an account for themselves). --cesarb 14:25, 2 March 2007 (UTC)[reply]
  • Comment: on the French Wikipedia, anons always have to preview before saving. GracenotesT § 14:29, 2 March 2007 (UTC)[reply]
    • I mentioned that above. I wonder what sort of chilling effect it's had on anon edits to frwiki, and how well it's prevented anon vandalism to frwiki. --ais523 14:54, 2 March 2007 (UTC)
        • Ah, so you did mention it. My apologies, I just saw the general content of this discussion and wanted to add something in case it wasn't mentioned. I guess that it was :) GracenotesT § 18:16, 2 March 2007 (UTC)[reply]
      • Points well taken. Both would be too much and anons shouldn't see a change in their preferences when they create an account, which could have a different chilling effect, on account creation itself, i.e., new users going back to editing under their ips because they don't like the "change." It probably would lead to a flood of "what gives" posts when first signing up too. So I guess this discussion must shift to only the show preview default, "French option" for all. How to explore the actual effect this has had on the French Wikipedia is not clear to me.--Fuhghettaboutit 15:06, 2 March 2007 (UTC)[reply]

IPs and the new-message bar

See Wikipedia:Help desk#IP address. This probably needs to be brought to wider attention, so I'm posting it here. Does anyone know whether the developers are aware yet? Can anyone reproduce the problem easily? --ais523 15:00, 2 March 2007 (UTC)

Happens to me occasionally (i.e., the orange bar gets stuck there, viewing the diff. page appears to make it disappear however). thanks/Fenton, Matthew Lexic Dark 52278 Alpha 771 15:04, 2 March 2007 (UTC)[reply]
That happens to me all the time when browsing Wikipedia when not logged in, at school. The orange box remains there even when I go to the talk page. There is one IP address and hundreds of computers. GracenotesT § 18:19, 2 March 2007 (UTC)[reply]
I'm getting the opposite problem. On another MediaWiki wiki running version 1.10, I sent my own IP a message, but the new-messages bar didn't come up, not even when I bypassed my cache. --ais523 18:25, 2 March 2007 (UTC)
If you wait long enough the new messages flag will appear, but won't go away, this seems to take anywhere from several hours to several days, during which time new messages will probably go unnoticed --VectorPotentialTalk 19:02, 2 March 2007 (UTC)[reply]
I've alerted the developers via BugZilla: bugzilla:9213. --ais523 16:08, 7 March 2007 (UTC)

If the first section of List of law clerks of the Supreme Court of the United States (the Chief Justice part) is edited, editing seems okay. If you try to edit the section below that, for Seat 1, what actually comes up in the edit box is the section for Seat 8. If you attempt to edit lower sections, all you get is a blank edit box. This was reported as a problem on the article's Talk page over 6 months ago, but hasn't been addressed. I'm using IE 7. Corvus cornix 18:49, 2 March 2007 (UTC)[reply]

I think the problem is that {{start SCOTUS clerk table}} contains headers, which are available to edit (so are counted), but do not actually exist in the page text. If the headers are removed from that template, I think it would work. A few tables were not closed (and probably some still are not) - it can be difficult to follow when some tables are started inside templates but closed outside. Gimmetrow 19:14, 2 March 2007 (UTC)[reply]
Yes, that fixed the immediate problem, but the names are not listed in subsections. At least you know the cause; you're welcome to revert. Gimmetrow 19:17, 2 March 2007 (UTC)[reply]

How to Extract text from Wikipedia to Display in another WebSite?

Hi. I have a web site that lists various scholars and their writings. All the links there currently go to Wikipedia articles, but I though it would be nice to provide some kind of "preview" of the Wikipedia article in a DIV (or OBJECT or IFRAME) on the web page itself. Does Wikipedia offer any (API) method by which an article can be embedded into another web page without the navigation bar and other space-consuming paraphernalia. I would just want the "contents" of the Wikipedia page to show up, since there will be very limited space, and it's just a preview anyway. I see that other sites (like Ask.com) seem to be able to do this, but I don't know if they use some elaborate back-end engine that parses and reconstructs the Wikipedia information. I don't have time to program something like that; I'm looking for the easy way! Any ideas? Thanks a lot. —Dfass 18:59, 2 March 2007 (UTC)[reply]

You could maybe Special:Export the page and parse the XML, I don't know if automated mass queries are permitted however. thanks/Fenton, Matthew Lexic Dark 52278 Alpha 771 19:05, 2 March 2007 (UTC)[reply]
Thanks. Actually, the "print" version is pretty close to the stripped-down version I want. So I can link to a page as, for example, "Zoroaster preview", and I think that will be good enough for my purposes... I hope. —Dfass 19:42, 2 March 2007 (UTC)[reply]
Could also try Zoroaster&action=render — this parameter gives you exactly what you asked for; you just need to apply some CSS cause it doesn't look good without it. — Alex Smotrov 05:25, 4 March 2007 (UTC)[reply]

Wiki-fy a Schedule Table

Hi! I'm putting together a schedule table for an event for a club that I am in that has it's own wiki. I'd like the table to be something like:

Date Joe Tom etc...
April 14 8am X P ...
April 14 9am B B ...
many more... ... ... ...
  • B = Booth
  • P = Presentation
  • X = Not at the conference

My questions are:

  1. Can text in a table be written at an angle (i.e. if Tom's name is longer, can I orient his name 90 degrees)?
  2. If I have dozens of people in the table, can I break the table up into smaller pieces, so the user can edit a smaller and more understandable section?
    • Possibly like a pivot table in Excel?
    • Possibly like transclusion for composite wiki pages?
    • Possibly like templates, that could be merged together for the complete schedule?
    • Possibly like article sections?
  3. Can I set the domain of cell values (B, P, X, etc...) with a drop down list or something, so the attendees can change their schedule on the fly and the rest of us will know where they are?

Thanks in advance --Shelton1234 20:40, 2 March 2007 (UTC)[reply]

  1. Yes, see here but it only works in Internet Explorer.
  2. It would be quite hard to split up the columns but you could quite easily split up the rows by putting a section header between them which will allow only a few rows to be edited at a time.
    • How would that work, I can't seem to break up a table as you are describing? --Shelton1234 21:45, 5 March 2007 (UTC)[reply]
      There are two main ways of doing this. One is to have several separate tables above each other, each separated by headings, e.g. in Wikipedia:Bots/Status and another way is to separate each group of rows with a cell that spans accross the columns and contains a heading, e.g. in Wikipedia:WikiProject User scripts/Scripts#Modules. You could at each way and see which would work best, then use the wiki-code on these pages to show you how to do it. Tra (Talk) 21:58, 5 March 2007 (UTC)[reply]
      Tra - thanks for the examples. Very clear. I was actually able to get templates to create the table, by having {+begin the table { table... however, it took a lot of work for a very un-friendly table. Thanks, I'm going to try out some of your examples! --Shelton1234 18:47, 6 March 2007 (UTC)[reply]
  3. No, you can't set up a dropdown list but since the values you are putting in are quite short, it would probably be easiest to just put them in directly. Tra (Talk) 12:56, 3 March 2007 (UTC)[reply]
  1. You could also put the long name into its own nested table, and display each character in its own row, so as to stack up the letters vertically, but with each letter in a normal orientation. That should work in any browser:
Date Joe
T
o
m
etc...
April 14 8am X P ...
April 14 9am B B ...
many more... ... ... ...
Obviously, you'll need to work with the style a bit. --Teratornis 18:28, 4 March 2007 (UTC)[reply]
A comment about question #2: I had a similar problem on a corporate wiki I administer. We have a telephone directory/contact information page with about 50 people on it. The resulting table is pretty complex, and evidently nobody at my company other than me has any prior experience editing on a MediaWiki wiki. So I wrote a section of detailed instructions at the bottom of the page that tell people how to find the row in the table with their personal data, and edit it. At the top of the page, I have a link on the text "See below for editing instructions." So far, all of our complete wiki novices who have edited the table have done so without needing additional help. I would be happy to e-mail a copy of my editing instructions to you in wikitext format, so you could edit them to be appropriate for your table, but Special:Emailuser/Shelton1234 says you have elected not to be able to receive e-mail. --Teratornis 18:43, 4 March 2007 (UTC)[reply]
Yet another comment: it is much easier to edit a row rather than a column, because all of a row's cells group together in the wikitext. Therefore, if you expect people to edit multiple entries for a given person rather than a given time, you should rotate your table 90 degrees so each row represents a person, and each column represents a time. This probably eliminates the need to display column headings vertically, because you can use column spanning to group all the dates under a given month (or date, if you have several times for one day). For example:
April
14 ...
Name 8am 9am ...
Joe X B ...
Tom P B ...
...
Then the logical way to divide the big table into little tables would be by date range, for example maybe by month, depending on how many time columns you have room to display. To make the wikitext easier to edit, you could insert some HTML comment lines that would act as pseudo column headings when someone views the edit window. --Teratornis 19:24, 4 March 2007 (UTC)[reply]
Thank you Tra and Teratornis for the excellent ideas. I will definately rotate the table. Also, I have changed my user preferences to receive email. Please send me a copy of your instructions! Thanks for considering my issue. The computer geek inside me still feels like there should be a way to edit a simple list and pivot table it into a summary table, but using wiki to coordinate this group is still light years ahead of other methods! Thanks! --Shelton1234 18:23, 5 March 2007 (UTC)[reply]

Translations of episode names

The translations of the titles/names of a TV episodes of a serie (for example), have some kind of copyrights for the translator? Is necessary to request permission to the translator to use this titles in wikipedia. I'm taking specifically of no official translations. (Sorry about my english) 64.237.177.229 00:12, 3 March 2007 (UTC)[reply]

Highly doubt it. If you are still worried, it might actually be better to go to another language Wikipedia and get a "free" translation by asking - for example, fr:Wikipédia:Oracle or if you wish to stick to English, perhaps Wikipedia:Reference desk/Language. x42bn6 Talk 01:11, 3 March 2007 (UTC)[reply]

html

I am currently trying something and would like to find out how I could insert html onto a page - I am not planning on adding any to any articles, this is a pure expreiment

For security reasons, you can't insert just any HTML tag but there are a few that you can insert and there is also the basic wiki markup that you can use. What exactly are you trying to do? Tra (Talk) 13:55, 3 March 2007 (UTC)[reply]
A list of allowed HTML can be found here. --MZMcBride 01:32, 4 March 2007 (UTC)[reply]

Capitalizations

Why does putting in Prestige Oil Spill into the Search/Go bar yield the Prestige oil spill page, but when put in Wikilinks yields a redlink? Shouldn't there be some way to make the alternate capitalization systems the same, rather than having to go and create redirects? Logical2uReview me! 16:05, 3 March 2007 (UTC)[reply]

  • That is an interesting idea, the only catch I could think of is if there were two separate articles that differed only by their capitalizations, it might cause a potential conflict. Of course there probably aren't supposed to be article titles that differ by so little, since that would be confusing--VectorPotentialTalk 16:45, 3 March 2007 (UTC)[reply]
  • OTOH... there are Some few, which are deliberate-- see WP:WC, and WP:Wc, making for a one character change in the resultant url if one gets a memory fart. The one is a resource page for the newcomers, the other the project, such as it is. I would think system software could be written trying the expressed version first and successive capitalisations sequentially until a match is found whilst ignoring prepositions. Maybe a filled in wrong case could be represented by a violet link color--combining red and blue! <g> // FrankB 22:17, 3 March 2007 (UTC)[reply]
    WP:Wc and WP:WC redirect to the same page for me. I also like the violet idea, if it can be applied to all wikilinks, and if its codable. If it IS the Gobar checking capitalizations for pages, this makes me suspect it is somewhat codable. I wonder who we bring it to then? Logical2uReview me! 22:52, 3 March 2007 (UTC)[reply]
    Bugzilla -- see link at page top, submit as "requested features".
    • Can post on the village pump at Mediawiki too, but the Bugzilla route has 'procedural handling' in place for such requests, so will at least get 'kicked around' on the email circuit. // FrankB 23:33, 3 March 2007 (UTC)[reply]
    WP:Wc and WP:WC both redirect to the same place. either:
    a. frankb is mistaken
    b. frankb is correct, but the explanation is hard to understand
    c. frankb is correct, and i am not smart, and misunderstood. this seems the most likely.
    offhand i can't think of a situation where there should be two articles that differ only by capitalization. --barneca (talk) 22:55, 3 March 2007 (UTC)[reply]
    Sigh... yet another case of being edited unmercifully, I fear! "Alas! Alack, Oh woe is me!" WP:WC (edit | [[Talk:WP:WC|talk]] | history | protect | delete | links | watch | logs | views) used to go to this page (diff shows being moved) and this diff (shows a shortcut reassignment) both recently, and proves my assertion-- or would have, or 'whatever' and something like that, etc. etc. etc. ad nauseum. <G> Q.E.D. - Both pages existed on Feb 9th, or that last edit made no sense whatever. Sniff. So pick E none of the above! Oh thou mocking 'Barneca', but be assured when the FrankB speaks there be something behind the statement! (It really doesn't come off very mature either, dude.) The situation in question arose back when they were discouraging subpages except in all but user spaces. So that being settled, moving the page makes some sense. But I'll have a stern talk with The Transhumanist on keeping consistency with shortcut links! Maybe even spank 'em with a wet noodle! Cheers! // FrankB 23:33, 3 March 2007 (UTC)[reply]

    (Edit conflict)

    Wikipedia is case sensitive indeed. However, when you click "Go" the search box looks for alternate capitalizations. Thus, if you type Prestige Oil Spill, the search will search for Prestige Oil Spill, Prestige Oil spill, Prestige oil Spill, prestige Oil Spill, etc, and since it finds Prestige oil spill, it will show that page. Using common sense, you should not create two pages that differ only in capitalization (in example, Virtual console and Virtual Console should both redirect to the same page, because the difference between both words is trivial, and not to different pages, as it is currently). Redirects that differ in capital letters should use the {{R from other capitalisation}}. -- ReyBrujo 23:23, 3 March 2007 (UTC)[reply]
    Good point... any editor earning their munificent salaries here needs to back check any redirect link they come across for the proper {{R from ... } tagging. The Category:redirects links to the reference page so you need not remember that or it's shortcuts. There are maybe five or six common ones. // FrankB 23:39, 3 March 2007 (UTC)[reply]
    So, realistically, we need to check each article on the Wiki for multiple capitalization schemes of the same article before any "Capitalization Fixer" is implemented? Logical2uReview me! 01:22, 4 March 2007 (UTC)[reply]
    This is now part of Bug 453, Make page titles case insensitive, I guess. Logical2uReview me! 20:44, 7 March 2007 (UTC)[reply]

    Very Simple Question

    How many hits does Wikipedia get daily, monthly, yearly? If any of this data is available I would be grateful. Thank You — Preceding unsigned comment added by Paulmath (talkcontribs)

    Check WP:STATS. ≈ jossi ≈ (talk) 16:43, 3 March 2007 (UTC)[reply]

    Images

    I've been having some trouble seeing images I've uploaded to commons. Photos display fine, but when I've tried to add plans which I've coloured up in photoshop and then saved as jpg's they don't seem to display - I just get the X at the top left of the screen. Is it just my browser (IE7) or is there something wrong with them - the image I've just uploaded is Image:Royal Palace Monaco plan2.jpg. Cheers. --Joopercoopers 03:55, 4 March 2007 (UTC)[reply]

    Hmm, I do see an image, but the colors on the thumbnail are all mixed up. Might be corrupted. Try uploading again, and preferably in PNG format. Jpegs are a bad choice for images like that. --Sherool (talk) 04:22, 4 March 2007 (UTC)[reply]
    I see a red cross - just like you said, could be corrupted, try reuploading. Af648 07:40, 4 March 2007 (UTC)[reply]
    Thanks for that. Right, I think I've got it sorted now. PNG seems to result in too large a file size. I switched the mode from CMYK to RGB in photoshop before saving and that seems to have done the trick. Regards --Joopercoopers 13:05, 4 March 2007 (UTC)[reply]

    OGG

    Hi. I was going to play a video from an article and I was wondering: are these OGG files automatically scanned for viruses when they're uploaded? Thanks.--Ol' Blue Eyes 07:54, 4 March 2007 (UTC)[reply]

    The server does not sanitize anything. Not even Javascript, as far as I know. -- ReyBrujo 08:10, 4 March 2007 (UTC)[reply]
    ok. Thanks.--Ol' Blue Eyes 08:18, 4 March 2007 (UTC)[reply]

    Customise interface messages just for myself

    As it pretty much states above, I want to be able to customise MediaWiki messages just for myself. I get annoyed when I come across userpages that imitate the "You have new messages" message, and I want to change the text so I can easily tell whether it's a joke or whether it's real. Obviously I can't change the style as intelligent people would just use the CSS class for formatting. Harryboyles 11:56, 4 March 2007 (UTC)[reply]

    You could probably tell the difference between a real message and a fake one using JavaScript, and change the formatting that way. But you can't change the HTML before it comes out of the server if that's what you're thinking. -- Tim Starling 12:20, 4 March 2007 (UTC)[reply]
    Thanks for that idea. I'll work off that. Harryboyles 12:28, 4 March 2007 (UTC)[reply]
    I would personally love to have my own MediaWiki pages (that is, replacing the text of the messages with my own; in the same vein as having "contributions" instead of "my contributions", or "stalked pages" instead of "my watchlist")> I suppose that this also is not technically feasible. GracenotesT § 13:41, 4 March 2007 (UTC)[reply]
    Gracenotes: it is possible with Javascript:
    addOnloadHook(function(){
     var portlet;
     if (portlet = document.getElementById('pt-mycontris'))
       portlet.firstChild.innerHTML = 'contibutions';
     if (portlet = document.getElementById('pt-watchlist'))
       portlet.firstChild.innerHTML = 'stalked pages';
    })
    

    your monobook.js (unless you changed your skin from the default Monobook). — Alex Smotrov 14:22, 4 March 2007 (UTC)[reply]

    MediaWiki messages have a div/span id? I should've known (aka checked the source code). Thank you. GracenotesT § 15:11, 4 March 2007 (UTC)[reply]
    Unfortunately, MediaWiki messages do not constantly nor consistently have div/span IDs or classes. Also unfortunately, the class on a usermessage div can be emulated in wikicode (as the opening statement lamented). What you can do is specify the css more specifically. For example:
    #siteSub + #contentSub + .usermessage { border: 2px solid red; }
    
    ...Would give real usermessage notes a red border (only if they were preceeded specifically by the siteSub and contentSub divs). It could still be spoofed, but not as easily. --Splarka (rant) 08:31, 5 March 2007 (UTC)[reply]

    Provision for showing a reason for redirection?

    People have been having a lot of fun at Conservapedia's bee in its bonnet about British spellings in Wikipedia. Nevertheless, there is a real issue here, or two issues. First, a redirect does not show the user any reason for the redirection. Second, we don't know what inference an average user makes when they notice that a redirect has occurred.

    Many redirects are mistakes and misspellings. When you type in paralell and get a page on Parallel it is reasonable to interpret this as "you misspelled it."

    It does not seem impossible that a user who types in phonograph record and gets an article on gramophone record could interpret this as "Dummy! it's called a gramophone record, not a phonograph record." Or, conversely, someone who types in sulphur or colour could feel chided (even though all of these articles open by giving both versions).

    I don't think you'd have to be totally paranoid to get that impression. That impression would be wrong, and experienced Wikipedians know this, but a redirect does not give a reason or link to an explanation. And it should.

    It seems to me that it would be feasible and wise to expand the redirect mechanism so that a redirect could include a reason. Most reasons would probably be stock reasons from templates. I

    I don't know whether the target page should give the full reason following the "redirected from" line, or where it would just say something like "Redirected from Sulphur. Why this was redirected"

    Some examples of typical reasons might be:

    "Redirected from Phonograph record, because "Phonograph record" is the U. S. term and the editors of this particular article have chosen to use the British term. See style policy."

    "Redirected from Lady Mendl, the term by which Elsie de Wolfe was commonly known after her marriage, because "Elsie de Wolfe" is the form commonly used by her biographers."

    "Redirected from Paralell, because Paralell is a misspelling." Dpbsmith (talk) 14:10, 4 March 2007 (UTC)[reply]

    I did some poking around, and what do you know. Some explanatory mechanism appears to be already in place, although it is subtle (perhaps far too subtle). For example, Help:Magic word is a redirect to Help:Magic words. The redirect page shows the text: "(Redirected from Help:Magic word)", with the text after "from" a link to the redirect page without redirection. Clicking that link, and then clicking the edit tab on the resulting redirect page shows that the redirect page transcludes the template: {{R to plural}}, which, if the hapless user could actually see it, explains the reason for the redirect. Thus it appears the explanation you seek is buried, or could be buried, in the redirect itself, but the odds appear to be remote that a new Wikipedia user would be able to find it. MediaWiki allows the user to customize some aspects of its appearance, through skins; wouldn't it be great if, in addition to being able to make frivolous cosmetic adjustments, a user could select an actually different functionality? For example, a beginning user might select a "Beginner" skin, with a "What's this?" feature that would pop up explanatory text over every mysterious GUI object. --Teratornis 18:18, 4 March 2007 (UTC)[reply]

    Problem with template vandalism?

    User talk:BostonMA has been gone for some time now but his page remains. Today I noticed that the template (guess that is what it is) on his user page has been vandalised by two inserts of User:Essjay/Clickthru/3 into the template formating the top of his page. Since he is not here to fix his page, please would someone look into it? (It must be a vandalised include as I understand these things.) Sincerely, Mattisse 16:07, 4 March 2007 (UTC)[reply]

    No vandalism. User:Essjay/Clickthru/3 was deleted per request of User:Essjay (a user can request deletion of all of his userspace pages). There seems to be a replacement at User:Llama man/Clickthru/3. You can use that instead, if you want. --Ligulem 16:19, 4 March 2007 (UTC)[reply]
    Perhaps a redirect should be instated, if permissible, due to many inclusions of all of Essjay's clickthru templates? Of course, Essjay did request a U1, so this seems murky. See this. That's what my user box would have looked like if I didn't, by pure coincidence, switch to imagemaps a couple of days ago. Of course, we could switch to {{click}} in most cases (or even better, to imagemaps, although this would take much work). GracenotesT § 16:25, 4 March 2007 (UTC)[reply]
    I don't understand. Why is it in the box at the top of User talk:BostonMA's page (in two different places where previous there were no such links at all)? Could you look at User talk:BostonMA to see what I mean? He never had any links there before (only images) or ever had contact with User:Essjay Sincerely Mattisse 16:30, 4 March 2007 (UTC)[reply]
    I don't know how to do as you are suggesting above. (There was an edit conflict when I posted.) I just think it needs to be fixed. Sincerely, Mattisse 16:34, 4 March 2007 (UTC)[reply]
    That template is transcluded to dozens of pages, so it won't be a quick fix--VectorPotentialTalk 16:35, 4 March 2007 (UTC)[reply]
    That is called transclusion, the template is at User:BostonMA/Nav. I suggest substituting Essjay's template in all needed places. -- ReyBrujo 16:37, 4 March 2007 (UTC)[reply]
    Fixed that particular example, but as I said above, it's used in dozens of transclusions--VectorPotentialTalk 16:40, 4 March 2007 (UTC)[reply]
    Someone should probably contact a pywikipediabot owner to change all instances of User:Essjay/Clickthru/3 to User:Llama man/Clickthru/3, the same thing should be done for User:Llama man/Clickthru--VectorPotentialTalk 16:44, 4 March 2007 (UTC)[reply]
    (edit conflict) Thank you so much for fixing it. (I feel protective of his page as User:BostonMA is a good guy and hopefully will return.) Sincerely, Mattisse 16:49, 4 March 2007 (UTC)[reply]
    I've gone through all pages that transcluded to User:Essjay/Clickthru and User:Esssjay/Clickthru/3 with AWB and changed them over to the User:Llama man/Clickthru versions. The Special:Whatlinkshere lists seem to be a bit lagged, but I'm pretty sure they're all changed —Krellis (Talk) 00:54, 5 March 2007 (UTC)[reply]

    Adding "fact" tags to an article

    When you add {{fact}} to a statement in an article, should you mark the edit as major or minor? Thanks. Wikipediarules2221 03:27, 5 March 2007 (UTC)[reply]

    It can go either way, depending on how many you put in, and the level of incertitude you have about the text in question. So if you put several {{fact}} tags, or if the sentence seems unlikely, consider it a regular "major" edit. − Twas Now ( talkcontribse-mail ) 06:11, 5 March 2007 (UTC)[reply]
    Alright, thanks a lot. Wikipediarules2221 07:05, 5 March 2007 (UTC)[reply]

    Question

    Is it possible to make an image a link? I want users to be able to be directed towards The Godfather page when they click on the image at {{Godfather}}. Khoikhoi 03:46, 5 March 2007 (UTC)[reply]

    Yes, you can use the {{click}} template, but it is VERY discouraged. I would argue the Godfather logo is copyrighted and therefore the image must have a wrong license, though... I heard they were trying to develop a map extension for clicking images. In any case, just leave the template as is, or better yet, change the image for a wikilink to the article. -- ReyBrujo 03:49, 5 March 2007 (UTC)[reply]
    The ImageMap extension can be used for this. -- Rick Block (talk) 04:03, 5 March 2007 (UTC)[reply]
    Thanks, but why is it discouraged? I also noticed {{Evanescence}} and its use of Image:Evanescence.svg. If its copyrighted, is it illegal to make The Godfather font? Perhaps its creator had permission, I'm not sure. I honestly think the template looked really bad with just a wikilink, and I can't think of any better font than this. That's just my opinion though. Khoikhoi 04:04, 5 March 2007 (UTC)[reply]
    Clicking on images should normally bring up the licensing information for the image. Using {{click}} and similar may be confusing given those expectations, may have exploits, and hiding the licensing info may not be OK with the GFDL. It also may have accessibility issues. Imagemap is better because it allows a link for the licensing info to remain in the image.
    Copyrighted images are only "fair use" for articles, ie in article space, so use in a template means that template should *only* be used in article space. If one were really ornery, the template could be made such that the image only appears in transclusions in article space. Hmmm. Maybe there should be a template to make that easy... Gimmetrow 04:16, 5 March 2007 (UTC)[reply]
    If it's a fair use image, it shouldn't be used in a template at all. In this case, the image was created using a "Godfather" font and is not quite the same as the copyrighted Godfather logo (although it might be close enough that copyright infringement could be claimed). -- Rick Block (talk) 05:07, 5 March 2007 (UTC)[reply]
    If it's a fair use image, it shouldn't display outside articles where the fair use is claimed. Does that mean it cannot be linked in a template? A template could be written with an image inside an includeonly and conditional on article space, for instance. Gimmetrow 17:51, 5 March 2007 (UTC)[reply]
    Fair use images cannot be used in templates. That's a violation of fair use. Corvus cornix 23:15, 5 March 2007 (UTC)[reply]
    I don't see how your response addresses my rather specific point about a rather specific scenario. Gimmetrow 02:03, 6 March 2007 (UTC)[reply]

    Need some assistance

    Probably the end of my time here... :)

    I just deleted Jimbo's talk page in order to delete a revision (at the request of a user concerned with personally identifying information inadvertantly revealed.) Now I'm unable to undelete it--I just get a blank page instead of a list of the 13,000+ revisions. Any help appreciated. —Doug Bell talk 05:53, 5 March 2007 (UTC)[reply]

    Which revision is a problem? --Aude (talk) 05:57, 5 March 2007 (UTC)[reply]
    For a page with massive edit history (13,000+ edits), I think oversight is better. --Aude (talk) 05:59, 5 March 2007 (UTC)[reply]
    Maybe true, but I saw before I did it that Slim Virgin had done it when there were more than 11,000 edits...so I figured I would be OK. I can email you which version if you think you can help. —Doug Bell talk 06:01, 5 March 2007 (UTC)[reply]
    I think I know which revision. The undelete page is loading. --Aude (talk) 06:06, 5 March 2007 (UTC)[reply]
    The page is coming back now. --Aude (talk) 06:08, 5 March 2007 (UTC)[reply]
    The page is back. You can look at Special:Undelete/User_talk:Jimbo_Wales and see if I got the right one. If not, try oversight. --Aude (talk) 06:12, 5 March 2007 (UTC)[reply]
    THANK YOU! I sent you an email with the details of the request. And no, it wasn't that one. —Doug Bell talk 06:18, 5 March 2007 (UTC)[reply]

    Conditional (#ifeq and #if) not working in template

    This is primarily about an external wiki site I'm working on - I'm trying to learn some of the more advanced functionality for Wikipedia.

    • The Parser extension is installed.
    • The owner of the server has apparently followed instructions to add the hash (#) symbol to the front of all the functions.
    • I discovered (after a looong time) that the pipe (|) symbol doesn't work within conditional statements, so I created a template (Template:!).

    But here's the thing: the script I created in the template seems to work ok in Wikipedia, but not on the other server. I created a temporary template, Template:Temptest1 to test with and a page in my user space to check the results, User:Setanta747/temptest.

    I also copied Template:Infobox Company to see if that would work, being a relatively simple template (or so I thought!). I had to remove the html code to start with, as the other server just didn't seem to want to know about it, so I replaced the tr and td and th tags with pipe templates and eventually got it to display all the fields.. but the conditional function is still not working - the fields are displayed as {{variable1}}.. {{variable2}} etc if the variables aren't included in the article.

    The interpreter or compiler or whatever, seems to be extra-sensitive with regard to spacing - almost like COBOL - if I remove a line break, or add one, it seems to radically change the layout of the template. I had to do a lot of trial and error editing to get anything approaching a template that can be used at all.

    Here are links to the relevant pages on the other site, if anyone is inclined to help out.. or if anyone is familiar with what I'm talking about.

    Thanks in advance to anyone who is generous enough to donate some of their time. --Mal 10:02, 5 March 2007 (UTC)[reply]

    • Mal, it's a complex table, and you might want to test a few simple things down at the bottom of the template, like printing out the variable values to see what got passed when the article invoked it:
                F1: {{{F1|undefined}}}; F2: {{{F2|undefined}}}; etc.

      When using variables that may not be defined, give them a default value, like {{F1|}}} (blank) or {{F1|no}}} -- because undefined variables cause trouble in conditionals.

      For instance, where you have:
                {{#ifeq: {{{F1}}}|yes|
      define a default value of yes or no, whichever way you want to jump when the variable doesn't get passed by the article:
                {{#ifeq: {{{F1|no}}}|yes|
      would default to no, don't invoke the next section, bypass it for the section after that.

      I hope these little thoughts are of some help to you. Good luck! -- Ben 12:31, 5 March 2007 (UTC)[reply]
    • P.S. When debugging a template -- rather than save each change and go over to the article to invoke it -- try giving all your variables the default values you'd want the article to provide, then hit the "show preview" button to see the results right away. Something of a timesaver! And then if you later get different results when the article invokes it, you know the problem's got something to do with how the variables got passed. Maybe the whitespace is getting included, and |F1=yes|F2=yes| (without the spaces and linebreaks) would pass the right values. That being a different system, with possibly different flags set, just such an insanely simple problem (and solution) may apply. Again, good luck! -- Ben 12:51, 5 March 2007 (UTC)[reply]

    Ben thanks so much for your insights. I've not got the time to try out your suggestions just now, but it looks like you've given me some fresh direction to go in. Thanks again. :) --Mal 13:39, 5 March 2007 (UTC)[reply]

    I found out that the problem was the PHP version on the server. My friend has PHP version 4.x installed, and apparently the conditionals work properly on version 5.x and above. Change of server for us then. ;) Thanks for your help again Ben - its still useful to bear in mind what you'd said. --Mal 20:18, 5 March 2007 (UTC)[reply]

    Something else to keep in mind: Wikimedia uses HTML Tidy ($wgUseTidy in the settings) which allows html to be broken and later fixed by parserfunctions and transclusions (something the built in HTML sanitizer doesn't allow). On a MediaWiki install without Tidy enabled, many templates from here will break. --Splarka (rant) 08:08, 6 March 2007 (UTC)[reply]

    Does the 'random article' function really generate random articles?

    Yes, I'm aware that it can't be truly 'random' because it's generated by a computer, but I've often found while using it that the random article function directs me towards articles on subjects that I have been recently reading about on the Internet. Anyone care to explain this phenomenon?--h i s s p a c e r e s e a r c h 16:21, 5 March 2007 (UTC)[reply]

    Coincidence? I'm fairly sure Wikipedia doesn't install spyware on computers to monitor what you have been looking up - but that might explain long hours on Wikipedia. :P x42bn6 Talk 17:06, 5 March 2007 (UTC)[reply]
    It's always possible that it's just a coincidence, but at least two or three times now I've had an article about something I'd been reading about online recently appear in the random page, such as something I was discussing on a messageboard that day.--h i s s p a c e r e s e a r c h 17:28, 5 March 2007 (UTC)[reply]
    For a second, just for a second, I thought you believed Wikipedia pieced an article together everytime you clicked Special:Random :-) Anyways, remember the Six degrees of Wikipedia theory. Anything you are reading is related to something you will read. But yes, coincidence as far as I know. Unless you have clicked on a link in the site that took you to Wikipedia ;-) -- ReyBrujo 17:39, 5 March 2007 (UTC)[reply]
    I believe that's a common type of cognitive bias: one tends to notice things related to subjects one has recently learned of or had one's attention brought to, where one might previously have paid little attention to those same things. I'm having trouble finding a specific article on the effect, however, if we even have one.
    In any case, the distribution of random articles given by Special:Random isn't quite uniform, but should not be biased in any systematic way. (To expand on that a bit: due to details of the underlying implementation, some articles will get returned somewhat more often than others, but the probabilities assigned to the articles should be pretty much random and independent of things like the name or age of the article.) As x42bn6 pointed out, MediaWiki certainly isn't, as far as I know, monitoring your browsing habits. —Ilmari Karonen (talk) 18:12, 5 March 2007 (UTC)[reply]
    I think of all the "Isn't life strange?" observations, like "Learn a new word, and suddenly you'll see it being used repeatedly in all sorts of contexts." Well, yes, let something catch your attention for a while, get sensitized to it, and it will jump out of the background. That's how our minds work. Hunt mushrooms for meals, and you'll start noticing them in places you never saw them before. Track animals, and how quickly the ground becomes a vast pattern of hoofprints and pawprints. Read How to Lie with Statistics, or a good text on logical fallacies or misleading rhetoric, and you start seeing those tricks used everywhere. In such situations, selective attention can be a survival trait. -- Ben 20:50, 5 March 2007 (UTC)[reply]
    I think what you just described could be a form of latent inhibition.--h i s s p a c e r e s e a r c h 15:05, 7 March 2007 (UTC)[reply]

    Diff function screwing up

    See [1]. This edit looked like vandalism, as it was changing comments in the straw poll, so I tried to undo it; it was marked 'conflicting intermediate edits', so I reverted it by hand, preserving the comment in between. This, however, demonstrated that there was no comment-reattribution going on in the original diff after all, so I reverted myself. (I've checked the resulting state of VPR; it seems to be fine in the current revision.) What's confusing me is why the original diff shows reattribution going on in the first place. Does everyone else see this? Does anyone else know what's causing it? --ais523 17:14, 5 March 2007 (UTC)

    The diff seems to look fine when viewed through popups, so it must be something wrong with the server-side diff rendering. I'm guessing that maybe an oversight or something has taken place, and something might still have been cached. Interestingly, the URL [2] (note that %28 and %29 have been replaced by brackets and diff=prev has been used) does seem to work. Tra (Talk) 17:41, 5 March 2007 (UTC)[reply]
    No, the diff you gave is the edit after the one I'm talking about. --ais523 17:44, 5 March 2007 (UTC)
    Whoops, sorry. I still get normal results through popups though... Tra (Talk) 17:58, 5 March 2007 (UTC)[reply]
    I see it. There's definitely something fucked up with the diff engine. Either that, or something's feeding the diff engine broken revisions, but I rather suspect the former. —Ilmari Karonen (talk) 18:20, 5 March 2007 (UTC)[reply]

    Sig won't link to user page

    When I do the 4 tilde thing, my sig won't lionk to my user page

    watch

    Richardkselby 22:55, 5 March 2007 (UTC)

    Try unticking 'Raw signature' in your preferences. Tra (Talk) 22:58, 5 March 2007 (UTC)[reply]

    Richardkselby 23:02, 5 March 2007 (UTC)[reply]

    Thanks, Tra, you are my new friend!!!! :)

    Richardkselby 23:03, 5 March 2007 (UTC)[reply]

    Moving MediaWiki et al to another server

    To solve the problem we encountered here regarding the PHP version on our server, the server owner is wanting to migrate to a different server.

    I'm unfamiliar with the installation process, and what he needs to know is, basically, the best order in which to do things. We are running Mediawiki 1.69 at the moment and we want change to another server and upgrade it to the most recent version at the same time.

    As we understand it, the MySQL databases can just be backed up and rebuilt on the new server, and other files can be FTPed, but what order is best for upgrading. Does he have to install most recent version of mediawiki to the new server first. or what..?

    Thanks in advance for any help. --Mal 23:21, 5 March 2007 (UTC)[reply]

    See mw:Manual:Moving a wiki. The usual recommendation is to perform the upgrade just before or just after the move, to be sure that things work either side of it. 164.11.204.56 08:12, 7 March 2007 (UTC)[reply]
    You might also try experimenting first with the move and upgrade on a workstation, using the m:Wiki on a stick method. That may be more convenient for working out your exact procedure, verifying that all your extensions work, that you have preserved all your image uploads, customizations, and so on. Be sure to document all the steps in your procedure on a wiki page, because you will need to upgrade MediaWiki repeatedly in the future, and because the available documents (mw:Manual:Upgrading, mw:Manual:Moving a wiki) are a bit vague and general (they don't list all the specific commands you will need for your setup). Once you have seen how the move and upgrade work on your workstation, you can be more confident when you repeat them on a full-blown server. --Teratornis 16:39, 7 March 2007 (UTC)[reply]

    What an excellent resource, and a helpful bunch you lot are! Thanks yet again for going above and beyond the call of duty to help others out with their problems. :) -- Mal 19:27, 7 March 2007 (UTC)[reply]

    User's groups tab

    I used to have a small tab with a '$' in it that showed a user's groups (i.e. Admin, Bureaucrat, etc) when clicked. I'm sure where I got it or where it went, but does anybody know of a script that does this? John Reaves (talk) 01:07, 6 March 2007 (UTC)[reply]

    I have that in my monobook, but it is part of something else, so it would be very hard to rip out just that part. I could probably figure out how to make it from scratch if you would like, or someone with more JS experience could. If you want to see it, try User:Prodego/User/monobook.js and(required) User:Prodego/User/monobook.css. (Needs Firefox for best results) Prodego talk 16:20, 7 March 2007 (UTC)[reply]

    Twinkle script not working

    I recently installed the Twinkle script to my monobook.js, and none of it works. I've already asked the script's creator, AzaToth, for help here, and he couldn't figure out what's wrong.

    I use Windows XP Home Edition, my browser is Mozilla Firefox 2.0.0.2, and my firewall is from Norton Internet Security (not ZoneAlarm, which breaks Twinkle).

    I've already purged the server cache and bypassed the browser cache, and as I explained to AzaToth, none of the buttons work. (Note: If it's useful at all, my discussion with AzaToth also has some of the error messages I get when I try to use Twinkle.) Pyrospirit Flames Fire 02:01, 6 March 2007 (UTC)[reply]

    Article size

    How do I find out the size of an article, please? TerriersFan 03:22, 6 March 2007 (UTC)[reply]

    See WP:SIZE. One way is to search for the article (use "search", not "go") and the last cached size should be listed. If an article is over 30k, the raw size is shown above the edit window. For smaller articles (or to be more precise on "prose size"), you could go to the "printable version" of the article (it's a link in the toolbox on the left), remove the references, and check the resulting file size. (There are some javascript tools which do the same, but if you only need to know for one article, it's probably easier to do it by hand or ask someone rather than install the tool.) Gimmetrow 03:35, 6 March 2007 (UTC)[reply]
    Thank you, very helpful. TerriersFan 01:34, 7 March 2007 (UTC)[reply]
    Another method, not necessarily more convenient, is to click the edit tab at the top of the article, select all the wikitext in the edit window, copy to the clipboard, and then paste into an external text editor that has a function to show the file size. This measures the size of the article's wikitext, and does not account for the size of images the article displays, the size of any transcluded templates, nor the expanded size of any magic words. If you want to know the size of the downloaded HTML of an article, you could use your Web browser's file information function. If you want to count the words in an article, you could use Unix commands such as lynx and wc. For example, this counts the words currently in the Village pump (technical) page:
    lynx -dump \
    'http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29' \
    | wc -w
    
    which at the moment returns 18169. --Teratornis 17:09, 7 March 2007 (UTC)[reply]

    Edit preview thingy somewhate broken

    Take a look: preview, and this. I didn't edit out {{econ-stub}}, but the preview shows I did. WTH? --M1ss1ontomars2k4 (T | C | @) 04:45, 6 March 2007 (UTC)[reply]

    Contributions of IP range

    Accourding to Wikipedia:Wikipedia_Signpost/2007-03-05/Technology_report we can now see the contributions of an IP range. But Special:Contributions/217.230.0.0/16 comes up empty, despite of Special:Contributions/217.230.13.252. Any ideas? Agathoclea 07:28, 6 March 2007 (UTC)[reply]

    Perhaps the new version of the software is not yet running on this wiki. When I delete a page that has been deleted before, I don't get the old deletion log entries either. Kusma (討論) 07:38, 6 March 2007 (UTC)[reply]
    Special:Version (as of this posting) says we are on r20145, and the change in question (r20075) was a week ago, so it should be working.... --Splarka (rant) 08:19, 6 March 2007 (UTC)[reply]
    Soon, it was reverted due to an SQL error for newbie contribs due to a mistake. I've committed it again with that issue fixed. Voice-of-All 00:48, 7 March 2007 (UTC)[reply]

    Makesysop question

    If anyone can help me with this, I would appreciate it. I've got three installations of MediaWiki on my WAMP server, and I have got Makesysop installed on one of them.

    What I would like to do would be to set user rights cross-wiki, like Meta does here.


    I have tried to get it to set user rights for "User:Testuser@wikidb1" but it says no such user exists.

    How would I be able to get Makesysop working properly, like meta does?? --sunstar nettalk 12:15, 6 March 2007 (UTC)[reply]

    I'm completely guessing here as I have no knowledge at all on how meta works, but it's likely custom code, and not the standard makesysop function. Each MediaWiki installation has its own database, which means a global makesysop function will have to access multiple databases. Maybe you can find the code for this in the SVN repository available at svn.wikimedia.org or wait until one of the dev's reply. Cheers, Jayden54 18:29, 6 March 2007 (UTC)[reply]

    Watchlist stuck

    Is it just me or is anyone else's watchlist stuck as of about 25 minutes ago? ፈቃደ (ውይይት) 17:48, 6 March 2007 (UTC)[reply]

    ←*It appears as though it has started to catch up again (but posts of mine fro 20 minutes ago are just starting to show up). -- Chrislk02 (Chris Kreider) 18:00, 6 March 2007 (UTC)[reply]

    On browsers that can display XML, this link is probably a more readable workaroung for the time being. --ais523 18:01, 6 March 2007 (UTC)
    • The watchlist hasn't totally stopped; mine seems to be updating every half hour or so as well, and it only registers some edits. Does anyone know exactly what the problem is? Acalamari 18:02, 6 March 2007 (UTC)[reply]
      • It is catching up pretty quikcly it seems. -- Chrislk02 (Chris Kreider) 18:07, 6 March 2007 (UTC)[reply]
        • Yes, whatever the problem is, it's not as bad as it was: my watchlist is now displaying edits from 7 minutes ago. Acalamari 18:08, 6 March 2007 (UTC)[reply]
    • Mine is working fine now. Acalamari 18:11, 6 March 2007 (UTC)[reply]
    • Does anyone have any missing edits because of this? Cometstyles said that they are missing ten minutes of edits. Anyone else have this problem? My edits are all fine. Acalamari 18:19, 6 March 2007 (UTC)[reply]
      • All of mine showed, I watched them update after the fact and it all looked good to me. -- Chrislk02 (Chris Kreider) 18:19, 6 March 2007 (UTC)[reply]
        • Seems to be working now--VectorPotentialTalk 18:48, 6 March 2007 (UTC)[reply]
    And let the vandal-fighting begin once again. x42bn6 Talk 18:49, 6 March 2007 (UTC)[reply]

    Uh oh

    Now there's a Special:Contributions lag--VectorPotentialTalk 19:31, 6 March 2007 (UTC)[reply]

    Along with the perpetual database locks and error messages recently, I'm guessing servers are suffering from the load. Xiner (talk, email) 19:46, 6 March 2007 (UTC)[reply]
    The contributions sometimes take a minute to update; I've had that before. I'm more worried about that watchlist delay, and the "server overloaded" warnings. Acalamari 19:59, 6 March 2007 (UTC)[reply]

    Come to think of it

    Could this problem also be related to server lag?--VectorPotentialTalk 20:35, 6 March 2007 (UTC)[reply]

    I cannot access my pref.

    I get in but am not able to do anything whatsoever. Not even change my sig. Please help me. -- Darkest Hour 20:12, 6 March 2007 (UTC)

    Can you even load the preferences page? If you can't, then try this link. Or is the server not responding, or not allowing you to do anything? Titoxd(?!? - cool stuff) 20:14, 6 March 2007 (UTC)[reply]
    I get in but thats where it ends. I keep trying to access this linky but nothing happens. I hate this!!!! It bugs me!!!! PS; Your link did nothing for me. Darkest Hour 01:25, 7 March 2007 (UTC)

    WP removing image metadata

    This is not an entirely technical question, but I can't see a more suitable section.

    If a user uploads an image which contains metadata that indicates that it is copyrighted and licensed under the GFDL, the first thing WP does is create and redistribute a copy of the image with this metadata stripped out. That would appear to be a violation of the GFDL by WP itself -- licensees are not permitted to remove copyright notices or license notices from copies. I'd argue that the image scaler should keep such metadata intact.

    I asked about this elsewhere and another user pointed out that a browser displaying the image file on a user's screen also constitutes making a copy without the metadata. That's true, but until the image file leaves WP's servers it remains WP's problem. If the user then does a screen capture and redistributes the captured image, it is the user violating the GFDL, not WP. Rling 21:00, 6 March 2007 (UTC)[reply]

    The license information is available on the image description page instead. Tra (Talk) 22:29, 6 March 2007 (UTC)[reply]
    The image scaler (ImageMagick) probably does not know anything about the metadata, and thus fails to copy it (it's not stripped out, it's simply not copied). How is that metadata implemented? If it's not a critical chunk, programs are supposed to be allowed to completely ignore it when processing the image. --cesarb 22:34, 6 March 2007 (UTC)[reply]

    Please enable JavaScript

    Is anyone else getting a red notice saying "Please enable JavaScript to access the extended special character edit tools" at the bottom below the edit box, even though JavaScript is enabled? I'm using Firefox 2.002 on Windows XP and under Tools>Options...>Content "Enable JavaScript" is checked, yet I'm still getting the message. Any suggestions? —Angr 21:12, 6 March 2007 (UTC)[reply]

    Indeed, me as well. Matthew 21:15, 6 March 2007 (UTC)[reply]
    That's this change, this admin probably tested this in only one browser (IE7?). Quite surprising. This will be reverted back quickly and then I hope will be discussed cause the idea itself might be good. — Alex Smotrov 21:18, 6 March 2007 (UTC)[reply]
    Okay, I wondered what was going on. I tried to sign my name with the ~~~~ button but I couldn't, so I had to type it out. Acalamari 21:28, 6 March 2007 (UTC)[reply]
    First of all, have you purged your cache? (WP:CACHE) It may repotedly require a few tries, since this change is a combined effort of .js, .css and a modification of Mediawiki:Edittools. And it should work fine on Firefox. Миша13 21:38, 6 March 2007 (UTC)[reply]
    It seems to be fine now anyway. However, not everyones uses Firefox. Acalamari 21:41, 6 March 2007 (UTC)[reply]
    That's their fault, not ours. ;) --Golbez 21:47, 6 March 2007 (UTC)[reply]
    (edit conflict) I cleared my cache multiple time with no luck. I tried multiple browsers (one with a freshly cleared cache) too. It is possible that there may have been a lag in the software. I reverted your change to MediaWiki:Edittools. Since you are here, I'll let you sort everything out and revert me as necessary. Thanks. --PS2pcGAMER (talk) 21:43, 6 March 2007 (UTC)[reply]

    The changes have been reverted. I suggest discussing this further at MediaWiki talk:Common.js. —Ruud 21:56, 6 March 2007 (UTC)[reply]

    Category not showing.

    I am using DynamicPageList on nl.wikibooks to show recipees which use a certain ingredient on the page of this ingredient. DynamicPageList makes a list out of the content of a category. If you use this categories for a certain recipee, you will have a big category-list under the recipee. The categories used for the DynamicPageList all start with KB-xxxxx. Is there a possibility with CSS to not display these categories on the recipee-article? I have found out that you can turn of categories all together with

    #catlinks {display:none;}
    

    So my question: is it possible to only stop displaying categories starting with "KB-". And if so, what is the code you should use. Thanks for an answer. I expect CSS-specialists will read this part of the village pump and might be able to help me. Londenp 23:34, 6 March 2007 (UTC)[reply]

    I guess what you'd want is something like:
    .recipeebox li a[title^="Category:KB-"] {display:none;}
    
    and then you wrap a dynamicpagelist call in <div class="recipeebox"> or whatnot. See css3 selectors (this is advanced CSS, not for all browsers). --Splarka (rant) 08:41, 7 March 2007 (UTC)[reply]
    Thanks for guessing what I mean. I understand it is not easy. But I think I mean something else.
    This is the page with the DynamicPageList: nl:b:Kookboek/Tomaat#Recepten_met_tomaat and this is a recipee where certain KB-categories are displayed: nl:b:Kookboek/Pasta_met_budgetbolognese. You see how many KB- categories are displayed? The only category I would like to keep displayed are: Pastarecept, Budgetrecept and Italiaanse keuken. So I think I would need a selector in combination with #catlinks. It might be quite easy, but I don't know that much about CSS and we don't have many contributors on Wikibooks-nl with this knowledge. That is why I ask here. Thanks for all the help! If it works I will put it in the Common.css. Londenp 21:42, 7 March 2007 (UTC)[reply]

    How to archive entire Wikipedia at once in several languages?

    Any suggestions on how this could be done? I'd like to have a Padd type device using a tablet PC. I realize I could use a spider but maybe someone has experience with this. I'd also like to have archives in several different languages. I realize this would be quite large and I would also like to cache all related images. Thanks --70.106.252.247 04:36, 7 March 2007 (UTC)[reply]

    See m:Database dumps. Dragons flight 04:40, 7 March 2007 (UTC)[reply]

    Thanks!--70.106.252.247 04:46, 7 March 2007 (UTC)[reply]

    Also see WP:WAP, meta:Wiki on a stick, Wikipedia in your Pocket, and TomeRaider. Disclaimer: I have not tried to implement Wikipedia on a Tablet PC. --Teratornis 16:51, 7 March 2007 (UTC)[reply]

    always return http response code 403 (forbidden) when access wikipedia page

    does any one know why i always get http response code 403(forbidden) when i try to read wikipedia page?

    i develop my own mobile browser for browsing wikipedia article using folowing code (written in java)

               String urlstr="http://en.wikipedia.org/wiki/Wikipedia";
               URL url=new URL();
               in=url.openStream();
               buffRead=new BufferedReader(new InputStreamReader(in));
               while (true){
                   nextLine =buffRead.readLine();
                   if (nextLine !=null){
                       content+=nextLine;
                   } else{
                       break;
                   }
               }
    

    the URL are fine when it use in common web browser. do i miss something here? i know that wikipedia article are under GNU Free Documentation License, so didn't think i violate any rules, did i?

    regardsDidito132 10:36, 7 March 2007 (UTC)[reply]

    The servers may be rejecting your request due to the user agent string of your request; try customizing it to something unique to your own mobile browser. --ais523 10:42, 7 March 2007 (UTC)
    ais523 is correct; the server has banned certain user agents, so you will have to change the user agent to something else (e.g. MyMobileBrowser/0.1). Jayden54 12:42, 7 March 2007 (UTC)[reply]
    Erm, try passing urlstr to new URL()? -SpuriousQ (talk) 10:43, 7 March 2007 (UTC)[reply]

    How do you Keep Track Of Changes/History?

    How do you keep history? I am curious about the feature which allows for people to be able to see the history of changes.

    What do wiki folks do regarding that? There can be two ways of doing this:

    1) store the ENTIRE article

    This is trivial and changes can be reflected easily but it is highly inefficient because you are storing tons of repeated data. So there has to be a better way ... maybe ...

    2) store the incremental changes?

    If you store the incremental changes how do you store these changes? How do you remember that a word in certain paragraph was modified? Is there an algorithm for this? Someone told me about "Levenshtein distance", is this used by wikipedia?

    would someone be kind enough to email a response to "atharshiraz" user id for a yahoo email account. Appreciate it! May wikipedia continue to grow and prosper.

    Pretty sure it keeps the full version of each revision, then uses a difference engine to tell you what changed in the diffs. --Golbez 21:35, 7 March 2007 (UTC)[reply]