More actions
→Bots and MediaWiki API: will drop note |
|||
Line 54: | Line 54: | ||
:We're breaking edit tokens and the like in the API right now. I already have a working action=rollback implementation supporting edit tokens, and am currently working on action=delete. Editing pages through the API shouldn't be far away. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 13:18, 24 June 2007 (CDT) | :We're breaking edit tokens and the like in the API right now. I already have a working action=rollback implementation supporting edit tokens, and am currently working on action=delete. Editing pages through the API shouldn't be far away. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 13:18, 24 June 2007 (CDT) | ||
::Cool, I'll update SimpleForms to work with the API when it's ready. Thanks ;-) --[[User:Nad|Nad]] 14:49, 24 June 2007 (CDT) | ::Cool, I'll update SimpleForms to work with the API when it's ready. Thanks ;-) --[[User:Nad|Nad]] 14:49, 24 June 2007 (CDT) | ||
:::I'll remember to drop you a note when it is. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 14:57, 24 June 2007 (CDT) |
Revision as of 19:57, 24 June 2007
I like the switch better....
Less templates. :-) Shane (T - C - E) 10:29, 23 May 2007 (CDT)
- The new solution makes sure everyone can set autoborders, rather than just the people who can edit Template:Flag (which should really be protected). --Catrope(Talk to me or e-mail me) 10:31, 23 May 2007 (CDT)
- Maybe, but if we had a template check... every page would be looking for it and it become a "requested template" under Wanted Pages. We are trying to reduce that list.. not expand it. :-) Shane (T - C - E) 10:33, 23 May 2007 (CDT)
- Template:Country alias is on top of Special:Wantedpages with 152 links, all resulting from pages using the {Cast,Crew,User} Data template while not specifying a nationality. Also, does it really matter? --Catrope(Talk to me or e-mail me) 10:39, 23 May 2007 (CDT)
- Maybe, but if we had a template check... every page would be looking for it and it become a "requested template" under Wanted Pages. We are trying to reduce that list.. not expand it. :-) Shane (T - C - E) 10:33, 23 May 2007 (CDT)
- Job queue is over 15k. I am running it right now. Shane (T - C - E) 10:51, 23 May 2007 (CDT)
- I saw the fix. What exactly is the job queue and what does it mean that it's over 15K? Also, in which way will hundreds of pages checking for Template:Country flag autoborder US and find it nonexistent hurt the system? --Catrope(Talk to me or e-mail me) 11:05, 23 May 2007 (CDT)
- I do not like them either... naybe not "white". Maybe another color.. Shane (T - C - E) 12:29, 23 May 2007 (CDT)
- Hmm, whatever you did to Template:Border just now messed up the borders for BEL again. --Catrope(Talk to me or e-mail me) 12:51, 23 May 2007 (CDT)
Shane, could you elaborate more on why you prefer the #switch over the templates? AFAIK, doing an #ifexists on a page doesn't get it into Special:Wantedpages. --Catrope(Talk to me or e-mail me) 12:34, 23 May 2007 (CDT)
- How do i turn off flag borders for me then? I dont think they look right and dont fit well with the rest of the wiki design. --Mercifull (Talk/Contribs) 02:58, 25 May 2007 (CDT)
- Instead of {{flag|BE}} (gives BEL), use {{country flag|BE}} (gives BEL). Shane somehow managed to mess up the BE border, but the DE and EST look fine to me.
Meanwhile, I'll try to fix the BE border.Fixed. --Catrope(Talk to me or e-mail me) 06:27, 25 May 2007 (CDT)- That wont stop borders from appearing all over the place tho will it? How do i remove the horrible border from the german flag on the front page? It looks ugly. --Mercifull (Talk/Contribs) 08:11, 25 May 2007 (CDT)
- If your uglyness complaint was about the DE flag not lining up with the rest of the flags, that's fixed now. It's an ugly, temporary fix, though (I simply moved it down by 5px), but it's the best we've got going so far. AFAIK you're our CSS guru, so maybe if you take a look at Template:Border you'll come up with something better. You can use User:Catrope/Template:Border and User:Catrope/Testing Template for testing, if you want to. If you just find the borders ugly in themselves, you can always remove them using the procedure I outlined above. The flags for the Main Page are at Template:International inline. --Catrope(Talk to me or e-mail me) 09:24, 25 May 2007 (CDT)
- That wont stop borders from appearing all over the place tho will it? How do i remove the horrible border from the german flag on the front page? It looks ugly. --Mercifull (Talk/Contribs) 08:11, 25 May 2007 (CDT)
- Instead of {{flag|BE}} (gives BEL), use {{country flag|BE}} (gives BEL). Shane somehow managed to mess up the BE border, but the DE and EST look fine to me.
collapsible tables
Hi Catrope,
Thank you for the code. I ran into a few subtle bugs when I tried to fix the nesting of those table a couple of months ago. I'm about to go to Switzerland for a few days but I'll review and implement you fix when I get back. Cheers, Ruud Koot 13:13, 7 June 2007 (CDT)
- No problem. Have fun in Switzerland. --Catrope(Talk to me or e-mail me) 13:15, 7 June 2007 (CDT)
Welcome to the Order of the Sponge
Catrope, you've easily demonstrated your abilities and skills, so I've granted you page-move ability to use as necessary. --Spencerian 08:14, 8 June 2007 (CDT)
- Thanks. --Catrope(Talk to me or e-mail me) 16:26, 10 June 2007 (CDT)
Troyan userpage
I've added a new "essay" to my user page. If you want to archive the previous version of my user page, go right ahead. -- Troyian 03:05, 10 June 2007 (CDT)
- Done. --Catrope(Talk to me or e-mail me) 16:26, 10 June 2007 (CDT)
Indexing...
I am getting a bot that going to do all the archiving. I am getting the source code for it now. :D Shane (T - C - E) 14:16, 11 June 2007 (CDT)
- Oh, that'd be nice. I liked doing it nonetheless. BTW, I think I've archived pretty much everything by now, the largest non-archived page being User talk:Peter Farago ;) --Catrope(Talk to me or e-mail me) 14:18, 11 June 2007 (CDT)
- Also, you might wanna know the MediaWiki folks are working on a better API so bots won't have to dig through HTML responses any more. It's not finished yet, but when it is, it'll make a bot programmer's life a lot easier. I'm intending to write a bot that uses the new API (after I've helped finishing the API itself, of course), and your ArchiveBot just gave me an idea for another feature ;) --Catrope(Talk to me or e-mail me) 14:41, 11 June 2007 (CDT)
The bot, when it created an archive message add a template to the top of the page, right now I wanted to remove the fields so it's just plain. They will be added back once I can figure out why (also) it's not working correctly and how to code Phyton. :) Shane (T - C - E) 21:34, 14 June 2007 (CDT)
- When start and end aren't specified, they don't break anything, do they? Then why not leave them in. --Catrope(Talk to me or e-mail me) 05:43, 15 June 2007 (CDT)
- I see they're back, thanks for that. --Catrope(Talk to me or e-mail me) 16:00, 16 June 2007 (CDT)
Bots and MediaWiki API
I saw your comments regarding edit tokens at MW:API and thought you may be interested in the SimpleForms extension which already has the ability to update and create articles from the HTTP request parameters. It doesn't implement edit tokens yet, but does allow you to lock it down so that requests are only allowed from the localhost which means your server-side scripts can update articles and is much easier to implement than a bot. If you prefer bots we have some Perl code for accessing wikis at http://www.organicdesign.co.nz/wiki.pl and there are libs like PyWikiBot. See also Wikipedia:Creating a bot. --Nad 21:28, 23 June 2007 (CDT)
- We're breaking edit tokens and the like in the API right now. I already have a working action=rollback implementation supporting edit tokens, and am currently working on action=delete. Editing pages through the API shouldn't be far away. --Catrope(Talk to me or e-mail me) 13:18, 24 June 2007 (CDT)
- Cool, I'll update SimpleForms to work with the API when it's ready. Thanks ;-) --Nad 14:49, 24 June 2007 (CDT)
- I'll remember to drop you a note when it is. --Catrope(Talk to me or e-mail me) 14:57, 24 June 2007 (CDT)
- Cool, I'll update SimpleForms to work with the API when it's ready. Thanks ;-) --Nad 14:49, 24 June 2007 (CDT)