[00:03:24] Umm [00:03:26] fatal: internal server error [00:03:31] when I do git pull... [00:04:30] ostriches: --^ [00:04:53] bawolff: `git prune remote {origin,gerrit}` [00:05:01] Or just origin, if you don't use the gerrit remote. [00:05:19] bawolff: welcome to our weekend ;) [00:11:08] https://test.wikipedia.org/wiki/User:Gryllida/common.js mw.config is not a function -- what did i forget to load?... https://www.mediawiki.org/wiki/Manual:Interface/JavaScript#mw.config does not say :-( [00:12:20] gry: mw.config.get() [00:12:26] ooh thanks [00:21:18] ostriches: You mean `git remote prune origin` right? :-) [00:21:29] Yes, that'w what I meant [00:40:00] :( objects are hard https://jsfiddle.net/b6gq405c/4/ [00:40:05] (in js) [00:41:47] no, scratch that, i 'fixed' it in another case [00:48:48] gry, $.extend() [00:49:07] hmm? [00:49:38] aha, thanks :) [00:55:45] how do i make api.php great again? it used to have everything on one page, so i didn't have to switch my brain on and think about request types [00:56:01] There's a url parameter for that [00:56:12] i.e. which action to perform [00:56:13] documented in the api help page btw [00:56:49] https://test.wikipedia.org/w/api.php doesn't mention it, i'll attempt looking at mw.org for more info [00:58:07] It should be mentioned on that help page [00:58:15] i attempted to skim https://www.mediawiki.org/wiki/API:Main_page and it doesn't seem to mention it either [00:58:19] ok [00:58:38] it's a change. it is supposed to be mentioned somewhere close to the top :-/ [00:58:42] ok, its kind of hidden, under examples [00:59:52] ok, thanks, that's working and looks a bit more useful now that it has links now. it only had non-htmlized stuff before. thanks :) [01:04:53] With SUL finalization, does this mean everyone has a central account and there are no more unattached accounts? [01:05:52] ...barring some bugs [01:06:16] Do any of you know how to be a User Helper? [01:08:03] tgr: So, if we don't have any more unattached accounts, does that mean we can set the localPasswordLoginPrimaryAuthenticator/whatever its called, to be loginOnly, with no ill effects? [01:08:05] Wrong channel, Sorry [01:23:09] bawolff: as far as I can see, yes, but we have plenty [01:23:39] tgr: I thought in theory, SUL finalization was supposed to kill all those [01:25:03] * bawolff not sure of an easy way to query unattached accounts [01:26:01] Well I guess the obvious way is to join on the table [01:26:06] that query will probably be super slow [01:26:22] bawolff: https://phab.wmfusercontent.org/file/data/ckjk77h66vjpygkiznr7/PHID-FILE-7x5yrblfmxhkyiqfwcys/T141160-unattached-users.txt [01:26:51] ignore the ones from 201607, that was a bug that got fixed [01:27:49] the query assumed that everyone is at least in centralauth.localnames [01:28:40] mostly system accounts and such, and loginOnly probably wouldn't hurt them [01:28:56] https://en.wikipedia.org/wiki/Special:CentralAuth/Lindamolli [01:29:06] Looks unified (unless I'm missing something) [01:29:13] oh [01:29:19] * bawolff can't read [01:30:38] There are a couple that look like real users [01:31:05] Why didn't these get renamed during SUL finalisation? [01:32:16] possibly they did but got unattached later [01:32:44] also, some of these might be dangling accounts where a SUL user does exist [01:33:16] since the password is the same the only user-visible effect would be that login does not transfer to certain wikis [01:33:46] Hmm, maybe we could just do loginOnly anyways [01:33:59] Since that seems much more elegant than adding a random hook there [01:34:01] see https://gerrit.wikimedia.org/r/#/c/321602 [01:35:50] thanks [02:00:40] Hi guys, I'm visiting from google code-in. I'm a junior at Thomas Jefferson High School for Science and Tech. [02:04:33] Hi. :O [02:05:11] How active is this channel generally? [02:05:29] Reasonably. It tends to die off into the night time. [02:06:03] Ah ok. Cool. [02:49:13] hello everyone! I'm Shardul Chiplunkar, a GCI student doing the IRC task for Wikimedia [02:50:10] Hi. :) [02:51:26] sup [02:51:38] hello gry, naitian [04:57:14] can someone recomend me a way to bulk edit pages [04:57:26] that works for all namespaces ? [05:02:11] define bulk edit [05:08:11] hey guys this is Vishrut Jaipuria [05:16:07] kim_bruning, you mean Extension:MassEditRegex [05:16:08] ?? [05:44:55] Hello? [05:46:30] hey [06:05:36] !ask [06:05:36] Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [06:34:20] If anyone has the time could someone please see https://phabricator.wikimedia.org/T151843 and https://phabricator.wikimedia.org/T151842 [06:34:31] We are trying to upgrade to 1.28 but these two upstream tasks are preventing us from doing so [07:05:57] Reception|away: https://github.com/wikimedia/mediawiki-extensions-Maps/blob/master/INSTALL.md lets me think you also need the most recent version of Maps [07:06:05] see the Platform compatibility [07:06:08] section. [07:09:00] Reception|away: for maps, issues should be reported at https://github.com/JeroenDeDauw/Maps/issues [07:15:10] Reception|away: for Metrolook we need a branch REL1_28 [07:22:32] Hi [07:25:09] Is anyone even online here?? [07:33:00] Hi emilyo11, sure. [07:33:21] It's morning in Europe, people are starting to be online. [07:33:41] Oh hi, im emily and im in high school now [07:33:46] :) [07:34:08] Hello Emily [07:34:13] you participate to google code in? [07:34:33] yup [07:34:35] Welcome :) [07:34:45] :) [08:51:26] hello [08:52:38] i it possible to use a search like wikipedia? I want a search form like google but for my own wiki (something like
) [08:57:23] Got it : [09:32:18] 0 [09:32:51] You blocked your user! [09:33:07] Evil [09:33:46] You blocked your user while using the actions! [09:34:25] mediawiki [09:34:25] ! [09:34:25] Hello, I'm wm-bot. The database for this channel is published at http://bots.wmflabs.org/~wm-bot/db/%23mediawiki.htm More about WM-Bot: https://meta.wikimedia.org/wiki/wm-bot [09:35:30] You blocked while useing the actions! [09:36:09] during delete request will be closed in 17 November [09:36:25] Undo! [09:36:31] !undo [09:36:31] 'Undo' attempts to undo any single edit, not just the top edit. It essentially determines what was changed, and makes the reverse change; so you can easily undo a vandal edit that is followed by legitimate edits. See . [09:36:46] !block [09:36:46] [09:37:02] !massblock [09:37:15] !nukedelete [09:37:25] !massdelete [09:37:41] !redo [09:38:16] No blocking your ip address [09:38:22] !unblock [09:38:22] There is no such key, you probably want to try: !blocking, [09:38:31] !blocking [09:38:31] [09:38:45] !unblocking [09:39:13] !delete [09:39:13] Deleting users is very messy and not recommended, because this breaks referential integrity in the database (they appear in many different tables like users, edit histories, recentchanges, preferences, etc). A safe solution is to block the users, and possibly rename them with . You can also try [09:39:39] !checkuser [09:39:39] CheckUser is an extension that allows privileged users to see what IPs a user edited from or what users edited from an IP. For more information see < http://www.mediawiki.org/wiki/Extension:CheckUser > [09:39:56] !deletepage [09:46:17] Examplelol1, what? [09:46:38] If not unblocking you [09:47:03] You'll leave this channel [09:47:10] uh huh. [09:47:21] is this about a mediawiki.org block? [09:47:28] or some other site? [09:47:38] ok yup its blocked [09:47:57] by using the actions [09:48:11] I have no idea what you're talking about [09:48:46] Its got blocked by during delete requests or block requests [09:49:01] in 17 November [09:49:15] You see the block log [09:49:16] . [09:49:19] hello [09:49:20] this is Vishrut Jaipuria from New Delhi, India here [09:49:27] hello, im emily [09:50:05] So how is GCI going? A good start? [09:50:26] vishrutjai, pretty busy I'd say, but good :) [09:50:49] hi all. how do i retrieve contents of section 0 of a page whose name i know? i check api, i can 'edit' a section 0, but i haven't found how to just view the contents. [09:51:19] Its got blocked during delete requests or block requests or permission requests [09:51:20] Examplelol1: If you do not manage to explain what happened exactly and on which website and why you think that you are blocked, nobody can help you. [09:51:21] Examplelol1, please link me to this [09:51:32] Examplelol1, and please stop repeating yourself. Thanks. [09:51:46] in November 17, 11:44 [09:51:57] lol [09:52:11] that's not a link [09:52:44] You create an link to Log [09:53:22] no, you need to [09:53:58] How many tasks has everyone done? [09:55:21] Examplelol1: if you don't provide exact details no-one can help. [09:55:37] Examplelol1: and if you continue to just post the same vague lines here you might get kicked. [09:55:52] yes [09:56:02] hello [09:56:13] it didn't kick out of channel [09:56:45] by posting kicking vague lines [09:56:45] Examplelol1: If you do not **provide a link** you are out. [09:57:12] (or start to answer questions, or be silent.) [09:57:16] thanks. [09:57:20] You failed to put an link [09:57:43] Try wikis to put that link [09:57:53] Examplelol1, tell us where esactly. [09:57:56] *exactly [09:58:18] Right now nobody knows *where* you failed to put a link. [09:58:29] Provide an URL. [10:00:27] Why is everyone so silent [10:01:25] vishrutjai: errr...? Is see more than a dozen lines in the last 10min here. [10:01:58] ...plus I don't earn money by chatting all day long. :D [10:02:10] True [10:05:43] Ok i provide an url [10:06:02] Done [10:07:01] in wikispaces [10:07:32] wikis [10:08:15] no [10:10:21] I cannot provide the url [10:10:31] then we cannot help [10:10:51] what are u talking about? examplelol1 [10:12:14] no [10:20:01] Krenair, can you assist? [10:20:13] gry, hi. what with? [10:20:21] i asked above [10:20:25] bit busy here but if it's quick... [10:20:37] 18<gry18> hi all. how do i retrieve contents of section 0 of a page whose name i know? i check api, i can 'edit' a section 0, but i haven't found how to just view the contents. [10:20:39] 20:50 < gry> hi all. how do i retrieve contents of section 0 of a page whose name i know? i check api, i can 'edit' a section0, but i haven't found how to just view the contents. [i am retrieving just wiki markup, not html] [10:20:43] yes [10:21:10] https://www.mediawiki.org/wiki/VisualEditor?action=raw§ion=0 [10:21:23] seems to do the trick [10:21:28] can i do the same through api? [10:22:04] https://test.wikipedia.org/w/api.php?action=help&recursivesubmodules=1 does not list 'action=raw' for example [10:22:15] hm [10:22:28] yeah that's because action=raw is not an api.php action, it's from index.php [10:22:34] but I think this is what you want [10:22:36] https://www.mediawiki.org/w/api.php?action=query&prop=revisions&titles=VisualEditor&rvprop=content&rvsection=0 [10:24:29] to http://test.wikipedia.org/w/api.php?action=help&recursivesubmodules=1 [10:24:40] gry, does that solve it? [10:45:42] Hello everyone i am Guneet. [10:46:33] I claimed a task of GCI. [10:48:06] is anyone online? [10:48:20] hello! im emily [10:48:36] my first task is approved but awaiting parental approval. nice to meet u :) [10:49:30] nie to meet you too [10:49:42] wich task did you claim for [10:49:48] which [10:50:21] sugar: creating a sugar development environment [10:50:37] ok [10:50:52] i am not that good at coding actually [10:51:06] me too im new [10:51:25] there are other tasks such as outreach or documentation etc. that do not req coding [10:51:46] yeah you ar right [10:51:52] are [10:52:18] by the wich country do you belong to? [10:53:33] welcome [10:54:16] thanks [11:04:47] Krenair, yes, thanks, I was one step away from it, did not see the rvsection. Thanks. :) [11:38:06] !ask | andre__ [11:38:06] andre__: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [12:32:08] hello, anyone here who can help me with my own mediawiki project? [12:33:10] im trying to create Graph:Chart [12:36:15] im trying to get this line to work: {{GraphChart|width=400|height=100|xAxisTitle=X|yAxisTitle=Y|type=rect|x=1,2,3,4,5,6,7,8|y=10, 12, 6, 14, 2, 10, 7, 9}} [12:38:04] has anyone tried doing this sort of stuff before? [12:39:29] what happens? [12:40:27] nothing happens [12:40:33] just blank page [12:42:04] i followed instructions from MediaWiki, but maybe im doing something wrong [12:43:39] i'v installed Graph & JsonConfig -extensions, do i maybe need other extensions beside those two? [12:44:16] oh and btw im running the 1.27.1 version of MediaWiki [12:44:26] hello , I am interested in contributing to mediawiki, can any one mentor me in picking up a right project [12:44:41] hello i am new to mediawiki and am looking to contribute. Can i get any guidance? :) [12:51:47] soumya: Not if you only stay on IRC for four minutes :( [12:52:00] nikhilrayaprolu: What are your interests? :) [12:52:24] heya... I run a mediawiki 1.23.2 with several extensions like SMW, SF, HeaderTabs, and more. Now I'd like to update my installation with as little impact as possible. Which version would you guys recommend? [12:52:26] nikhilrayaprolu: Have you checked https://www.mediawiki.org/wiki/How_to_contribute already? If you're looking for working on code, also see https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [12:53:12] sven^: do you intentionally run an LTS version? If yes, 1.27 is the more recent LTS version [12:53:58] andre__: yes, kind of. I installed in Feb 2012 and don't think it was the most recent version back then [12:54:07] sven^: errr, I am wrong. [12:54:20] but there are several problems I haven't found a fix for, so I need to update. I guess [12:54:31] Sigh. https://www.mediawiki.org/wiki/Version_lifecycle is inconsistent. Some parts say 1.27 is an LTS version, some say 1.28 is. [12:54:34] * andre__ grumbles [12:55:50] the point is, I don't want to run into trouble having to edit anything by hand to make it work again after the upgrade, but I think the SMW channel would be a better place for that [13:43:18] Hi [13:51:27] Hi Guest55577 [13:58:58] Hello! [14:00:53] Short question: I'm trying to set a mediawiki instance up on my local PC to play around with it. First step should be installing a local webserver, hosting the mediawiki files there and accessing them with a browser? [14:01:41] Pretty much, yup [14:01:44] !install [14:01:44] Installing MediaWiki takes between 10 and 30 minutes, and involves uploading/copying files and running the installer script to configure the software. Full instructions can be found in the INSTALL file supplied in the distribution archive. An installation manual can also be found at . See also: !download [14:03:08] Ah, thanks :) [14:03:59] Using vagrant might make it easier for you [14:04:01] !vagrant [14:04:01] https://www.mediawiki.org/wiki/MediaWiki-Vagrant [14:08:16] Interesting. I'm already shooting for bluespice, I guess I'd have to substitute the installation files in the vagrant package then? [14:10:01] I've downloaded xampp now, gonna try it that way [14:18:19] uh. what do I do if I have upgraded to 1.28, but [[special:version]] still shows the old version, even with action=purge? [14:18:34] That's weird [14:18:56] upgraded = tar xf into a new source tree, copy localsettings.php, images and extensions [14:19:31] Did you point your webserver at the new dir? [14:19:43] and run update.php, though that won't change the version [14:23:57] Reedy: oops. no :3 thanks for the hint. there was a symlink I have overlooked :D [15:17:06] Hello everyone this is my google code in link [15:18:13] I need to complete my first task and this is it [15:21:52] Heh. :) Welcome gamerguy980! [15:22:24] (This channel is a bit silent and for general support, you might also want to check #wikimedia-dev for development related stuff) [15:29:17] ok thank you [15:31:51] Is anyone there?? [15:32:06] How to submit this after my task is done? [15:32:24] Send it for review? [15:32:29] yes [15:33:20] How to submit..please tell [15:34:14] Oh wait... i forgot to introduce myself [15:34:33] My name is Nihar and this is my very first Google Code in task [15:37:04] hello everyone [15:37:09] Hi [15:37:18] are you from gci [15:37:20] i am back [15:37:29] yes i am [15:37:40] you too? [15:37:42] oh a contestant? [15:37:48] ya i am a contestant [15:38:10] gotta wait 45 more min for me to comlpete [15:38:19] *complete [15:38:39] ok so you are doing the same task bro [15:38:59] by the way which IRC client are you using [15:39:11] ya [15:39:18] IceChat [15:39:20] you? [15:39:37] i first used mIRC [15:39:50] oh [15:39:55] but now i am using the freenode website [15:40:01] ya same [15:40:12] i was using ice but now at freenode [15:40:18] You need to be using something that isn't webchat [15:40:19] can we do that [15:40:23] For this task at least [15:40:29] really [15:40:37] Yup, it's in the description [15:40:39] u mean use the software we downloaded [15:41:02] ok so which one do you suggest [15:41:07] instant bird [15:41:15] Depends on your OS, partially [15:41:17] But there are plenty [15:41:35] i downloaded it but am not able to operate it [15:41:41] what do u mean? [15:42:00] hey you are back [15:42:12] yup [15:42:22] would you please help me out using it [15:42:32] yes :) [15:42:37] have u downloaded? [15:42:43] yes [15:43:12] yes how to do [15:43:21] even i hav downloaded [15:43:24] Connect to chat.freenode.net [15:43:39] https://meta.wikimedia.org/wiki/IRC/Instructions [15:43:43] in d software? [15:43:51] what software are u using [15:43:54] would you please explain i detail [15:44:11] gamerguy980, Guneet: which softwarE? [15:44:22] me [15:44:29] instantbird [15:44:33] ? what have u installed/ [15:44:40] yep [15:44:51] what name? [15:45:00] name? [15:45:05] of what [15:45:08] software name that u installed [15:45:10] i have installed ICE CHAT" [15:45:19] no double quotes [15:45:23] sry typing mistake [15:45:25] it is instant bird [15:46:12] where did she go [15:46:50] can we go to irc.freenode.net?? [15:48:26] so where were we [15:49:09] i have got it thank you! [15:49:25] byeeeeeeee [15:49:41] hey how did you do it [15:49:47] wait [15:50:33] great now i am left alone [15:51:39] there are others [15:51:42] lurking in the shadows [15:51:58] oh thanks [15:52:05] at least iam not alone [15:59:02] can blocked users still send public thanks for edits? [16:00:17] huh. https://www.mediawiki.org/wiki/Localisation#Caching doesn't seem to reflect the current code. [16:01:09] Why not? [16:01:17] (and a lot of docs will be out of date) [16:03:27] anyone? [16:04:08] Reedy: includes/cache/localisation/LocalisationCache.php, in line 212, in case of 'store' => 'detect' it tests if wgCacheDirectory is false and whether a /tmp exists, if so, if chooses file cache rather than the i18n DB cache [16:04:33] rohieb: It's a wiki, please feel free to update it :) [16:04:46] Reedy: should I just change it, or should I do a "for version > 1.xx" ? :) [16:04:51] ...in the wiki [16:05:00] Depends what version it changed, I guess [16:05:09] yeah. to the git blame /o/ [16:09:01] ah, ok. it was changed in 1.27 [16:09:04] https://phabricator.wikimedia.org/rMW36171312ef0e1b9acdea876f300dca8f3ad9982e [16:15:46] hiiiii [16:15:51] how is everyone [16:16:09] My name is Nihar and this is my first Google Code In task [16:17:26] hi [16:18:39] Is this the correct channel for Google code in task? [16:20:05] yes it is [16:20:16] oh hey guneet [16:20:29] thx [16:20:45] did you proceed any further [16:20:45] i have to wait 1 more hour! [16:20:49] ya [16:20:51] i connected [16:20:59] but now i have to wait [16:21:08] how do you submit [16:21:13] would you please tell me how [16:21:22] did you connect [16:21:29] yes [16:21:49] then help me out [16:22:11] so first to you have to connect to the server of freenode in whatever software ou downloaded [16:22:24] Hi everybody! :) [16:22:30] * andre__ wonders what the question is and how we can help [16:22:35] ok [16:23:03] i am using instant bird [16:23:07] once you do that in the chat box type /join and whatever channel [16:23:13] and cant operate it [16:23:25] be sure to leave a space between join and the channel name [16:23:42] i dont know how to operate instant bird [16:23:48] Hi all :) are you here for a Google Code In task gamerguy980_ and Guneet ? [16:23:55] yes [16:24:00] you? [16:24:26] CAN ANY ONE HELP ME??????????????? [16:24:34] Guneet, please do not yell. [16:24:39] (capital letters = yelling) [16:24:48] i feel helpless [16:24:51] Guneet: someone could help if you ask a question :) [16:24:54] gamerguy980_: I'm a mentor for a couple of other tasks - how are you finding IRC and the #mediawiki channel? :) [16:24:55] Guneet, what is your question? [16:25:06] it is good [16:25:13] just gotta wait an hour now [16:25:16] look i am using instantbird [16:25:21] ok. [16:25:27] can you help me to submit [16:25:37] i dont know how to submit after i am done [16:25:39] and i am not able to find how to operate it [16:26:10] Guneet, what is there to "operate"? [16:26:13] myrcx can you help [16:26:26] Guneet: what is your underlying question that makes you think you need to "operate" something? [16:26:42] gamerguy980_: do you have a link to the task? [16:26:51] gamerguy980_, submit what exactly? [16:26:55] i just dont know how to connect [16:27:05] the chat [16:27:08] Guneet: you *are* connected. Otherwise you would not talk here. [16:27:28] no this the freenode site [16:27:35] Guneet, correct. [16:27:43] Guneet, so what is your question? You are connected to Freenode IRC. [16:27:53] you guys check the chat right? [16:28:05] so is this it [16:28:10] gamerguy980_: is something unclear with the GCI task description? [16:28:12] ? [16:28:15] yes [16:28:20] Guneet: you are on IRC. On Freenode. [16:28:36] how to find link for the task submission [16:28:43] and you are connected to the #mediawiki channel. [16:28:44] so isn't there any problem [16:28:52] gamerguy980_, please see the task? :) [16:29:04] ok wait [16:29:06] Guneet, which problem do you see? :) [16:29:17] oh ok...thank you [16:29:30] gamerguy980_: you submit a task on the GCI site by clicking "Submit" or whatever it is called for students :) [16:29:31] so now would my task be aproved [16:29:35] now we just have to wait for 1 hour [16:29:53] yep, glad you've got it :) [16:30:15] Guneet, once you've done everything written in that task, probably :) [16:30:37] i think so [16:30:42] and hope so [16:30:49] and have seen so [16:31:27] gamerguy980_: if you'd like to, you can also join some other channels as an optional part of the task - https://meta.wikimedia.org/wiki/IRC/Channels [16:31:27] i have been here for nearly an hour [16:31:54] hey aren't you a mentor of mine [16:32:08] likely :) [16:32:20] so is it done [16:32:26] according to you [16:32:32] are you Andre Klapper? [16:32:36] the mentor? [16:32:37] Guneet: it is done according to whatever the task says :) [16:32:49] gamerguy980_: the command "/whois andre__" is your friend :) [16:32:52] so should i submit [16:33:10] Guneet, I am not sure why you're asking. Is the GCI task description unclear or something? [16:33:24] Guneet, I mean, I can repeat everything again what's written in there if you want me to? But that's not a good use of time. [16:33:25] ok [16:33:38] actually it is very late for me [16:33:49] Guneet, you sohuld submit if you've fulfilled the requirements. And I assume you read them, so you can also judge yourself whether to submit or not :) [16:33:49] no thanks [16:33:57] i might be online but inactive [16:34:05] or afk [16:34:09] its just that i want to be on a safer side [16:34:26] Guneet, if you're not, a mentor will tell you in your task. [16:34:42] ok thanks [16:34:57] Guneet, if you want to be on the safe side, read and understand the task instructions :) [16:34:59] and sorry taking this much time of yours [16:35:07] heh, no worries, really! :) [16:35:12] we were all once new to IRC [16:35:23] And I am happy to help and understand too :) [16:35:26] thanks and bye [16:35:46] gamerguy980_: we're all afk (away from keyboard) from time to time. There's sleep and these things :P [16:35:47] Cheers [16:36:04] oh hehe [16:36:37] * andre__ also just had a walk for an hour [17:02:50] Hi there, my name is ishank. I have participated in GCI and this is a part of the task. :) [17:03:30] hello [17:04:06] hi [17:06:11] hello everyone [17:06:34] anyone here competeing in gci16 [17:14:13] Hi sulphuric! Not "competing", but taking part: likely :) [17:17:34] ishank: hi there, how are you finding IRC? :) [17:17:44] anyone for gci? [17:17:55] #wikimedia-dev [17:19:00] hello [17:19:18] Hi shadow21 - are you taking part in GCI this year? [17:20:13] yess [17:20:31] That's great :) how are you finding IRC? [17:20:58] its a pretty great thing which i didnt know about till now [17:21:17] I used in another task i was doing yesterday [17:21:35] Well I hope you drop by during GCI and maybe stick around afterwards :) [17:21:35] this is an awesome platform for people to connect, especially coders [17:21:45] surely [17:22:27] yay! welcome :) [17:22:49] what are you guys working on [17:22:50] ?? [17:23:13] shadow21: Wikimedia things :D [17:23:25] Not World Domination? [17:23:32] hahaha [17:23:33] Sshhh! Don't tell them!!!! [17:23:51] hahahah [17:24:10] (For general info, this IRC channel #mediawiki is for general support questions about the MediaWiki software, so there's also people asking configuration questions and such. It's not only Google Code-in folks here.) [17:24:55] shadow21: so are you completing your IRC task? :) There's lots of channels to explore - I see you've made your way to #wikimedia-dev [17:25:15] yess i have [17:26:48] what other tasks are you guys working on?? [17:28:45] helloo????? [17:29:17] Well I'm looking after some tasks relating to CSS and User Interfaces [17:29:26] Oops you've gone :P [17:30:04] there's something going on with mediawiki/wikipedia https://en.wikipedia.org/wiki/Rafael_Ramos_de_Lima [17:30:29] hello again [17:30:33] Welcome back shadow21 [17:30:56] so tell me something about you [17:31:02] where you guys from? [17:31:26] india [17:31:48] Well I'm from the UK, I'm a volunteer developer and Wikipedia editor - my full time job is system administration :) [17:32:05] ohhhh [17:32:47] I'm based in Central Europe and I normally take a look at the software bug reports in Wikimedia :) [17:32:54] How about yourself shadow21? What are you most looking forward to during GCI? [17:33:30] andre__: don't you mean Bug Wrangler? [17:33:37] :P [17:34:06] I am a simple student in India, I do have elaborate interests in programming and app dev [17:34:11] myrcx: Yeah, that's how it's called I guess in a contract. It's just that no-one understands what that means :P [17:34:44] thus i am very excited to be doing this competition, looking forward to a great month [17:34:57] 'One who wrangles the bugs' [17:35:05] And that's great shadow21 :) [17:35:27] what languages do you work with [17:35:28] ?? [17:35:29] myrcx: I normally invite those software bugs to a drink and try to convince them to give up. Give me a few more evenings and we'll be bug-free! [17:35:50] shadow21, Wikimedia has projects in many programming languages. (Or did you mean human languages?) [17:36:25] myrcx: you should fix that vuln in mediawiki. https://en.wikipedia.org/w/index.php?title=Rafael_Ramos_de_Lima&oldid=752124407 [17:36:25] i meant programming [17:36:26] heh [17:37:04] but there must be a consistent language which you have to deal with [17:37:07] Eckles: looks like a template/module fail? [17:37:25] it is, but things should be cleaned before php parses it [17:37:31] shadow21: lots of PHP :) [17:37:45] ohhhk [17:37:54] shadow21: Many. PHP in MediaWiki core and extensions; Lua in templates; JavaScript in user scripts and gadgets; Python for many bots; Objective-C and Java in mobile apps; external applications like Huggle (C++) or AWB (C#) or Kiwix (C++) [17:38:15] and that's not even a complete list... QA uses some tests in Ruby/Cucumber; there's Puppet configurations in Technical Operations; etc etc [17:38:24] Eckles: reported on phab? [17:38:44] Eckles, https://www.mediawiki.org/wiki/How_to_report_a_bug [17:38:44] and you people know all of them and can work with them?? [17:39:05] shadow21: Heh. No, I don't code. :) [17:39:26] I just thought Id let you guys know in here, it could potentially be a serious vulnerability if abused [17:39:37] shadow21: if you like music, you don't have to be a musician. You could also be a music journalist. It's the same with computers or IT. I don't have to be a programmer :) [17:39:53] Eckles: well now it's public anyway? :P [17:40:19] it was always public, current event etc :P [17:40:52] Eckles: andre__ has just linked to how to report a bug - could you fill that in or private message me and I'll fill it out? :) [17:41:09] so how can you fix code without knowing the language [17:41:11] ? [17:41:35] shadow21: well, I don't fix code. [17:41:49] shadow21: but many others do, both volunteers and paid [17:42:11] sure, you can fill it out if you'd like [17:43:29] Eckles: any chance you can ping me a private message with a bit more detail and why you think it's a security concern? I'm currently sat on a bus so I can't go digging just yet [17:43:47] i seee [17:44:18] shadow21: there are many ways to contribute, and only one way is working on code - see https://www.mediawiki.org/wiki/How_to_contribute [17:44:19] im having problem understanding about what you actually do ? [17:44:31] shadow21, "you" in plural or me personally? :) [17:45:41] personallu [17:45:45] personally [17:49:21] shadow21: I'm sure andre__ will put it better than I, but basically when someone finds an issue with Mediawiki/Wikipedia, they create a task on Phabricator - Andre's job (among other things) is to mark it as high priority/low priority [17:49:45] So the the really important stuff gets fixed quickly [17:53:03] shadow21: https://www.mediawiki.org/wiki/Bugwrangler [17:53:20] (most people are surprised that this kind of job exists) [17:53:33] myrcx: I'm not 100% it's a security issue, I haven't looked at the source but it seems likely. I'll dig into it later when I have some time [17:58:31] thank you [17:59:32] yw :) [17:59:35] (you're welcome) [18:03:46] sup [18:07:19] Hi guys, am Speus1908 and here for GCI and I would like to study computer programming. [18:11:22] you should take some online courses [18:11:34] thats what i do atleast [18:11:51] and then go on to referring books [18:12:03] Speus: Hi there! How are you finding IRC and GCI so far? :) [18:13:26] good [18:21:14] this is pretty good [18:21:21] gci is going quit good [18:21:36] shadow21: how many tasks have you done so far? :) [18:23:59] I have a REL1.26 instance that I want to upgrade to REL1.27, using git and composer. I have a composer.local.json file which includes extensions/*/composer.json as cited at https://www.mediawiki.org/wiki/Composer#Using_composer-merge-plugin [18:25:10] but composer update --no-dev --dry-run seems to want to uninstall things rather than update those extensions that have a composer.json [18:28:33] Hello am back [18:29:02] and I meant to say earlier [18:29:20] Hi my name is Speus1908 and I enjoy computer programming [18:29:50] hey me too [18:30:37] I htink alot of us here do [18:34:10] "enjoy" is not the right word [18:34:16] I'd rather say ... "endure" [18:35:17] composer lint -vvv shows that it's loading the merge-plugin (as specified in composer.json), so I'm not sure why composer isn't updating extensions like mailgun or pdfhandler that have a composer.json file [18:37:27] Hey I'm GCI participant. I have claimed the task to Setup MediaWiki Dev. Enviroment. I have a doubt in- https://www.mediawiki.org/wiki/MediaWiki-Vagrant under Quick Start section on step 4 "what's tagged in Gemfile.lock (grep tag Gemfile.lock)" what does this mean? [18:40:30] What do you get if you run that grep command? [18:41:48] If u use linux [18:42:02] just install lamp-server^ package [18:42:13] (sudo apt-get install lamp-server^) [18:42:18] config git [18:42:24] go to /var/www/html [18:42:31] and checkout source [18:42:43] thats really comfortable [18:42:58] The point is vagrant is supposed to make many things easy [18:43:15] And easy to destroy and re set up again if you make a mess [18:43:38] Yeah, but setting up webserver is quite simple [18:44:02] Installing wikimedia is just getting the code [18:44:06] So far I have installed all the three things mentioned from step1 to step3. Do I need to install LAMP stack too? [18:44:13] You can't install wikimedia [18:44:20] No, vagrant does that for you [18:44:58] It's not just getting the code. Multiple repos. Vagrant. Running the installer... Keeping it up to date [18:45:43] Vagrant is a way of provisioning a vm [18:45:54] Okay thanks [18:45:56] And configuring it [18:46:07] hmm [18:47:58] freephile: do you have a composer.local.json that tells composer-merge-plugin to read composer.json files in your extension directories? There is no default configuration to do that. It has to be setup manually. [18:49:53] p_d: that instruction about the gemfile.lock is confusing. I need to remove it from the docs. There is a known bug in Vagrant 1.8.4 that causes problems. If you have a version before or after that one you should be fine. [18:50:55] Vagrant is the better option, the problem is the Mediawiki Vagrant image is slow and has its number of issues. Due to its complexity, those issues aren't exactly easy to fix, either. [18:51:35] CZauX_: I've been using mw-vagrant every day for 3 years :) There are some challenges but it's a good tool [18:53:24] It is a good tool, just not the tool I would recommend to those outside of core development if they're looking to build a theme or plugin. Its far easier to just get a pre-made LEMP stack image and enable MW dev settings. [18:55:44] p_d: Hi and welcome! If you think that you could improve the wiki page about Vagrant and make it clearer, feel free to go ahead. :) [18:56:04] Other people might edit your changes again, but that's the whole concept of a wiki :) [18:59:46] Hmm. Ohkay [19:21:23] hey there i'm nxtbig good to meet everybody [19:21:36] hi nxtbig and welcome! [19:21:42] Hi nxtbig. :) [19:22:03] Are you a Google Code-in student? Or just passing by for some MediaWiki questions? :) [19:22:15] gci [19:22:19] ah great! [19:22:34] (looks like we missed you on #wikimedia-dev which was a bit silent the last minutes :) [19:22:38] Hey nxtbig :) How's it going? [19:22:45] yeah [19:23:42] by the way i wanted to know how the organisations select the finalists in gci [19:25:02] i mean what's the criteria [19:27:36] bd808: yes, I have a composer.local.json that is exactly like https://www.mediawiki.org/wiki/Composer#Using_composer-merge-plugin [19:28:01] nxtbig: I'm not sure what our finalist criteria is off the top of my head - https://developers.google.com/open-source/gci/how-it-works has a little bit of information, but just mentions that we'll pick five finalists [19:28:56] ok thanks [19:29:19] i also wanted to know what is like working for the opensource [19:31:27] nxtbig: Well I'm a volunteer developer (who is mentoring a couple of GCI tasks - so might be seeing you soon!) so I don't work for the Wikimedia Foundation like some of the people around here. That being said, contributing to open source projects is very awesome! There's not many places where your work can be helping loads of people, and you get to work with [19:31:27] and talk to people from around the world :) [19:33:11] can I do a GCI task then claim it [19:33:26] or do I have claim it then do it? [19:33:37] You should really claim if first [19:33:59] Especially if it's a one person task [19:34:04] but is it really necessary [19:34:32] Well, what if someone else did I [19:34:43] It first, not knowing you were doing it [19:35:50] because i was doing another one and I realized that for this task I needed to stay here for an hour so I started here and I just claimed and submitted it for review [19:35:55] Spend that time installing Vagrant, configuring git and so on. [19:36:40] It's plenty things to do too, with school it just took me a day to properly install vagrant because of some issues with VirtualBox. [19:37:07] Don't you have 3 days to do a task anyway [19:37:41] yeah [19:38:20] sorry to ask but what is Vagrant [19:38:38] Its system for simple setting virtual machines [19:38:42] Speus1908: Don't be sorry! Always always ask if you have a question :) [19:38:49] with software included in any image [19:39:07] There, its used to simply setup wikimedia server [19:39:20] oh ok [19:39:32] But i still prefer LAMP server localy, its lots more comfortable [19:39:39] Speus1908: if you're interested, have a quick read through https://www.mediawiki.org/wiki/MediaWiki-Vagrant [19:39:52] thanks [19:40:38] It's all personal preference [19:40:46] Does using server localy, instead of vagrant affect anything? [19:40:50] Hy in step 5 command 4 at https://www.mediawiki.org/wiki/MediaWiki-Vagrant says "# Specify your mediawiki branch or don't use this command for latest version." and I have the latest version of vargant should I run this command or not? [19:40:58] Speus1908: Hi! See section 4.2 of https://developers.google.com/open-source/gci/resources/contest-rules about "can I do a GCI task then claim it" [19:41:27] which is the best IRC client for windows [19:41:34] anybody [19:41:58] nxtbig: that's similar to "what's your favorite color". [19:41:58] nxtbig: I use hexchat and it works fine [19:42:05] Hexchat? [19:42:15] Try things. If you don't like them, try different things. :) [19:42:24] But i prefer u to setup debian-like linux on dualboot [19:42:30] yea [19:42:31] that's good [19:42:41] Everything is a lot easier [19:42:50] i'm having problems with that [19:42:55] ? [19:43:39] p_d: how I interpret that comment in step5 command4 is that "don't use this command for latest version" means that you can ignore it [19:44:09] whenever i try to install ubuntu side-by-side windows 8.1, instead of installing the setup restarts [19:44:47] andre__ we could do with a task for the naming differences [19:44:57] mw/wp/wmf [19:44:57] Reedy: naming of what? [19:45:00] ah. heh. [19:45:03] maybe try manjaro? [19:45:03] andre__: Ohhkay .. whats the reason just getting curious [19:45:16] Reedy: "we" as in royal? or you? :P [19:45:30] p_d, the reason is that the default is the master branch anyway [19:45:35] Well. I dunno how we evaluate it [19:45:40] p_d, so only if you want a different branch you have to execute that command [19:45:49] p_d, I tried to clarify and made an edit on that page [19:46:03] Reedy: Heh. Which problem to solve exactly? [19:46:19] MediaWiki is the software [19:46:26] hmmm [19:46:29] thanks [19:46:32] I keep seeing people say install wikimedia [19:46:37] Reedy, don't you want to edit https://www.mediawiki.org/wiki/Differences_between_Wikipedia,_Wikimedia,_MediaWiki,_and_wiki if something is missing? :P [19:46:51] ah [19:46:54] an article on everything [19:46:55] Well. Maybe we need to make the students aware of it [19:47:05] I need to travel in time and fix our horrible names for everything [19:47:17] lol [19:47:32] If needed, sure. But I don't want to throw even more links onto people. We already throw a lot of info at folks. [19:47:55] I can also manage life and use MediaWiki software or Wikimedia sites without knowing what "WMF" stands for and such... [19:48:01] hence not too important IMHO [19:52:01] ./setup.sh says Failed to execute command `vagrant plugin list` (pid 13404 exit 1) ? what to do? [19:52:54] Also I wanted to know if its okay to discuss things like this here? [19:53:52] p_d: Sure it is :) here or #wikimedia-dev [19:54:30] okay :) [19:54:56] p_d: sounds like https://www.mediawiki.org/wiki/MediaWiki-Vagrant#Debian_.22wheezy.22_.28and_older.29 ? [19:56:32] andre__: I downloaded vagrant package like 30-40 mins before :/ [19:58:44] Can you please look at this I guess vagrant isnt successfully installed- http://pastebin.com/9x2xUvZw [19:59:36] p_d, errm... how is the time when you downloaded vagrant related? I'm not sure I can follow :) [20:00:06] p_d, regarding the pastebin: If you don't get back to your command line it's not finished yet... [20:00:21] so you should see "paras-d@Paras:~/Downloads$" again [20:04:22] andre__: ya I ran vagrant version and this was the response- http://pastebin.com/CMetmUBg [20:04:47] so I guess I need to reinstall the package right? [20:07:06] p_d: to clarify, have you run "setup.sh", as the message implies? [20:08:09] ya it says command not found [20:08:43] what is your path? "pwd" will tell you [20:08:52] p_d: try "./setup.sh" [20:09:08] Ah. Heh. True, that might be it! [20:09:22] bad help in the tool is bad :/ [20:10:04] I tried that one too it says- Failed to execute command `vagrant plugin list` (pid 13713 exit 1) [20:10:34] p_d: I'm fighting with that problem right now myself -- T151928 [20:10:34] T151928: Errors from Vagrant after upgrading from 1.8.5 to 1.9.0 - https://phabricator.wikimedia.org/T151928 [20:11:26] I would suggest for now installing a slightly older version of Vagrant -- https://releases.hashicorp.com/vagrant/1.8.7/ [20:12:01] It looks like there is a new bug for us to deal with in 1.9.0 [20:12:28] okay ..Can you please tell how to downgrade? [20:12:41] or remove than install? [20:12:57] that basically depends on your distro and package manager [20:13:19] * andre__ loves to use https://wiki.openvz.org/Package_managers for that [20:13:28] I'm running on ubuntu 16.04 [20:14:13] p_d: ok. you should be able to download the older deb file and then run dpkg -i $NAME_OF_DEB [20:14:25] see "Remove an installed package" on that page. Or use Ubuntu's graphical package management software (is that still "Synaptic"?) [20:14:39] ...or just listen to bd808 who does know better! :P [20:15:52] heh. andre__ was teaching you to fish. I'm just throwing fish on the ground near you. ;) [20:16:30] that openvz page is nice. It has the command I gave under "Local package installation/upgrade/removal" [20:16:54] * bd808 -> food [20:17:14] bd808: I agree with that fish point :D [20:17:22] :D [20:58:39] andre__ and other lurking here to help GCI participants: Vagrant 1.9.0 was released yesterday and it is not working with our MediaWiki-Vagrant code. See T151928 for details [20:58:39] T151928: Vagrant 1.9.0 unable to install local mediawiki-vagrant plugin - https://phabricator.wikimedia.org/T151928 [21:08:49] * andre__ updates the GCI accordingly with info about Vagrant 1.9.0 [21:09:06] thanks andre__ [22:34:31] Hi all. :) Is there an API function to list all templates (and their parameters) by giving a page name or by giving markup? Like https://test.wikipedia.org/wiki/Special:ApiSandbox#action=expandtemplates&format=json&title=API&text={{welcome|34|cat%3Ddog}}%0A%0AHello+world.&prop=parsetree but I would like the output to be in JSON, or like [22:34:36] https://test.wikipedia.org/wiki/Special:ApiSandbox#action=parse&format=json&text={{welcome|1%3D345}}%0A%0AHi%0A%0A{{bye}}&prop=templates but I would like the output to tell what the templates' parameters are. [22:36:07] gry: Probably not [22:36:10] Templates are arbitary [22:36:14] At best, the /doc page may tell you [22:36:33] Oh, I mean their current parameters in use within the wikitext. Not the whole ever possible lot. [22:36:43] oh, from a page? [22:36:50] Yes, or from wikitext. :) [22:37:56] I'm looking at a gadget which uses regex for this purpose it seems, and I'm mildly displeased with that. Trying to write my own copy of that. [22:39:27] I honestly don't think there is a nice way.. Other than using the MW parser somehow [22:45:34] gry: you could use parsoid probably [22:45:49] or I think marktraceur hacked up a JS template parser for a gadget once... [22:46:07] Ugh [22:46:29] I would probably like to use parsoid for this [22:46:50] gry: You may or may not be familiar with User:MarkTraceur/editDescriptions.js [22:47:03] It has a hacky parser to find template calls and arguments. [22:47:15] But it's a particular use case and it's probably still broken in certain ways [22:47:28] gry: https://commons.wikimedia.org/wiki/User:MarkTraceur/editDescriptions.js [22:48:23] fwiw I'm trying to write https://en.wikipedia.org/wiki/User:Gryllida/gadgets/rater.js in a more normal way, it uses regex, it's the old version. Thanks marktraceur :) [22:48:31] gry: The word I got from the Parsoid people was that there was No Good Way to do what I was trying to do with their service [22:48:39] But it may be different for you? [22:48:44] Also that was years ago. [22:51:08] It looks like you're parsing within your javascript. That's neat and written well. I'll look at Parsoid and see how their current status compares. [22:53:19] I think so far the expandtemplates action looks most informative in this regard. [22:53:38] From the options I have at present, at least. :) [22:55:58] gry, I had to go away earlier, did my rvsection suggestion work? [22:56:59] does anyone know how to add another license to UploadWizard, so it has a localized name, not like this: https://rohieb.name/stuff/screenshots/0d655076-b687-11e6-acc2-8b2076709530.png <-- [mwe-upwiz-license-pd-author] [22:57:36] rohieb: Create a message with that name [22:57:37] rohieb: Hi! Looks like you added a type of license, not a license. Is that what you mean to do? [22:57:59] Reedy: I tried, but it doesn't get picked up [22:58:05] Cache? [22:58:25] which one? Ctrl-R? action=purge? rebuildLocalisationCache.php? [22:58:38] Krenair, yes. :) [22:58:41] rohieb: You also have to add the message to the UploadWizard ResourceLoader module definition. [22:59:27] marktraceur: so that means I have to edit the code? :-| [22:59:38] rohieb: Only very briefly. [22:59:55] marktraceur, legoktm: by the way, after I get a list of templates and their parameters, I will need to add new templates to the lot, and perhaps edit some, and then shove it back into wiki markup and save the page. I think that parsoid services, if available, could be relatively well-suited for this purpose -- unless output from expandtemplates can be used for generating wiki markup again in some way?? [22:59:57] marktraceur: can I do that in localsettings.php? [22:59:58] Gotta tell MW to export hte message to JS [23:00:01] (that would be awesome also). :) [23:00:02] rohieb: Nope. [23:00:27] marktraceur: can I do that in an extra plugin? or are those different namespaces? [23:00:45] rohieb: Why would you need an extra plugin just to add a message to UploadWizard? [23:01:12] rohieb: What exactly are you trying to do? [23:02:42] marktraceur: I do mediawiki updates from source, so I try to have as much code as possible out-of-the-box to reduce copy/pasting/patchapplying [23:03:05] rohieb: Yes, but what exactly are you trying to add to UploadWizard? [23:03:10] to be fair, my update working sheet is several pages long [23:03:22] marktraceur: ah, here's my config: http://paste.debian.net/899738/ [23:03:46] I need to re-add a "public domain" option, which is not the same as CC-0 [23:04:01] rohieb: And you have some kind of...wait, there *is* a public domain option in UploadWizard. [23:04:06] ther is? [23:04:17] Yeah [23:04:25] Just making sure I'm not crazy, sec [23:05:00] rohieb: On Commons it's listed under "The copyright has definitely expired in the USA" [23:05:20] rohieb: Looks like you don't have that enabled on your wiki. [23:05:38] There's also "Work of the United States government" [23:05:40] hmmmm. yes, I see several such things , pd-art, pd-US, pd-usgov, pd-old [23:05:59] rohieb: But you're looking for "the author released the work into the public domain"? [23:06:29] I think the main reason when I did that patch once was to reduce the number of pd-* cases to one pd case ^^ [23:06:47] as I would have to create templates for each one [23:07:23] rohieb: OK, well, maybe you should consider adding that to UploadWizard instead of hacking together a new message, your own template, and some kind of hacky hook thing that changes the UW ResourceLoader definition. [23:07:46] I would +2 a patch that added a pd-author license as long as I could make sure it didn't alter Commons' configuration. [23:08:05] rohieb: Once that was done, it would just be a matter of configuration. [23:09:43] marktraceur: my point was, I don't need every single pd-* license, I just want a "pd category" on my uploadwizard config that surprises them all. after all, the result is the same, it's in the public domain :) [23:09:46] rohieb: It looks like WMF config totally overrides the default. You can do it. [23:10:12] rohieb: It may be that you want to totally delete all the options except "I'm not sure" and just leave it at that. [23:10:30] Or something. [23:10:35] but I think I can just use pd-old and overwrite the system message to say "this is Public Domain." (without the reason) [23:10:41] I guess so. [23:11:04] Probably asking for trouble somehow [23:11:13] I blame guillom. [23:11:17] marktraceur: (if you have the energy to come back to the two-way template parsing - whether output from expandtemplates is reusable - would be nice. :) ) [23:11:27] i.e. after this talk is over [23:11:44] gry: I don't think expandtemplates will help, no. But I encourage you to try anyway. [23:11:55] Because I am frequently, if not always, totally wrong and incompetent [23:12:55] well thank you, marktraceur :) [23:21:08] bawo/8