Jump to content

User talk:Sam Hocevar/archive3

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Shock Sites

[edit]

I saw your comment about the Shock Site page needing to be expanded but no one is able to. Every bit of information that is added is repeatedly deleted by the same administrator over and over again. He originally voted to have the entire page deleted. Shock Sites like Meatspin need your help. Please sign this Wikipedia:Requests_for_comment/Mangojuice Ciper 16:46, 28 February 2007 (UTC)[reply]

Good Laugh!

[edit]

I love the new "to hell with userboxes" item. Do you mind if I use it on my page too? --Depakote 06:45, 23 January 2006 (UTC)[reply]

Feel free to do so. Sam Hocevar 08:47, 23 January 2006 (UTC)[reply]

Another godmode light

[edit]

This looks like a great tool, but I'm having a problem. When I click rollback, I get this message:

Please wait, reverting edits by undefined... Getting article history (/w/index.php?title=Awesome&action=history&limit=50)... Error: Last editor is 24.92.249.34, not undefined!

I'm using Firefox 1.5 Thanks Liamdaly620 01:06, 24 January 2006 (UTC)[reply]

Rollback

[edit]

I copied the rollback java script onto the relevant page ( I am M Johnson) but it comes up all funny on mine when I've copied exactly the same thing. Can you help, because I can't program computers in a fit. I'd prefer it if you reply on my talk page. Thanks--M W Johnson 13:30, 29 January 2006 (UTC)[reply]

Rollback

[edit]

Never mind, now it works. -- King of Hearts | (talk) 05:48, 31 January 2006 (UTC)[reply]

monobook

[edit]

I am trying to get a "vandalism" link next to rollback so that I can choose two different edit summaries rapidly. So far, my vandalism link works, but it only appears on the contribs pages, not the diff pages. I am a sysop, so I think that might be interferening. How can I change my moonobook code to do this?Voice of AllT|@|ESP 02:06, 2 February 2006 (UTC)[reply]

