[00:45:16] memcache test cmd telnet localhost:11211 and it just says connecting and never fails? is it installed or not? [00:46:36] memcached.exe is open as a service on port 11211 but telnet not connecting? why? [00:47:54] be right back have to read something else about this. [00:55:20] ah wait we think it is connected [00:56:45] open localhost:11211 [00:56:58] stats [00:58:26] anyone awake? [01:01:28] nevermind [01:52:20] ok i am annoyed [01:52:40] how do i force a new section "== new section==" to not wrap around an image in the section above? [02:01:00]
[02:01:07] Should work... [02:01:51] do i put it within after the section starts or before? [02:02:03] within the section or before it* [02:02:55] that doesn't work either way [02:14:03] can someone help? [02:18:46] jackrass, works for me: https://www.mediawiki.org/wiki/User:MaxSem/sandbox [02:27:40] weird [02:32:53] Put it after the image just before the next section. [03:30:07] how do add two or more types to this code? $wgExtensionCredits[$type][] [03:31:58] geese? hello? anyone there? [03:33:29] Nemo_bis: I'd still probably say Apache is recommended. [03:33:30] But w/e. [03:33:46] ? [03:33:55] I was talking to Nemo. :-) [03:34:28] how do we add two types to our extension in this code? $wgExtensionCredits[$type][] [03:35:05] are we in the right room for this question? [03:35:09] Yes [03:35:16] ok? [03:35:39] But probably repeating it won't help [03:35:46] do we just add another [] [03:36:02] $wgExtensionCredits[$type][parserhook][skin] [03:36:08] like that? [03:38:56] jehovahsays, just fyi: IRC is often a non-immediate-response environment. It's common for everyone to be busy AFK, or in another program, or asleep in another timezone, so it can take anywhere from seconds to hours (to days) for questions to be answered. (IANAdev, so cannot help with your question). Patience is key. :) [03:40:15] #mediawiki [03:52:58] It's funny, 'cause IRC can be quite synchronous. [03:53:25] But yeah, conversations can also span days or months. [04:02:41] well if he comes back, the answer is "you can't" [04:02:48] unless you register it twice under two different types [04:25:01] I created a new Mediawiki, and I have it loaded on Azure, and it when I try to confirm my e-mail in my account preferences on the wiki, it gives me an error telling me to check my smtp. Can anyone help me with this? [05:08:06] Hi all, is there any way to create a template that contains a date format that won't display a date until the template is used? For example, a template like "Name ~~~", but not have the tildes show a date until I use {{Signature}} somewhere [07:52:42] So we should clearly tell people to use arch, right? https://www.mediawiki.org/wiki/Comparison_of_extensions_in_distributions [09:15:23] Is it possible to confine the "Random" function of the api to a specific category? [09:16:16] The same way that http://en.wikipedia.org/wiki/Special:Random/Internet does, for example [09:17:00] Sorry, https://en.wikipedia.org/wiki/Special:RandomInCategory/Internet [09:35:43] ScottSteiner: Yes. [09:35:54] ScottSteiner: See https://www.mediawiki.org/wiki/API:Random / https://en.wikipedia.org/w/api.php?action=help&recursivesubmodules=1#query+random [10:45:51] ^d: :) https://www.mediawiki.org/w/index.php?title=Manual%3ARunning_MediaWiki_on_Damnsmalllinux&diff=1317830&oldid=1036480 [10:54:42] "apt-get install lamp-server", really that simple? :) http://www.altlinux.org/ApacheMySQLPHP [15:15:35] anyone available that could help me with a problem regarding the group-bases restriction of the LDAP extension? [15:40:22] bd808 Hi! I was recommend to ask for your help .. I'm an intern at outreach program and a designer and a beginner trying to get vagrant running. I set everything up on ubuntu according to the quick start on mediwiki/Mediawiki-Vagrant . But if I do vagrant up, I get a mistake.. [15:40:49] bd808 The SSH command responded with a non-zero exit status. Vagrant [15:40:49] assumes that this means the command failed. The output for this command [15:40:50] should be in the log above. Please read the output to determine what [15:40:50] went wrong. [15:41:06] the log looks ok. [15:42:08] anow: please post the log to http://dpaste.de [15:44:02] ok, Snippet #295968 [15:44:42] valhallasw`cloud: was this right? [15:46:13] anow: could you copy-paste the link? [15:46:29] the url doesn't use the snippet number :/ [15:47:04] of course, sorry https://dpaste.de/vcoz [15:48:08] looks liek the git clone failed [15:48:09] ==> default: Error: git clone --recurse-submodules https://gerrit.wikimedia.org/r/p/mediawiki/core.git /vagrant/mediawiki returned 128 instead of one of [0] [15:48:16] try running 'vagrant provision' to try again [15:49:46] A failed git clone may not be automatically corrected by provision (puppet) unfortunately. [15:50:44] anke@ankeMac:~/vagrant$ vagrant provision [15:50:45] ==> default: Running provisioner: lsb_check... [15:50:45] ==> default: Running provisioner: puppet... [15:50:45] Shared folders that Puppet requires are missing on the virtual machine. [15:50:45] This is usually due to configuration changing after already booting the [15:50:46] machine. The fix is to run a `vagrant reload` so that the proper shared [15:50:46] folders will be prepared and mounted on the VM. [15:51:11] anow: What operating system is your laptop running? [15:51:30] ubuntu 14.04 (on a MacBook Pro) [15:51:57] bd808: the full error is @ https://dpaste.de/vcoz#L130,131,132,133,134 [15:52:30] that is, lines 130-134, but it doesn't actually use the selection as anchor :/ [15:53:49] valhallasw`cloud: thanks. The mounts not being available is more annoying on the second attempt. I hate it when the magic leaks out of mw-vagrant. :/ [15:54:22] yeah, that's what vagrant tends to do :( [15:54:38] it's awesome when it works, though [15:54:54] anow: What version of vagrant are you running? `vagrant --version` will tell you [15:55:43] valhallasw`cloud: *nod* In my experience it works more often than not, but we get to see a lot of the weird failures here on irc. [15:55:47] bd808 1.7.1 - I just donloaded and installed it [15:56:24] anow: Ok. I'm running that version on one of my laptops so it should be all possible. (should be) [15:56:42] good! :) [15:56:44] anow: Have you tried the `vagrant reload` command yet? [15:57:14] That stops and starts the VM which can sometimes fix the mount problems [15:57:55] bd808 I tried twice, but I do now again .. [15:59:55] anow: Another possible fix is to run `vagrant config nfs_shares no; vagrant reload`. That will disable the use of NFS for file sharing. The NFS shares are faster than the default sharing method, but they can have various problems based on how your host computer is setup. [16:00:56] bd808 If I do vagrant reload everything looks fine. No error. then I can also list roles for example, bit if I try to browse http://127.0.0.1:8080/ I do get: No wiki found. then it says available wikis: devwiki, but I cannot open it [16:01:14] anow: Ok. we are past one hrudle [16:01:18] *hurdle [16:01:47] The failure in the git clone of mediawiki/core kept the wiki from installing [16:02:09] hey! i faced this a while back, all i needed to do was vagrant reload and it worked all well [16:02:31] "fatal: pack has bad object at offset 64203349: inflate returned -3" looks like the clone got corrupted while it was downloading [16:02:57] also, do check if you have different branches in vagrant/mediawiki [16:03:34] in my case, i had ths error in master branch while another branch was up running when i ran vagrant up [16:03:49] ankita_ how do I check this. sorry, I've never seen vagrant before .. [16:04:05] I'm just starting [16:04:06] check for branches? [16:04:13] yes [16:04:21] anow: You could try a lot of things to clean up the broken git clone, but the easiest is probably to remove it and try all over again. `rm -rf mediawiki; vagrant provision` should do it. It will take a while to re-clone mediawiki/core.git [16:05:47] ok, running .. let's see [16:06:33] that's okay :) i was new just around a few days back! :) [16:06:37] cd vagrant/mediawiki [16:06:39] git branch [16:06:51] sorry! network issues :/ [16:07:34] that's okay :) i was new just around a few days back! :) [16:07:35] cd vagrant/mediawiki [16:07:36] git branch [16:12:14] ankita_ : cd vagrant/mediawiki it says No such file or directory now, but this is probably because of the provision process running?! [16:13:29] i guess it should cd at least [16:14:06] btw were you in the parent dir of vagrant while you ran that command? [16:14:15] btw=by the way, sorry [16:16:53] ankita_: I asked anow to delete the mediawiki directory and try to provision it again. The clone had a corruption issue shown in the paste given earlier [16:17:14] bd808: oh, okay :) [16:24:22] bd808 seems like the same error (as far as I can see it) occurs .. should I paste it in dpaste again? [16:24:41] anow: :( yes please [16:25:48] bd808 ok, her we go .. https://dpaste.de/06Z9 [16:26:40] * bd808 looks [16:27:35] boo. It's at a different offset now but the same general problem. :/ [16:29:48] bd808: does running vagrant reload in vagrant/ or vagrant/mediawiki cause any difference? [16:30:26] ankita_: It should not [16:31:50] anow: do you have the mediawiki repo cloned locally? [16:33:01] ankita_ I did only the steps according to the quick start guide on the Mediawiki-Vagrant site. Nothing else .. [16:33:28] git, virtualbox, vagrant .. and the commands listed [16:34:42] bd808: Morning! I submitted another patch for https://gerrit.wikimedia.org/r/#/c/179471/. I think I'm making a silly error somewhere because the handleGet function isn't being accessed as far as I can tell. Have a look whenever convenient. (Just making sure you didn't miss my message in the congested wikimedia-dev feed) [16:35:04] Niharika: I'll put it on my list! :) [16:35:21] Niharika: How are things going otherwise? [16:35:21] Thank you! And no hurry. I'm working on another. [16:36:06] bd808: Good. I'm learning a lot. It's awesome. [16:36:23] Niharika: cool. I'm glad you are having fun [16:36:32] :) [16:38:24] anow: I'm not sure how to fix the problem you are having with the git clone of mediawiki/core. With the same failure twice in a row it seems like there is something "special" about your network connection or other config that may be causing the problem. [16:39:08] Anyone around who has the time and skills to help anow deal with git corrupting the clone of mediawiki/core? [16:39:22] try cloning from github instead? [16:39:39] Yeah I was thinking that too. and then switch the origin at the end [16:39:41] I don't know enough of mw-vagrant to know where to clone into [16:39:45] you don't need to do that [16:39:49] gerrit will be gerrit anyway [16:39:57] (git-review will set that up) [16:40:15] and github is like one minute behind gitblit/gerrit :-p [16:40:44] the clone just goes in a directory named mediawiki directly under the mediawiki-vagrant install directory [16:40:53] nothing super special about it [16:43:36] close to chinese for me. I would be very grateful, if someone could help me solving that. On Friday we (aude and me) spent like nearly 4 hoursin wikimedia office Berlin trying to set up vagrant on MacOSX what also ended in abandonment (according to super special compatibility problems) .. I thought it's going to help doing it on ubuntu .. [16:44:10] anow: :(( [16:45:29] anow: The manual clone from github would be something like `git clone https://github.com/wikimedia/mediawiki.git` run in your mediawiki-vagrant install directory after removing any existing "mediawiki" directory left from the prior attempts [16:46:17] If that git clone runs successfully, follow up with `vagrant provision` to finish setting things up in the VM [16:47:09] ok, how would I remove any of the other directories carefully? [16:48:45] anow: The only one you should need to remove is the mediawiki directory: rm -rf mediawiki [16:49:43] Hello, I'm new to mediawiki, and I've installed mediawiki the manual way(without vagarant). I intend to contribute to the code after getting familiar with it. I would like to know if the environment of vagarant is necessary for the purpose or the manual way would do just fine? [16:50:35] codezee: manual works, but if you are new to MediaWiki it may be easier to use MediaWiki-Vagrant to do many things [16:51:05] bd808 if I list the directories (dir) from /vagrant there doesn 't seem to be any mediawiki file, or did I get anything wrong? [16:51:42] anow: Ok. Maybe the git clone failed so hard that it didn't make the directory I guess. That seems strange though [16:51:49] only mediwiki-vagrant.gemspec [16:52:20] then anyway just try to clone manually? [16:52:30] anow: ok. That's the right directory, so just run `git clone https://github.com/wikimedia/mediawiki.git` and hope it works for you [16:53:07] ok [16:55:47] bd808:ok, also, I've gone through the basics of mediawiki, and tried understanding the code a little, but could you suggest, what essential portions should I cover before I can begin with fixing easy bugs? [17:01:49] codezee: That is a hard question to answer. What worked for me when I was starting was to pick a bug and start figuring out what was going on from there. The code base is large and there are many parts but most "easy" bugs give a good description of where to start. [17:03:14] bd808:ok, thanks for the same! [17:11:50] Hi, I'm wondering if anyone knows which of these two pages about VisualEditor and Parsoid are correct? This one http://www.mediawiki.org/wiki/Extension:Parsoid suggests that Parsoid is not required as of Mediawiki 1.24, where this page http://www.mediawiki.org/wiki/Extension:VisualEditor suggests that it is? [17:15:08] GlennS: Parsoid is required if you want to use VisualEditor [17:15:15] ok, thanks [17:15:16] If you do not want to use VE, then as of MW 1.24 Parsoid is not required [17:39:16] <[1]Anshoe> n #huggle [17:40:48] apologies [17:41:14] Anshoe|away: Just don't do it again! :P [17:42:13] no , it happened because I was trying to join #huggle and well , half of the command went in this window whereas half of it in the previous one [17:42:17] soryr [17:42:19] sorry [17:43:10] It's fine, don't worry about it! [17:43:21] Everyone does something like that eventually :) [17:44:31] "eventually" lol [17:44:35] ;p [17:50:01] It's like doctors killing people, but less serious. [18:09:19] bd808 this cloning process is so slow (26% done by now) is this normal? [18:22:26] anow: yeah, mediawiki-core is always slow to clone [18:22:49] although half an hour for 26% is a bit excessive [18:44:49] hi! [20:01:43] Hello, I have a question regarding category structure. If I have a wiki on, say, food, is it a good idea to have every type of food under the "Food" Category as well as organized in sub-cats? Or is it better to have only sub-cats under the main super category. [20:05:37] The second option is usually better [20:11:40] JD|cloud: FYI Your attention was requested here: https://www.mediawiki.org/wiki/Thread:Project:Current_issues/mw:TitleBlacklist [20:54:20] Is there an API action write a view count? I created a lightbox to preview articles. I now want to count that as page view. [21:09:41] Subfader: hit counters were removed from MW core in 1.25 [21:10:56] I asked to bring them back ;) [21:23:45] I need some help please. I am new to Wikipedia and i need to add an article, but the page says that it is semilocked? [21:24:49] I am desperatkey looking for someone that can walk me through the processbecause i have been trying for over a month and i cannot get through anyone that would give me more thatn a 1 line answer [21:25:35] Maru1977says: Have you read through https://en.wikipedia.org/wiki/Wikipedia:AFC [21:25:52] yes [21:25:55] I have [21:26:13] Maru1977says: Assuming you're talking about the english wikipedia, the people in the #wikipedia-en-help would be better able to help you then we can [21:26:19] Maru1977says, if the question is for English Wikipedia, then ask in #wikipedia-en-help (and tell them the page title. That'll be the first question!) [21:26:41] >.> [21:26:45] :P [21:27:02] how do i get to #wikipedia-en-help [21:27:08] Maru1977says: just type [21:27:13] /j #wikipedia-en-help [21:27:46] type here? [21:27:49] or right-click the name in the chat, most IRC-clients give an option to join. [21:28:04] Maru1977says: yep [21:28:16] but yeah, "/j ..." is short for "/join ...." [21:28:16] #wikipedia-en-help [21:28:43] Maru1977says: With the /j at the begginging: /j followed by a space, followed by the channel name [21:28:53] so like [21:28:59] /join #wikipedia-en-help [21:29:41] Ah good, I see you made it to the channel [21:34:30] Does MediaWiki track the limit reports in anyway? For example, is there a way to ask which page has the highest expansion depth? [21:35:55] sigilbaram: other than the "Pages where expansion depth is exceeded" category, no. [21:36:12] (https://en.wikipedia.org/wiki/Category:Pages_where_expansion_depth_is_exceeded for example, this category is automatically added to the articles) [21:36:52] sigilbaram: there are several more categories like this for tracking other aspects of parsing, see https://en.wikipedia.org/wiki/Special:TrackingCategories for a list [21:37:36] MatmaRex: Oh ok. I knew about the category, but was wondering if there was a nice way to look for pages and templates that could be improved as far as performance. [21:39:26] sigilbaram: Parsoid people might have some data about the raw time spent parsing particular pages, but i don't think we track the details [21:39:31] !parsoid [21:39:31] Parsoid is a bi-directional wikitext parser and runtime. Converts back and forth between MediaWiki wikitext and HTML/XML DOM with RDFa. Backend for the VisualEditor (see !visualeditor). See also https://www.mediawiki.org/wiki/Parsoid and #mediawiki-parsoid channel. [21:42:56] MatmaRex: we don't have per-template data currently, although we could fairly easily instrument parsoid to get that [21:43:17] we call action=expandtemplates for that [21:44:53] Hi, question from es.wikipedia: How could we remove the MediaWiki:Querypage-no-updates message from the Special pages where it's inserted (as now they're updated)? I've seen no clue... [21:45:18] Example: https://es.wikipedia.org/wiki/Especial:M%C3%A1sEnlazados [21:47:50] Interesting. I didn't realize the VisualEditor was calling on a completely separate parser to generate it's side-by-side preview. [21:51:01] jem: You can replace https://es.wikipedia.org/wiki/MediaWiki:Querypage-no-updates with a space [21:51:40] jem: They're updated now, but they're updated less often than normal query special pages, which is why mediawiki gets confused and puts the message [22:01:13] jem: I created https://phabricator.wikimedia.org/T78711 for that issue [22:01:31] sigilbaram: What side-by-side preview? [22:03:22] speaking of which, i should totally make a side-by-side preview toy some time. [22:07:19] MatmaRex: WikiEditor has one [22:07:35] I wrote it in like 2009-2010 [22:07:46] Probably pretty crappy but hopefully salvageable [22:08:23] bawolff: Ah, I didn't suppose it was so complicated [22:08:45] RoanKattouw: no, i mean a proper one, in the style of that "wikipedia ide" article that made rounds some weeks ago [22:08:52] Thanks, I'll follow the bug [22:09:27] jem: But in the mean time, I'd reccomend just editing https://es.wikipedia.org/wiki/MediaWiki:Querypage-no-updates to be something else [22:09:58] Yes I have thought about that, bawolff [22:10:18] But I was afraid of collateral consequences [22:10:53] Worst case scenario is if some of the special pages get disabled again, then the message won't show up [22:10:56] I guess it's safe as long as all pages are updated with enough frequency now [22:11:05] Yes, that's it [22:11:19] But I don't think that's likely to happen, especially on eswiki. If it would happen anywhere, it would be on english [22:11:27] Ok [22:11:36] As english is quite a bit bigger than all the other wikis [22:12:02] I know :) [22:12:56] MatmaRex: Like, actually side-by-side? :P [22:13:09] We kept calling this feature side-by-side preview but it was really just a tab [22:13:14] yeah [22:13:20] Ok, I'll change it to "it's updated every few days" or so [22:13:31] (for the moment) [22:13:45] Thanks again, bawolff [22:13:55] no problem [22:14:59] jem: It's actually monthly [22:15:10] The one's with that message on them should be updated twice a month [22:16:22] jem: e.g. Most linked to pages should be updated on the 10th and 24th of each month [22:16:57] The one's without that message on them will be updated once every 3 days [22:17:25] Ok [22:17:32] I take note [22:18:43] If your curious, the current update schedule is at https://git.wikimedia.org/blob/operations%2Fpuppet.git/fce8dc230a3b9287d4f446258f90ec7849f9a695/manifests%2Fmisc%2Fmaintenance.pp#L282 [22:19:36] although that schedule could very change at some later date [22:19:48] Ok [22:56:06] RoanKattouw: You wrote the side-by-side preview for WikiEditor? I'm trying to figure out a way to have javascript execute after the preview loads, like things that would normally run with $(document).ready(). [22:57:39] Aw he went away. DX [23:01:08] sigilbaram: you can use mw.hook(…) for the current "live preview" implementation [23:01:40] https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.hook [23:07:25] MatmaRex: I might be misunderstanding that but wouldn't that require that the WikiEditor extension use the mw.hook() system itself by defining and even and telling to fire after the preview loads? [23:07:35] an event* [23:08:10] sigilbaram: that's not related to wikieditor… i think we might be talking about different features. [23:09:28] MatmaRex: document.read() already runs after pushing the normal "preview" button. I'm looking for a what to run javascript when the side-by-side preview in WikiEditor runs. [23:09:44] way* (bah can't type) [23:10:44] mw.hook() does look like it work allow this, however the extension's javascript doesn't seem to make any hooks for me to use. [23:23:26] Hallo. Any Phabricator people here?.. [23:23:38] !ask [23:23:38] 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. :) [23:23:39] :) [23:23:41] I can see tasks, but not the sprint. [23:24:12] https://phabricator.wikimedia.org/T77969 works, but not https://phabricator.wikimedia.org/tag/contenttranslation-release3/board/ [23:26:07] aharoni: huh, indeed, never load. [23:26:21] aharoni: curiously, https://phabricator.wikimedia.org/project/board/869/ loads for me (should be the same content) [23:28:19] MatmaRex: it's not the same content. it's the release, not the sprint. [23:29:31] aharoni: um, https://phabricator.wikimedia.org/project/board/912/ then? [23:29:39] but the URL for this would be https://phabricator.wikimedia.org/tag/le-sprint-80/board/ [23:29:43] (which doesn't load, either) [23:29:53] aha [23:29:58] that looks like it [23:30:03] how did you find it? [23:30:34] clicked the orange-ish "ContentTranslation-Release3" to get to https://phabricator.wikimedia.org/tag/contenttranslation-release3/ , clicked "Workboard" in top-right corner [23:30:58] but both URLs should work… [23:53:55] Aha! A text area. I've been trying to do this webchat in Chrome, but it doesn't work there. [23:54:15] My question: What browser does a good job when working with MediaWiki? [23:54:58] Reason I ask: Firefox just changed their interface, so the findbar isn't sticky from tab to tab. No way to get it back, either. (I need that functionality.) tia