[00:36:45] Are the number of page watchers a wg variable on each page or do I have to q api for that info? [00:36:55] * Technical_13 goes to check.... [00:38:19] I see an "isPageWatched" but no "wgWatchers"... :( [01:00:06] anyone who understand norwegian and or english hopefully both ? here ? [01:30:36] Technical_13: you can only get it from action=info. I think there's a patch somewhere to expose it in the API but i'm not sure if it was ever merged [01:30:47] oh, it was [01:30:49] https://gerrit.wikimedia.org/r/#/c/45366/ [01:34:44] legoktm: //en.wikipedia.org/w/api.php?action=query&prop=info&format=json&inprop=watchers&titles=User%3ATechnical_13 [01:34:52] yup :) [01:34:53] legoktm: https://en.wikipedia.org/w/api.php?action=query&prop=info&format=json&inprop=watchers&titles=User%3ATechnical_13 [01:36:24] legoktm: How do I pull watchers out of there? { "query": { "normalized": [ { "from": "User:Technical_13", "to": "User:Technical 13" } ], "pages": { "31585419": { "pageid": 31585419, "ns": 2, "title": "User:Technical 13", "contentmodel": "wikitext", "pagelanguage": "en", "touched": "2013-08-24T01:30:31Z", "lastrevid": 569930309, "counter": "", "length": 13201, "watchers": 51 } } } } [01:36:55] $.ajax({ url: '//en.wikipedia.org/w/api.php?action=query&prop=info&format=json&inprop=watchers&titles=User%3ATechnical_13', dataType: 'jsonp', success:function(result){ var pageWatchers = result.query.pages.31585419.watchers; pageWatchers = pageWatchers.toString(); alert(pageWatchers); } }); [01:37:03] gives me a missing ; error [01:37:11] use the mw.api function [01:37:30] https://www.mediawiki.org/wiki/ResourceLoader/Default_modules#mw.Api.23get [01:43:10] legoktm: I'm afaid I don't get it... I'll play with it more later... [01:43:16] ok [01:43:26] Feel free to hang out in the new #wikimedia-API channel... :) [14:03:08] Does anyone know who is working on translation type efforts for Wikimedia projects? [14:04:08] LauraHale: what do you mean, exactly? [14:04:32] LauraHale: translatewiki is managed primarily by siebrand, nikerabbit and raymond [14:08:57] MatmaRex: Some people were talking about creating new models for translating [14:10:19] Hence, looking for a potential developer who is trying to create say new translation tool for Wikipedia. I know on Wikimedia-l at some point some one talked about trying to test out a human machine driven autotranslate tool. [14:59:21] sorry LauraHale, i had to dispappear for a while [14:59:30] new "models"? [14:59:31] No worries [14:59:51] also, translatewiki already provides machine translations as suggestions [15:00:28] Is that only for one project? How would that work across a multilanguage project? [15:00:43] "project"? [15:00:57] i don't know where this is implemented, maybe it works everywhere where the Translate extension is used [15:05:44] I am looking to see if we could get a translation project trialed between say two Wikinews projects. [15:06:18] To facilitate news translation across projects. [15:49:14] LauraHale: I believe the language engineering team is experimenting with something along those lines. You should find and poke Runa (arbee on IRC) or siebrand [16:20:50] I know they were talking about it for Wikipedia, but had not heard about any other possible projects for use [17:49:04] ^d: around? [17:49:20] ^d: is it possible that a username/password set would work on wikitech wiki, but not on gerrit? [17:50:00] because my friend claims that's what happens for him [17:59:04] <^d> MatmaRex: That's...weird... [17:59:09] <^d> And shouldn't happen. [17:59:45] let me get him in here [18:00:26] ^d: gerrit nick is "Zielmicha" [18:01:33] * ^d sighs [18:01:53] <^d> Here I was hoping to just deploy some code and break test2wiki in terrible ways. [18:02:01] "D [18:02:02] :D [18:17:31] Maeby: I remember having trouble with "Helder.wiki" vs "helderwiki" when I started to use gerrit and wikitech... [18:17:35] MatmaRex: ^ [18:18:13] helderwiki: hm, that bug only has [a-zA-Z] in his nick, though. [18:19:07] BTW, about the bug 53132, do you know if Echo is using a regex to deal with the namespaces? [18:19:51] maybe it is relevant to check also that the possible names are appropriatelly regex-escaped, since ptwiki has "(a)" in some of the names [18:20:03] MatmaRex: ^ [18:20:17] helderwiki: i think no, looks like it's only using simple string functions [18:20:31] but i didn't delve in deep [18:20:55] and thanks for further investigating the code :-) [18:21:24] affects my wiki as well [18:21:32] and me in particular, since i happen to have User: in my sig [18:22:14] yeah... it was kind of frustrating to see everyone sending notifications on ptwiki, ... [18:22:40] (I was using "User" too, MatmaRex ) [19:15:09] LauraHale: the WMF is working on that [19:16:05] LauraHale: https://www.mediawiki.org/wiki/Content_translation and please volunteer at https://docs.google.com/forms/d/1yCvPS65eWk9S8uXkksAbDbLsbZQd0ISQKBDFfJnSSo0/viewform [19:18:04] Nemo_bis: All the discussion I have seen has been Wikipedia focused. [19:18:17] And no trials anywhere, nor any indication of local support for this. [19:19:38] I hate my internet [19:21:24] In any case, I know there was some one on wikimedia-l who appeared to be a developer looking at doing something allowing easier translation type stuff between projects [19:46:53] we received a request to delete this page: https://en.wikipedia.org/wiki/User:HopeIn3Minutes/List_of_protest_songs (with 5,000+ revisions) [19:46:57] am I allowed to delete it? [19:47:16] it has 3397 revisions according to https://toolserver.org/~vvv/revcounter.php?wiki=enwiki_p&title=User%3AHopeIn3Minutes%2FList+of+protest+songs [19:58:09] hello? [19:59:35] Trijnstel: Just go ahead [20:08:20] Trijnstel: What happened to the enwiki admins? :P [20:08:45] Bsadowski1: why? [20:09:13] "This page's edit history exceeds 5,000 revisions. To prevent accidental disruption, its deletion is restricted to stewards. Please contact one for assistance." [20:09:19] that's what they'll get ;) [20:12:25] yeah, but in reality it had 3397 revisions... strange, but ok [20:12:29] anyway, page is deleted [20:12:30] thnx hoo [20:13:28] do we have a bug about that strange revision counting behaviour of MediaWiki? [20:13:44] Trijnstel: action=info should give you proper revision counts ;) You're welcome, btw [20:14:19] [22:13] hoo do we have a bug about that strange revision counting behaviour of MediaWiki? <- I don't know; if you find one, please also CC me [20:14:37] [22:13] hoo Trijnstel: action=info should give you proper revision countsYou're welcome, btw <- and thnx [20:42:02] LauraHale: there are prototypes and trials [20:43:07] yes it's Wikipedia centric but your feedback would be useful even if Wikinews-specific [21:13:48] If I could get a hold of a developer who might want to trial something, it would be very much appreciated. [21:15:49] LauraHale: what do you have in mind? [21:29:38] ori-l: We need more real time translation stuff sort of. [21:30:27] Compatibility wise, it might be nice to say demo between English Wikinews and Spanish Wikinews where review standards are the most compatible. [21:31:05] but not certain how to implement but would like to see what developers have in mind [21:33:51] Night [21:35:44] oops [21:35:46] oh well [21:36:16] ori-l: ftr, the language engineering team is working exactly on the same thing that LauraHale asked about [21:38:28] I think quiddity might be interested to know that [21:38:54] I don't really have details, though. I know that Pau had a prototype up somewhere, I can dig to see where it is [21:41:08] YuviPanda, nemo linked it earlier: https://www.mediawiki.org/wiki/Content_translation which leads to http://pauginer.github.io/prototype-translate/content-translation.html#mies-nl [21:41:19] bringo, that was the one I was looking for :) [21:41:25] ori-l: ^ [21:41:29] quiddity knows more than me now :) [21:41:52] well, my interest was just in replying to LauraHale, and she's gone now, so... :P [21:41:53] locations only! not details (yet) ;) [21:42:52] and I just wanted to nag her to be more specific and less abstract. "we" "more" "stuff". gah! [21:44:43] well, reasonably enough nothing from WMF will come to Wikinews soon, only a year at least after Wikipedia [21:45:03] but it's even more unlikely that someone will volunteer to make something else [22:00:00] poor stunted second cousins :( [22:18:19] Is there anyway to pass a command to http://meta.wikimedia.org/w/index.php?title=Special%3ACentralAuth&target=Technical+13 to make it sort the table on load or to hide wikis with 0 edits? [22:27:36] bugzilla.wikimedia.org is not wikimedia project? [22:27:58] T13: It is, but it's not a wiki ;) [22:28:27] and no, there's no way, you would have to write a user script or use a toolserver/ Tool Labs tool [22:28:54] I was asking because ":26] <+Danny_B> also, bugzilla is not wikimedia project" [22:29:19] bugzilla is mozilla's project [22:29:29] wikimedia is just a user of bugzilla [22:29:51] it's same like you would say wordpress is wikimedia project just because we use it for blog [22:29:55] Oh, that you mean... our bugzilla is our project, IMO [22:29:59] same for etherpad, otrs and other stufff [22:30:00] bugzilla is just the software... [22:30:25] bugzilla.wikimedia.org is hosted on wikimedia's servers and is a wikimedia project. [22:30:52] at least that is my understanding [22:31:06] I agree [22:31:19] yes, and apis belong to software not to project if you name it this way [22:31:30] so bugzilla as a software has an api [22:31:42] not bugzilla as a wikimedia instance [22:31:49] of bugzilla software [22:31:50] Danny_B: and I are discussing if the wikimedia's API channel should be #wikimedia-API or #mediawiki-API [22:32:34] oh god not anoyther channel! [22:32:38] I think that since wikimedia is hosting multiple softwares with an API, it should be #wikimedia-API [22:32:50] Yes, YuviPanda, yes... [22:32:52] it can be -tech, or -dev, y'know [22:33:04] or, errm, #mediawiki [22:33:15] what is an api channel even? :P [22:33:27] an empty channel that you hope people go to but nobody actually does? :) [22:33:27] I wouldn't be opposed to both channels forwarding to here or -dev [22:33:34] #mediawiki-api exists since back 2007 [22:33:40] when api started [22:33:41] #mediawiki-api [22:33:44] oh wait [22:33:59] only slightly less empty than I thought :P [22:34:05] and when I checked it out the other day, it hadn't been used since 2010 and only Chanserv was in there. [22:34:25] indeed. surely #wikimedia-api won't do any better. [22:35:00] I [22:35:09] I'm hoping it will YuviPanda [22:35:18] why should it? [22:35:26] I've got wm-bot in there with answers to many questions. [22:35:39] Well, at least a start of answer to many questions. [22:36:01] so if there are no humans there, they can at least get a general pointer to what they want. [22:37:39] !bzapi [22:37:39] https://bugzilla.wikimedia.org/docs/en/html/api/Bugzilla/WebService/Server/JSONRPC.html [22:37:55] ^^ those types of things. [22:37:57] wm-bot is on many channels [22:38:01] like here [22:38:04] ;-) [22:38:19] Yep, and is configured differently for everyone [23:51:04] Can anyone help me figure out why I'm getting a "document.userPage is undefined" error with http://jsfiddle.net/2kmww/ [23:51:06] It's supposed to update the link for [[User:Technical 13]] [23:51:09] when each diff wiki is selected from the list. [23:52:35] It's for a school project of mine due within the next 2 hours. [23:53:18] * hoo points T13 to https://developer.mozilla.org/en-US/docs/Web/API/document.getElementById [23:53:34] You should really read a beginners guide to JavaScript, I guess [23:53:51] All of the ones above it work... :( [23:54:16] it updates the image and it's size... [23:57:12] T13: use document.getElementById('id') instead of document.id [23:57:48] I changed it to document.getElementById("userPage").href = links[selectedWiki]; document.getElementById("userPage").innerHTML = interWiki[selectedWiki] + document.userPage.innerHTML; [23:57:54] and I'm still getting the error. [23:58:06] document.userPage undefined [23:58:11] document.userPage.innerHTML; [23:58:15] cache issue? [23:58:20] + document.userPage.innerHTML; [23:58:25] that's the problem... [23:59:03] oh.. [23:59:39] I was looking at wrong side of the =