[Encephalon&token=a39d37237b45ed6ed046f90d1a96308a">rollback]

Hey Sam,

You've been deluged with concerns about godmode-l and the above bug; don't wish to add to the incessant chorus, but I thought I'd just note here some observations that may help you fix the bug when you get around to it.

So this is what happens:

  1. On any Special:Contributions/XYZ page, the above type of link appears where before a [rollback] appeared. Using Special:Contributions/Encephalon as an example, we have
  2. On the diff page for that edit, we have the normal rollback button
  3. The rollback button on the diff page works (see [1]); the botched link on the Contribs page doesn't (we get the message Please wait, reverting edits by title=... Bad authentication token!).

Now, there is one person's Contribs page that is unaffected (ie. when I load that contribs page, the rollback links are normal). Yours.

  1. For example, we have
  2. On the diff page

I haven't tested them, of course, but there's no reason they shouldn't both work. I'm not sure why this is—other admin contrib pages are affected, for example—but there you go. I suspect the problem lies somewhere in the following bit of script, but I'm not expert enough to figure out where. ENCEPHALON 00:57, 7 February 2006 (UTC)[reply]

function AddRevertButtons() {
  var l, article = '', vandal;
  // Add 'revert' links to a diff page
  l = document.getElementById('bodyContent').getElementsByTagName('td');
  for (i = 0; i < l.length; i++) {
    if (l[i].className == 'diff-otitle') {
      article = l[i].getElementsByTagName('a')[0].href.split('&')[0].replace(/[^\/]*\/\/[^\/]*/, '');
    } else if (l[i].className == 'diff-ntitle') {
      var toplink = l[i].getElementsByTagName('a')[0].href;
      vandal = l[i].getElementsByTagName('a')[1].title.split(':')[1];
      var t = l[i].innerHTML
      n = t.indexOf('</a>) <br') + t.indexOf('</A>) <BR') + 1; // XXX: WOW HACK!!!!
      if (n >= 0 && article != '' && toplink.indexOf('oldid=') == -1) {
        l[i].innerHTML = t.substring(0, n + 5) + '    <strong>[<a href="' + article + '&fakeaction=rollback&vandal=' + vandal + '&token=' + hex_md5(article + vandal + document.cookie) + '">' + rollbacklink + '</a>]</strong> ' + t.substring(n + 5, t.length);
      }
    }
  }
  // Add 'revert' links to a contributions page
  if (location.href.indexOf(':Contributions') != -1) {
    var c = document.getElementById('contentSub');
    var a = c.getElementsByTagName('a');
    if (a.length == 2) {
      vandal = a[0].innerHTML;
    } else {
      vandal = c.innerHTML.replace(/ \(.*/, '').replace(/.* /, '');
    }
    l = document.getElementById('bodyContent').getElementsByTagName('li');
    for (i = 0; i < l.length; i++) {
      var t = l[i].innerHTML
      // If we are already a sysop on this wiki, abort
      if (t.indexOf('>' + rollbacklink + '</a>]') != -1)
          break;
      //if (t.indexOf('&diff=0') != -1) {
      if (t.indexOf('<strong> (') != -1) {
        article = l[i].getElementsByTagName('a')[0].href.split('&')[0].replace(/[^\/]*\/\/[^\/]*/, '');
        l[i].innerHTML += ' [<a href="' + article + '&fakeaction=rollback&vandal=' + vandal + '&token=' + hex_md5(article + vandal + document.cookie) + '">' + rollbacklink + '</a>]';
      }
    }
  }
}

The rollback link that appears on Special contribs is specified by:

l[i].innerHTML += ' [<a href="' + article + '&fakeaction=rollback&vandal=' + vandal + '&token=' + hex_md5(article + vandal + document.cookie) + '">' + rollbacklink + '</a>]';

Compare the broken link from my contribs page:

[Encephalon&token=a39d37237b45ed6ed046f90d1a96308a">rollback], where the link is
http://wiki.riteme.site/w/index.php?title=User_talk:Encephalon&fakeaction=rollback&vandal=title=

with an unbroken rollback link from your contribs page:

http://wiki.riteme.site/w/index.php?title=Wikipedia:Articles_for_deletion/LS_Studio&fakeaction=rollback&vandal=Hocevar%3C/a%3E&token=b8e68b80a50ecdd63f2586c2275e6968

There is an extra element, title=, in the broken link. I think the way + vandal + is specified may be at issue? Just a guess, of course — I'm a complete non-expert here. Anyway, hope this helps. Regards ENCEPHALON 00:57, 7 February 2006 (UTC)[reply]


UPDATE I've found other special contributions pages that render the rollback button properly: Jimbo Wales and anons (IPs). I also thought I'd let you know about my browsers. The problem is present in Firefox 1.5 and 1.0.7. IN IE 6, no rollback button can be seen on any contributions page; however they are visible on diff pages. OS Windows XP Professional SP2. ENCEPHALON 16:02, 8 February 2006 (UTC)[reply]

  • I've found that even when the contributions page appears normally, I get an error when I try to rollback. I don't remember what it was but it was something like, "Last editor was vandal's name not Talk". As you said, I have no problem when rolling back from the "diff" page.--Bill 17:11, 8 February 2006 (UTC)[reply]
Having the user contib problem and the user-name not Talk problems. Just thought I'd let you know. Hexagon1 10:14, 13 February 2006 (UTC)[reply]

Godmode-Light

[edit]

Could you help me? I am having trouble installing godmode-light.js. What is the exact procedure to be able to use it. David618 04:16, 18 February 2006 (UTC)[reply]

Never mind. I have it. Thank you. David618 22:12, 21 February 2006 (UTC)[reply]

I wrote that prematurely. The rollback button appears but I can not rollback. When I check, it says that the error is accuring on line 230 character 3 and the object doesn't support this property or method. David618 03:53, 22 February 2006 (UTC)[reply]

Littl

[edit]

maybe you have a look at

godmode-light problem

[edit]

Hello Sam, I am trying to use the godmode-light script, but I am running into problems. These have been mentioned in your talk page, but none of the questions were properly answered, and I was hoping mine would be different :). Every time I click the rollback link, it says: Failed to parse XML data returned by the server. Hint: try to disable both "Enable section editing by right-clicking on section titles (JavaScript)" and "Edit pages on double click (JavaScript)" in your editing preferences until a proper fix is found.

Both of those settings are disabled, so what else could be causing it? Thanks --Deemo 00:44, 23 February 2006 (UTC)[reply]

Are you running IE?Voice-of-AllT|@|ESP 06:54, 3 March 2006 (UTC)[reply]
It returns the same thing on IE and FF --Deemo 14:35, 15 March 2006 (UTC)[reply]

godmode lite fix

[edit]

Recently reported problem "vandal=Talk" seems to be caused by the line

if (a.length == 2) {

in function AddRevertButtons() with the links on contribution page. Replacing 2 by 3 seems solving the problem. Firefox 1.5.0.1. Good luck --tasc 13:22, 25 February 2006 (UTC)[reply]

This solution worked visually for me, and I no longer get the long string of text on the contribs page. Unfortunately, rolling back from the contribs page still doesn't work, as I get a "Bad authentication token!" error when I try. - dharmabum 01:35, 9 March 2006 (UTC)[reply]
Hm, are you sure that link looks similar to the one on the diff page? if so, maybe the reason is hash calculator. but it too complicated for me. I've never had this problem btw. --tasc 07:48, 9 March 2006 (UTC)[reply]

You're a Slovene!

[edit]

But you are! You are. In the face of "Nationality: French" you are still a Slovene. :D

Ahem. Nothing but a question of personal interest. Thank you for working on Wikipedia.

The Slovenes are good people here. Pay a visit to their Wikipedia one day. --VKokielov 05:49, 27 February 2006 (UTC)[reply]

Curious about godmode.js

[edit]

What functions does this unreleased version of everyone's favorite tool contain? I dare not imagine what could be so devistating to prevent you from releasing it. Thanks for helping treat my case of curiosity. :-) --ZsinjTalk 18:31, 4 March 2006 (UTC)[reply]

Strange effects of godmode-light.js

[edit]

A friendly administrator of fr:Wikipedia helped me install the godmode-light.js a couple of days ago.

Of course, he used the latest version

It seemed to work fine, but today somebody came up to my Talk page to complain about this revert that had extremely strange effets.

Weird, uh? I clicked to revert this and the page is completely screwed up, apparently because the godmode replaced "<" and ">" with strange codes.

My friend advises me to replace the code on my monobook with this:

document.write('<SCRIPT SRC="http://sam.zoy.org/wikipedia/godmode-light.js"><\/SCRIPT>');

but I do not see why it would produce anything else.

Any idea what could have happened? I suggest you reply, if you want to, on my talk page on the french wiki, as I do not come that often to en:Wikipedia : http://fr.wikipedia.org/wiki/Discussion_Utilisateur:Alex_lbh

Thanks. Alex lbh 21:17, 6 March 2006 (UTC)[reply]

burninhell

[edit]

Userbox Of The Year. I wear it with pride. under my, er, userboxes. - David Gerard 19:15, 8 March 2006 (UTC)[reply]

Me too!! Congrats! I got it over User:Elian Btw: I've improved the style a bit, by me it has appered in 5 lines, and I think that was not your intention (or for ironic wittiness? :-p). --Olliminatore 14:44, 11 March 2006 (UTC) witzig[reply]

And furthermore..

[edit]
The Barnstar of Good Humor
I, Cormaggio think that the use of "hovercar on wheels" is inappropriate and just plain wrong. Cormaggio @ 14:52, 9 March 2006 (UTC)[reply]

Chess tournament

[edit]

Are you still interested? If so, you will be playing Raul654, and message him to set up the page if you are. Thanks! Elle vécut heureuse à jamais (Be eudaimonic!) 20:19, 12 March 2006 (UTC)[reply]

IP vandal diffs - "Last editor is ... not Contributions"

[edit]

The diff page makes the link so that the vandal's name is "contributions", so it says that he was not the last editor.Voice-of-AllT|@|ESP 20:24, 16 March 2006 (UTC)[reply]

By switching the rollbacklink href parameters into an if/else, I fixed the bug.Voice-of-AllT|@|ESP 22:41, 16 March 2006 (UTC)[reply]

I've also run into this problem, but haven't cured it. On a "dif" page where the vandal is identified by IP address, the rollback link has a URL with "fakeaction=rollback&vandal=Contributions" in it rather than the IP address. This leads to the message "Last editor is 169.244.70.146, not Contributions".

Since I use the reference (SCRIPT SRC="http://sam.zoy.org/wikipedia/godmode-light.js", which I must use because the direct form doesn't seem to work for me), I can't change the code of the script, which I guess is what Voice_of_All did. This is on Firefox 1.0.5; on IE 6.0, the bad URL is the same, but the ultimate expression is different ("Error on page - Object does not support this property or method") -R. S. Shaw 21:29, 17 March 2006 (UTC)[reply]

I've fixed the "Contributions" bug in my customized version by changing ".href" to ".text" where it gets the vandal name. I can't get the script to work in IE6 though; something about how the ActiveX XMLHTTP object is being used is breaking it. --Tifego 01:01, 19 March 2006 (UTC)[reply]
Then you and I both have solutions to the problem. IE6 is crap dont bother, get Netscape 8.1.Voice-of-AllT|@|ESP 01:22, 19 March 2006 (UTC)[reply]
Hmm... Netscape 8.1 seems to have all the same problems as Firefox. It fails my "find must work in editboxes" criteria, at least. It must be possible to get this to work in IE6, considering how something crazy like Lupin's popups works fine in it. --Tifego 01:44, 19 March 2006 (UTC)[reply]
Have this same problem in IE6, could you take the fix from VoA or whoever has it and update it at sam.zoy.org? For us what use the direct link, like, it's really frustrating! haz (user talk) 16:58, 6 May 2006
For me it works all, I've also an modified multilangual version (fix and test from de:). You can test it!? --Olliminatore 17:34, 6 May 2006 (UTC)[reply]

I've 2 fixes: 1. Ampersand in the title (added function parseXMLfix() 2. [2]. IE6 don't work for me too. —Olliminatore 19:25, 8 May 2006 (UTC)[reply]

The (XML) DOM parsing for IE(6) is now fixed too. --Olliminatore 11:47, 4 June 2006 (UTC)[reply]

Survey

[edit]

I am conducting a survey on Wikipedia and would like to invite you to participate in the study. I've posted a message on wikien-l, but here is the link again in case you are not subscribed to that list-serv. Thanks a lot for your time! --Mermes 01:59, 4 April 2006 (UTC)[reply]

Les couleurs sont nulles,

[edit]

le slogan idiot, mais j'ai pensé que ça te ferait sourire l'espace d'une seconde. ici. Bisous notafish }<';> 09:24, 15 April 2006 (UTC)[reply]

List of casualties of the U.S. invasion of Afghanistan listed for deletion

[edit]
An article that you have been involved in editing, List of casualties of the U.S. invasion of Afghanistan, has been listed at Wikipedia:Articles for deletion/List of casualties of the U.S. invasion of Afghanistan. Please look there to see why this is, if you are interested in it not being deleted. Thank you.

Long talk page

[edit]

Greetings! Your talk page is getting a bit long in the tooth - please consider archiving your talk page (or ask me and I'll archive it for you). Cheers! BD2412 T 00:34, 17 June 2006 (UTC)[reply]

Re:Wikimania

[edit]

Dear Sam, likewise, I was especially looking forward to you and your good humour at Wikimania - it just won't be the same without you :-(. And double snap, I'm up to the tips of my head curls in academic writing, probably to be thrown into chaos after a ton more of ideas and conversations I will be part of along the way. Well, hoping the next one is in Europe (or at least non-US), we should meet again then. Or perhaps the pan-European chapter meeting that I think Delphine is planning? In any case, keep well, and all the best with your PhD. Cormaggio @ 16:27, 15 July 2006 (UTC)[reply]


Happy Birthday!

[edit]
The Wikipedia Birthday Committee wishes you a very happy birthday! Enjoy your special day.

Jrcog@Insert something here 02:05, 5 August 2006 (UTC)[reply]

What drama?

[edit]

See topic -- Tawker 15:09, 28 November 2006 (UTC)[reply]

Excuse Me

[edit]

"rm del article" is a bad faith edit now. The article was deleted, I removed the link. Please read WP:AGF -- Tawker 00:07, 30 November 2006 (UTC)[reply]

WTFPL

[edit]

What a strange coincidence. The current poll on /. is about open source licenses, and someone posted in the comments a list to WTFPL. I go read it ... and heyyyyyy, doesn't that "Sam Hocevar" fellow sound familiar? --Cyde Weys 18:31, 5 December 2006 (UTC)[reply]

Crusade

[edit]

On Timecop's talk page Prodego asked you Can you show me why think he is on such a "crusade"? refering to your comments about me being on a crusade. I would hate to think that I have acted improperly, I do not think I have, but regarless I would like your answer to Prodego's question.

Why do you think I was on a Crusade? HighInBC (Need help? Ask me) 16:12, 8 December 2006 (UTC)[reply]


A request for assistance

[edit]

Would you support the concept of moving the Earhart "myths" to a separate page or article? The reason for my suggesting this is that the main article should be an accurate and scholarly work while the speculation and conspiracy theories surrounding the disappearance of Amelia Earhart are interesting, they belong in a unique section. Most researchers, as you know, discount the many theories and speculation that has arisen in the years following her last flight. Go onto the Earhart discussion page and register your vote/comments...and a Happy New Year to you as well. Bzuk 02:50 3 January 2007 (UTC).

WikiProject France

[edit]

Hello! We are a group of editors working to improve the quality of France related articles. You look like someone who might be interested in joining us in the France WikiProject and so I thought I'd drop you a line and invite you! We'd love to have you in our project :-) STTW (talk) 21:15, 14 January 2007 (UTC)[reply]

The full Godmode script

[edit]

Currently, you only have godmode-light available for use. However, I noticed on your website that you use another script known as Godmode, which has more features and is more powerful than godmode-light; your site also says that you won't let other people use it because of its potential for vandalism.

I am asking you to reconsider and allow anyone to use the script. The thing is, the vast majority of vandals don't even know that these scripts exist. Most vandals are simply experimenting, careless, or at least undedicated. The vandals who actually make a goal of harming Wikipedia, and use advanced JavaScript for that purpose, are by far the minority.

Also, the current godmode-light script doesn't offer anything new. Twinkle, a script available from WikiProject User Scripts and written by AzaToth, has all the features of godmode-light, but with more flexibility and many more features. If your Godmode script can do more than this script, it's worth letting us use it to better counter vandalism. Pyrospirit Flames Fire 15:14, 9 April 2007 (UTC)[reply]

contribs link?

[edit]

My username may translate to "Great mind", but I have no idea how to write a script. I want a script similar to übergodmode, but instead of a "block this user" button, I want a hyperlink to the user's edit count and contribs. Do you have any advice for me on how to modify the source of übergodmode to display the aforementioned hyperlinks? ~ Magnus animum (aka Steptrip) 22:28, 20 April 2007 (UTC)[reply]

Script issue

[edit]

I'm getting this error:

William II, German Emperor
Please wait, reverting edits by Talk...
Getting article history (/w/index.php?title=William_II%2C_German_Emperor&action=history&limit=50)...
Error: Last editor is 216.186.52.136, not Talk!

I removed popups but no luck. I used the variation no luck. Just thought I'd let you know, Razorclaw 21:26, 10 May 2007 (UTC)[reply]

AfD nomination of Murloc

[edit]

An editor has nominated Murloc, an article on which you have worked or that you created, for deletion. We appreciate your contributions, but the nominator doesn't believe that the article satisfies Wikipedia's criteria for inclusion and has explained why in his/her nomination (see also "What Wikipedia is not"). Your opinions on whether the article meets inclusion criteria and what should be done with the article are welcome; please participate in the discussion by adding your comments at Wikipedia:Articles for deletion/Murloc and please be sure to sign your comments with four tildes (~~~~). You may also edit the article during the discussion to improve it but should not remove the articles for deletion template from the top of the article; such removal will not end the deletion debate. Thank you. - Tiswas(t) 13:53, 8 June 2007 (UTC)[reply]

Killamarsh

[edit]

Hi Sam, a long time ago you put up version 1 of Killamarsh. It still says there were 8000 residents in 1086 ... is there a ref for this? Victuallers 22:15, 18 June 2007 (UTC)[reply]

Wowser

[edit]

Nice land with the new job there, Sam. Hope Lenny goes well, as I hope you do too :) --Alf melmac 19:04, 8 July 2007 (UTC)[reply]

Rémy Card

[edit]

A {{prod}} template has been added to the article Rémy Card, suggesting that it be deleted according to the proposed deletion process. All contributions are appreciated, but this article may not satisfy Wikipedia's criteria for inclusion, and the deletion notice explains why (see also "What Wikipedia is not" and Wikipedia's deletion policy). You may contest the proposed deletion by removing the {{dated prod}} notice, but please explain why you disagree with the proposed deletion in your edit summary or on its talk page. Also, please consider improving the article to address the issues raised. Even though removing the deletion notice will prevent deletion through the proposed deletion process, the article may still be deleted if it matches any of the speedy deletion criteria or it can be sent to Articles for Deletion, where it may be deleted if consensus to delete is reached. If you endorse deletion of the article, and you are the only person who has made substantial edits to the page, please tag it with {{db-author}}. mms 16:44, 23 July 2007 (UTC)[reply]