[00:25:34] Lugusto: Hi. [00:25:37] pm [00:57:30] I'm having trouble opening pages on no.wikipedia.org/wiki/ anyone know why ? [00:58:14] Migrant: Define "trouble" :) [00:58:45] Migrant: Also it may help if we knew roughly what region of the world you're in [01:00:53] rdwrer : thanks for your concern .... but i think i'll try a restart of my computer first since i seems to can open the pages in this browser but not in another one.. [01:01:25] btw. i'm in norwayand are using an old version of IE as browser [01:01:56] this browser i am chatting in is Opera and a newer version... :) [01:03:02] well before i restarted this PC i tried one last time.. and now it opened up.. [01:03:57] :-) since i was in the middle of an new article there... and found the old version too.. :-) [01:04:05] 'kay [03:57:42] someone [03:59:41] how to upload a 200 mb xml dump to my wiki server ? [04:01:28] hello ahello [05:40:48] https://en.wikipedia.org/wiki/Special:Contributions/2601:E:1980:532:D5DF:D637:E1BA:453E is apparently registered to the WMF but people are vandalizing through it [05:40:58] misconfigured proxy thingy? [05:41:24] er wait [05:41:25] wrong IP [05:41:28] ignore me [05:42:05] Gotta love the original indef block. [09:10:41] good morning [09:10:54] is this the right place to ask questions about extension development? [09:12:58] Here or #mediawiki is fine, yes. [09:14:59] I'm trying to modify internal links in the Media: namespace, but cannot access them in the LinkStart nor the LinkEnd hook [09:15:54] is there another hook that exposes them or do I have to parse the whole page? [09:16:12] What are you working on? [09:16:26] Modifying internal links sounds interesting. [09:16:35] a download counter for uploaded files [09:16:40] The Media namespace is really a pseudo-namespace. [09:16:50] I don't think much uses it. [09:18:06] maybe I'm on the wrong track... background is to allow users to upload files of a specific type and the authors want to see download numbers. [09:19:11] Uploading is no problem, hooking into UploadFinished(?) also works, inserting a line into a new table as the counter [09:20:12] I'm not sure how I'd do something like that. [09:20:15] now I want to modify the Media: links to route the download via a separate php file that increases the counter in the DB and redirects to the actual file [09:20:17] Maybe JavaScript and a small API. [09:20:33] The user interface doesn't use Media links by default, I don't think. [09:20:47] The download link is a direct link to a file, I believe. [09:21:47] I think I can either access them as [[File:xyz.ext]], but then receive the file page, or as [[Media:xyz.ext]] to get the download link [09:21:48] JavaScript to ping an API when a link is clicked is probably pretty easy. [09:22:04] Right. [09:22:16] And [[:File:Foo.ext]] is a link to the file. [09:22:28] mhm [09:22:28] You can make your own download link. [09:22:50] But I was talking about MediaWiki by default. I don't think Media links are used very much, though there's nothing really wrong with them. [09:22:56] didn't find :File: syntax yet... [09:23:08] The full syntax is a nightmare. :-) [09:23:13] hm isnt link to file equal to download link? [09:23:17] [[File:Foo.ext|thumb|right|hello [[there]]]] [09:23:40] Esuba: Depends what kind of link. [09:23:58] [[file:foo.png]], [[media:foo.png]], and [[:file:foo.png]] are all different. [09:24:05] You can test at https://test.wikipedia.org [09:24:13] Rather depends on browser and instlled plagins [09:24:24] sure they are different [09:24:34] anybody doubts? [09:24:53] Oh, you mean some files open in the browser? [09:25:04] And others download to your local hard drive? [09:25:13] Yeah, that's true. [09:25:34] I should sleep. [09:26:23] yep if e.g. Media:Lol.png then you see it. Media:lol.pdf depends on browser and Media:lol.zip probably would be downloading [09:27:05] Sort of, yeah. [09:27:31] just gave it a try: [[Media:myFile.myExt]] gives the direct download link, both [[:File:...]] and [[File:...] syntax only give a link to the File: page of myFile.myExt [09:28:06] file: depends on extensions installed [09:28:35] maik_: Sounds about right. [09:28:44] Can it or not transform it to png or use some player as with e.g. .ogg [09:29:28] Esuba: I want to count direct downloads of a file with a custom extension [09:31:43] parse dump for Media: then. I think its most right. [09:32:00] and beware of localized prefixes [09:33:15] I was hoping I'd get around parsing the whole dump... but ok.. I'll try that tonight... [09:33:24] thanks [09:34:05] I think I'll also look into why the LinkBegin hook doesn't give me access to Media: links. Seems wrong to me. [11:15:20] bbtw it would appreciateed if someone wrote a SQL query for bugzilla editbugs https://bugzilla.wikimedia.org/show_bug.cgi?id=40497 [12:04:15] @seen Kelson [12:04:15] odder: Last time I saw Kelson they were joining the channel, they are still in the channel #mediawiki-parsoid at 3/2/2014 8:24:57 PM (2d15h39m17s ago) [12:04:35] what does that even mean? [12:06:08] odder: saw my reply on meta? [12:06:14] Not yet. [12:06:46] odder: #kiwix [12:09:16] matanya: so the answer is "We generally wait 24 hours unless we don't."? [12:09:39] yes odder it is a personal matter that needed an action [12:09:49] and action was taken [12:09:58] And it couldn't wait 24 hours? [12:10:01] no [12:10:23] that is way it is a practice, rather than policy [12:10:34] for use of common sense [23:17:10] Wow, 123 lines of people entering and exiting this channel (since I joined) and no one has said anything. [23:17:22] I guess that's a good thing - it must mean nothing is broken. [23:18:01] Sven_Manguard: or having too many other channels to talk in :) [23:18:26] fwiw, you can ignore joins/parts if you prefer a cleaner IRC window [23:18:48] I tend to keep it enabled so that I can see when someone I'm looking for enters or exits. [23:19:02] or it just means people need shells and bouncers [23:19:07] It's easier than scrolling through the list of people in the channel [23:19:07] same here [23:19:26] though technically there is a service for that [23:19:54] /query memoserv help [23:20:11] if you send a memo to a user with that, it tells you when the come back, i didnt use it often but i should more [23:20:22] then IRC doesnt have to be so realtime anymore [23:20:33] It's really not worth the effort for me to do that. Heck, most of the time, I use the autofill to see if someone is in the channel or not [23:20:41] those users then get your message automatically whenever they come back [23:20:53] so you can leave it even while they are gone [23:20:54] but yea [23:21:13] I type in mu, hit tab, and "mutante" comes up. If you left, it wouldn't. [23:21:31] that's just cause i leave my IRC client on almost 24/7 [23:21:41] but it works, yep [23:22:00] The quit messages are great for letting you know that the person you wanted to speak to left 27 seconds before you went to speak with them. [23:22:14] classic [23:22:38] just make people never quit :) [23:22:52] bnc,issri in screen, etc [23:23:19] i used that for sometime, but notifications suck this way [23:24:53] matanya: grmbl, i wanna get the planet module in next [23:25:01] it's been waiting so long as well [23:25:17] yeah, i'm all in favor for that [23:25:19] but i should probably go back to labs one last time.. [23:25:21] doing so [23:26:08] checking again why jzerebecki voted the last version down [23:27:35] oh.. man.. i have "drafts" that i never sent? bah