[00:36:13] GCI package came :) [00:55:12] phabricator maintenance in 5 minutes, the service will be completely offline for 10-20 minutes (assuming everything goes as planned) [01:44:59] Everything has not gone as planned...phab is still down :/ [01:57:16] it's up now :) [01:58:22] I think I've found a bug with Phab... [01:58:35] Says "0" on all Boards on https://phabricator.wikimedia.org/tag/user-josve05a/ [01:58:47] Even though there clearly are tickets on them [02:01:50] oh wait...is that story points now.. [02:19:40] Josve05a, yup, story points. let me know if you figure out how to convert back to # of cards ! [02:20:03] * Josve05a grunts [16:41:44] Krinkle: It looks like loading and initializing Intuition adds about a second to the load time (on Tool Labs). Are there any tricks for speeding that up? [17:11:50] kaldari: domains are lazy loaded, there are virtually no dependencies. I've not done much performance fine tuning but never noticed it as an issue. [17:11:56] kaldari: Can you find where most time is spent? [17:14:27] no I don't have any profiling tools set up on tool labs. When I run it locally, it is super fast. With or without intuition, the page loads in less than 100ms, but on Tools Labs, it seems to significantly slow down the loading for some reason. [17:16:39] loading Intuition (without even initializing it) seems to add about 250-300ms. [17:27:01] kaldari: disk access is slow in tool labs in general. Too much NFS usage :/ [17:27:05] MusikAnimal: I'm not sure what happened, but Tools Labs seems to have sped up quite a bit in the last few minutes. Now I'm getting load times consistently under 1 second at http://tools.wmflabs.org/pageviews-test/ [17:27:46] hmm I'm seeing that oo! [17:29:02] bd808: Are there any tricks for getting faster loading? Any caching services available? [17:29:15] kaldari: there is a redis instance [17:29:46] kaldari: barely documented at -- https://wikitech.wikimedia.org/wiki/Help:Tool_Labs#Redis [17:30:30] bd808: How come that doesn't turn up at https://wikitech.wikimedia.org/wiki/Special:Search?search=redis&prefix=%22Help%3ATool+Labs%22&fulltext=Go&fulltext=Search ? [17:30:54] Hi, can somebody tell me, which option I have to set to force the visitors of my wiki to use https? [17:31:24] not sure how much Redis would do for us in this case [17:31:34] Luke081515: for labs vagrant... you'll need to hack your apache config :/ [17:31:35] the JSON file will serve quick enough [17:32:02] hm,ok, the I think I don't want to use it ;) [17:32:15] bd808: Hmm, it seems that the "Search Tool Labs Documentation" interface isn't working at all. [17:32:18] makes it simpler [17:32:27] yeah it's crappy [17:32:47] what you're looking for is probably here https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web [17:32:50] and linked from there [17:33:35] kaldari: yuck. Can you open a bug and maybe ping the cirrus search folks on it? [17:33:44] sure [17:40:19] hi legoktm and all [17:40:37] working on afew last-minute thingsfr Art+Feminism [17:40:48] most of them will probably be impossible [17:40:55] but let me know if some aren't [17:41:40] Pharos: we can set up a default-on gadget to replace the user's username, but that usually takes a while and needs some prior discussion [17:42:07] javascript is required for thingslike auto-saving a page too, right? [17:42:20] excuse my ignorance [17:43:12] er, what do you mean by auto-saving? [17:43:42] i was trying to make https://en.wikipedia.org/wiki/Template:Meetupsig a one-step process [17:43:54] saving by pushing a single button [17:44:13] https://en.wikipedia.org/wiki/Template:Meetupsig/intro is the intermediate step [17:45:07] yeah, that would also require JS :( [17:45:42] ok, it seems like all the fun things do :p [18:17:54] is there a magicword for number of edits to an individual page? [18:20:26] Pharos: based on https://www.mediawiki.org/wiki/Help:Magic_words, doesn't look like it. ?action=info will have it though [18:21:23] i'm thinking of a template that will tell me if a page has more than one edit [18:21:56] or maybe i could check to see if the time of latest edit is different from time of creation [18:25:12] I can't see any way to figure that out using parser functions or Lua, none of them make page history available :/ [19:14:48] legoktm: i think i figured out how to tell if a page has been edited or not [19:14:59] https://en.wikipedia.org/wiki/Template:Preloaddraft/Artist [19:15:15] not perfect, but should work, right? [19:15:59] {{#ifeq: {{subst:REVISIONTIMESTAMP}} | {{REVISIONTIMESTAMP}} | ''Has not been edited yet.'' | ''Editing has begun on this draft.'' }} [19:16:11] that's the relevant code [19:17:56] You' [19:18:12] You're planning to preload this using &preload to the edit form? [19:18:18] yeah [19:19:31] I'm not sure if that would work. {{REVISIONTIMESTAMP}} might not be right at subst time [19:19:42] not sure. [19:20:02] it seems to work [19:21:53] I think there's a race condition, where it might sometimes not work, depending on when you save it (e.g. If there is a 1 second difference between first render and when it actually goes in the db) [19:22:51] but that would only give fslse positives, right? [19:23:11] yeah, it would sometimes mark it as editing has begun, when it really hasn't [19:23:39] and it probably won't happen all that often [19:23:44] ok, that seems a small enough error margin [19:24:44] There is a way to make it so you can insert some text that is not substituted on first save, but is substituted on the second [19:24:59] I can't remember what the trick was, it was something really ugly. Leah knows what it is [19:27:01] bawolff: here is the whole execution, if you're interested, click on a redlink [19:27:05] https://en.wikipedia.org/wiki/User:Pharos/sandbox [19:27:14] this isdesigned for total newbies [19:29:33] looks nice [19:45:48] bawolff: When you have a minute, any comments on https://gerrit.wikimedia.org/r/#/c/272660 ? If not, I'm going to swat that this afternoon. [19:47:12] * bawolff looking [19:47:30] I think I looked at it the other day and it looked fine, can't remember for sure [23:42:48] can someone assist with preloadparams for an infobox? https://en.wikipedia.org/wiki/User:Pharos/sandbox [23:42:58] https://en.wikipedia.org/wiki/User:Sgeo/null-edit-detector is what bawolff was referring to. [23:45:16] I want the preloaded parameter to be whatever the user enters in the box [23:47:02] legoktm: would you know about inputbox parameters? [23:48:31] Pharos: I'm not sure you can do that...maybe have your preload include {{subst:PAGENAME}} ? [23:55:29] legoktm: thanks, for some reason $1 didn't work, but that's ok