Jump to content

User talk:Ale jrb/Archives/December 2011

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


Reverted edit

I attempted to update a page I have previously edited only to have my update reverted (twice). Got an email calling me "Some jerk on the Internet"

The Wikipedia page "User talk:BRoger61" has been changed on 1 December 2011 by Some jerk on the Internet, with the edit summary: Level 2 warning re. vandalism on Columbus Academy (GLOO)

See http://wiki.riteme.site/w/index.php?title=User_talk:BRoger61&diff=0&oldid=463554631 for all changes since your last visit. See http://wiki.riteme.site/wiki/User_talk:BRoger61 for the current revision.

What gives?

The edit was reverted using a tool I provide for monitoring changes to Wikipedia, but I was not involved in the edit. You should direct your concerns to User:Some jerk on the Internet. Ale_Jrbtalk 21:27, 1 December 2011 (UTC)

IGLOO

Why is this on your sub-page? Shouldn't it be on Wikipedia:?Greg Heffley 21:32, 2 December 2011 (UTC)

As it's my user script and I maintain it, I don't really see why. Anyone is free to put it anywhere and run it from there so long as all the license terms are followed. Ale_Jrbtalk 21:35, 2 December 2011 (UTC)

The Signpost: 05 December 2011

Igloo on Safari

Would you please update the browser check to accept Safari? I just "hacked" it by changing the user agent to Firefox and it ran fine. ~NerdyScienceDude 18:38, 10 December 2011 (UTC)

DOuble checked what he says and I can second it. --Kangaroopowah 18:48, 10 December 2011 (UTC)
I'll look into it. Ale_Jrbtalk 19:30, 10 December 2011 (UTC)
I've been doing that for quite a while... I seem to remember learning about that on this page. ~~ Hi878 (Come shout at me!) 22:38, 10 December 2011 (UTC)
This should now work as expected. Ale_Jrbtalk 11:48, 11 December 2011 (UTC)

The Signpost: 12 December 2011

Talkback

Hello, Ale jrb. You have new messages at User_talk:Ale_jrb/Scripts/igloo.
Message added 12:12, 14 December 2011 (UTC). You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

Osarius : T : C : Been CSD'd? 12:12, 14 December 2011 (UTC)

The Signpost: 19 December 2011

R.I.P. igloo

I am experiencing a fatal bug that makes igloo unusable. Every time I try to use igloo it showsu aun error and stops loading. igloo is a great anti-vandal tool but that bug "killed" igloo. A520 | Talk me away!/sign it! 09:17, 24 December 2011 (UTC)

Never mind, happily, igloo's working now. A520 | Talk me away!/sign it! 09:20, 24 December 2011 (UTC)

Igloo

Hey, I just got GLOO today and am pretty impressed. Now, I may have skipped the startup instructions just a little bit and have missed how to post a speedy deletion tag.... help? Mrlittleirish 10:37, 22 December 2011 (UTC)

Hey. Unfortunately, this isn't currently possible using igloo - it may be in the future, but not currently. Ale_Jrbtalk 11:34, 22 December 2011 (UTC)
Oh right, it's all good :). Thanks Mrlittleirish 21:57, 22 December 2011 (UTC)
I have the urge to test what I know about javascript in making a CSD tagger but I don't know if there's a special wa method for doing a call to the api. Is there and how would I use it? --Kangaroopowah 00:30, 23 December 2011 (UTC)
WP:TW can do CSD tagging very well, so you could consider installing that. If you feel like trying to make your own, for practise or some other need you have, you can call the API using standard AJAX. Alternatively, if you want to use waLib2.js (which is the library I use to call the API for igloo) you can call
wa(':api').get('queryid', 'pagename', numberofrevisions).wait(function() { /*run when finished*/ }).run();
and the results of the query are in an array
wa(':api').results['queryid']
. It's slightly more complicated than that, and there are some other things it simplifies, so if you choose to use it, you might want to read over the code (User:Ale jrb/Scripts/waLib2.js). Good luck either way! Ale_Jrbtalk 11:36, 23 December 2011 (UTC)
Thanks, but I had a few questions. What is the queryid, what exactly does number of revisions do and how exactly do I perform an action user waLib? Thanks, --Kangaroopowah 14:17, 24 December 2011 (UTC)

I figured out how to do an action but I still don't get what queryid means. Thanks, --Kangaroopowah 15:32, 24 December 2011 (UTC)

queryid is the id of the array element that will contain the result of the query. For queries that give important results, such as 'get'ting the text of a page, the result will be found in this array. You might need to examine the array using a debugger such as firebug to totally understand it. Ale_Jrbtalk 15:51, 24 December 2011 (UTC)
Oh, so its like
  • QUERY
  • , right? --16:18, 24 December 2011 (UTC)
    Er, not quite. Say you were trying to get the last 5 edits to this page. The relevant API query is this. If, in your Javascript, you called
    wa(':api').get('firstQuery', 'User_talk:Ale_jrb', 5).run ();
    then when the query had completed, the results (which will be the same as the earlier link) will be stored in the Javascript array
    wa(':api').results['firstQuery']
    - for example, the second most recent revision of the page would be
    var secondRecentRev = wa(':api').results['firstQuery']['query']['pages']['page']['revisions']['rev'][1]['#text'];
    If you run lots of queries at the same time, you can get results from each one by assigned them a different queryid, and the results won't overwrite each other. Ale_Jrbtalk 17:39, 24 December 2011 (UTC)

    The Signpost: 26 December 2011