Fork me on GitHub

Wikimedia IRC logs browser - #wikimedia-tech

Filter:
Start date
End date

Displaying 179 items:

2019-02-27 00:59:02 <Tks4Fish> hey guys! is there a magic word or template that can do this: out of "google.com/anythinggoeshere", return only google.com? thanks!
2019-02-27 01:09:28 <Krenair> Tks4Fish, #titleparts?
2019-02-27 01:10:21 <Krenair> {{#titleparts:google.com/anythinggoeshere|1|1}}
2019-02-27 01:10:49 <Tks4Fish> let me check
2019-02-27 01:11:43 <Tks4Fish> yup, that's exactly it. thanks a lot, Krenair! :D
2019-02-27 01:11:49 <Krenair> np
2019-02-27 09:04:29 <ShakespeareFan00> https://en.wikisource.org/w/index.php?title=Page:Baron_Trump%27s_marvellous_underground_journey.pdf/37&action=edit
2019-02-27 09:04:38 <ShakespeareFan00> The scripts in my my common.js aren't running
2019-02-27 13:28:11 <paravoid> /win 25
2019-02-27 15:00:53 <wm-bot> Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @bmansurov & @Thiemo_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting
2019-02-27 15:50:34 <wm-bot> Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @bmansurov & @Thiemo_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting
2019-02-27 15:59:50 <bmansurov> o/ I'm here to help.
2019-02-27 15:59:58 <zeljkof> o/
2019-02-27 16:00:01 <zeljkof> is lurking
2019-02-27 16:01:06 <LucaMauri_> Hello. May I ask a question regarding Direct Access on my own Wikibase installation?
2019-02-27 16:01:18 <bmansurov> LucaMauri_: go ahead
2019-02-27 16:02:52 <LucaMauri_> Thanks. I have installed two instances of Wikibase, a Repo and a Client and I was able to make it work. I only have an issue with Statement: I am only able to use Arbitrary Access, but Direct Access return empty string
2019-02-27 16:03:02 <rhinosf1> Hey, I know bawolff is involved with his but could you advise what's going on with T213616 (linked to T133821). Also, glad you got beta back up - I did the test I wanted to do and have given feedback now which is good. (see https://phabricator.wikimedia.org/T63737#4988260)
2019-02-27 16:03:03 <stashbot> T133821: Content purges are unreliable - https://phabricator.wikimedia.org/T133821
2019-02-27 16:03:20 <LucaMauri_> I think the issue is somewhere in InterWiki or Sitelinks, but I am unsure exactely where
2019-02-27 16:04:14 <LucaMauri_> Am I right that to be able to use Direct Access I need to create a link from a Item in Repo to a page in Client using SiteLinks?
2019-02-27 16:04:40 <LucaMauri_> I should add the page to the "Other Sites" section on the Itam's page, is this right?
2019-02-27 16:04:43 <bmansurov> LucaMauri_: hmm, I'm also tangentially familiar with Wikibase. Can you point me to a doc about Arbitrary vs Direct access?
2019-02-27 16:05:59 <LucaMauri_> Well, here https://www.wikidata.org/wiki/Wikidata:How_to_use_data_on_Wikimedia_projects#Direct_access
2019-02-27 16:06:15 <bmansurov> LucaMauri_: ok checking
2019-02-27 16:06:20 <Thiemo_WMDE> Oh no, I missed the most interesting 5 minutes of the Technical Advice IRC Meeting. Hello there, I'm here to answer all the questions along with bmansurov!
2019-02-27 16:06:25 <bmansurov> rhinosf1: I don't have access to T213616.
2019-02-27 16:06:43 <rhinosf1> What's your phab name? bmansurov
2019-02-27 16:06:50 <Thiemo_WMDE> neither
2019-02-27 16:06:51 <bmansurov> rhinosf1: bmansurov
2019-02-27 16:07:00 <rhinosf1> one moment
2019-02-27 16:07:15 <superyetkin> hello there
2019-02-27 16:07:18 <superyetkin> two questions:
2019-02-27 16:07:43 <superyetkin> 1. how I can search in codebase? (on Gerrit)
2019-02-27 16:08:04 <superyetkin> 2. how to go ahead with https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/492038/ ?
2019-02-27 16:08:30 <pintoch> hi all! two questions for me too:
2019-02-27 16:08:33 <pintoch> 1. is there a way for tool developers to use something like Grafana to monitor metrics on their services?
2019-02-27 16:08:56 <rhinosf1> bmansurov - should have now. Thiemo_WMDE, Who are you in phab? I'll grant it.
2019-02-27 16:09:34 <Thiemo_WMDE> superyetkin: https://codesearch.wmflabs.org is awesome. Can you check if this is what you are looking for?
2019-02-27 16:09:49 <Thiemo_WMDE> rhinosf1: thiemowmde, I think.
2019-02-27 16:09:56 <bmansurov> LucaMauri_: when you go to the Wikidata Item's page (that you're trying to link directly), do you see a link to your wiki?
2019-02-27 16:10:03 <rhinosf1> checking
2019-02-27 16:10:36 <LucaMauri_> I am not using Wikidata, I sent you an example, but I am using my own Repo
2019-02-27 16:10:39 <superyetkin> Thiemo_WMDE: that is really good, thanks
2019-02-27 16:10:49 <bmansurov> rhinosf1: thanks, checking
2019-02-27 16:10:53 <rhinosf1> I've added you both
2019-02-27 16:13:07 <Thiemo_WMDE> LucaMauri_: I think what you did so far is exactly whats needed. You need to add the page name as a "sitelink" to the wikibase item it should belong to. If this succeeded, there should be a link "Wikidata item" in the sirebar of the page, and the same information in the "Page information".
2019-02-27 16:13:47 <brennen> Thiemo_WMDE: thanks for codesearch link, hadn't known about that one yet.
2019-02-27 16:13:57 <LucaMauri_> Ok, so it seems the SiteLink is my issue. When I open Other Sites window I am apparently only able to add a link to something called "wikimediawiki"
2019-02-27 16:14:05 <LucaMauri_> Which I suppose is a placeholder or something
2019-02-27 16:14:15 <Thiemo_WMDE> LucaMauri_: The issue you might have run into is that the repos configuration of what other pages are allowed to be used in sitelinks is incomplete.
2019-02-27 16:14:30 <LucaMauri_> But I don't know how to add the real client Wiki to the SiteList
2019-02-27 16:14:32 <Thiemo_WMDE> LucaMauri_: Also both wikis must use the same SQL database.
2019-02-27 16:14:58 <LucaMauri_> They are using the same RDBMS but two separate databases
2019-02-27 16:16:06 <bmansurov> rhinosf1: I've gone through the conversation. I'd give the people involved some time. Looks like they're looking into it more.
2019-02-27 16:17:05 <pintoch> here is question 2 for me: I run https://tools.wmflabs.org/openrefine-wikidata/ which is basically a wrapper over Wikidata search. I would like to publish a dataset of a sample of queries that run through this services. Is it okay to do that policy-wise?
2019-02-27 16:17:35 <rhinosf1> bmansurov - Good, from what i can see without a massive technical background essam server was the issue I saw but it looks like that was working now but it's been spotted in other servers.
2019-02-27 16:18:12 <bmansurov> pintoch: re q1: do you mean you want access to http://grafana.wikimedia.org/ for your tool?
2019-02-27 16:18:23 <Thiemo_WMDE> LucaMauri_: Have a look at the siteLinkGroups as well as specialSiteLinkGroups settings. https://phabricator.wikimedia.org/diffusion/EWBA/browse/master/docs/options.wiki$14
2019-02-27 16:19:01 <pintoch> bmansurov: exactly
2019-02-27 16:20:00 <zeljkof> > superyetkin> how I can search in codebase? (on Gerrit)
2019-02-27 16:20:27 <zeljkof> you can also use github search: org:wikimedia search_string
2019-02-27 16:20:40 <zeljkof> something like https://github.com/search?q=org%3Awikimedia+test
2019-02-27 16:21:33 <bmansurov> pintoch: Take a look at https://phabricator.wikimedia.org/T108546
2019-02-27 16:21:45 <zeljkof> superyetkin: gerrit also has search, but I'm not sure what you're searching for, an example would help
2019-02-27 16:22:12 <bmansurov> pintoch: you may have to create a Phabricator task and request access.
2019-02-27 16:22:17 <superyetkin> this is an example: https://codesearch.wmflabs.org/search/?q=brokenredirects&i=nope&files=&repos=
2019-02-27 16:22:27 <superyetkin> that works
2019-02-27 16:22:42 <superyetkin> github search does not come up with any results for that query
2019-02-27 16:23:10 <superyetkin> also, please take a look at https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/492038/
2019-02-27 16:23:11 <pintoch> bmansurov: thanks a lot - if that's not something that is intended to be used by toollabs users I totally understand though
2019-02-27 16:23:25 <zeljkof> superyetkin: yeah codesearch is great
2019-02-27 16:23:32 <superyetkin> I am not sure what Reedy means by "hook" there
2019-02-27 16:23:46 <superyetkin> how to hook in broken redirects special page?
2019-02-27 16:24:19 <Thiemo_WMDE> superyetkin: You asked how to proceed with https://gerrit.wikimedia.org/r/492038. My suggestion would be to create a Toolforge tool or similar script on WMFLabs to solve the task in question. But not try to add code that is specific to one particular server to the MediaWiki core codebase. Such code definitely does not belong there.
2019-02-27 16:24:21 <superyetkin> I have provided an if-else block in my patch but Reedy objects
2019-02-27 16:24:29 <LucaMauri_> Thiemo_WMDE I looked at it, but I am not sure of the syntax. I looked at https://www.mediawiki.org/wiki/Wikibase/Installation/Advanced_configuration#Configuration for some help, but I only "Basic Settings with changesDatabase,siteLinkGroups,localClientDatabases (with examples)" Looks like somebody should adapt documentation
2019-02-27 16:24:31 <bmansurov> pintoch: for tool labs, I wouldn't worry about performance metric
2019-02-27 16:24:39 <LucaMauri_> Is there any example you think I can look at?
2019-02-27 16:24:44 <bmansurov> pintoch: re q2: Please refer to https://foundation.wikimedia.org/wiki/Privacy_policy
2019-02-27 16:25:02 <bmansurov> pintoch: labs may have their own privacy policy
2019-02-27 16:26:12 <zeljkof> superyetkin: you should ask Reedy to clarify in the patch, I'm not familiar with that
2019-02-27 16:26:15 <superyetkin> Thiemo_WMDE: I understand but how to "fix" this brokenredirects thing? it currently misleads people
2019-02-27 16:26:19 <Thiemo_WMDE> LucaMauri_: I think it works best when you use the "wikipedia" group for both of your wikis. That's what I remember. If this doesn't help, I suggest to ask at https://www.wikidata.org/wiki/Wikidata:Contact_the_development_team
2019-02-27 16:26:26 <pintoch> bmansurov: what do you mean by not worrying? My service is used by quite a lot of people who can get quite frustrated if the service slows down for one reason or another… I have set up my own ad-hoc monitoring tools but it's far from what grafana would offer (I think)
2019-02-27 16:26:35 <superyetkin> it displays red links whereas the meta page of a user exists
2019-02-27 16:26:51 <superyetkin> the result is complely wrong now
2019-02-27 16:27:09 <Thiemo_WMDE> superyetkin: What is the problem with showing a red link when there is indeed no (local) user page?
2019-02-27 16:27:14 <pintoch> (all I have is https://tools.wmflabs.org/openrefine-wikidata/monitoring that I check regularly, plus a downnotifier.com monitoring which notifies me when the service goes down)
2019-02-27 16:27:54 <bmansurov> pintoch: oh I see. I thought you were using it for experimental ad hoc stuff.
2019-02-27 16:28:24 <bmansurov> pintoch: btw, tools privacy statement redirects to the link I pasted earlier
2019-02-27 16:28:27 <superyetkin> Thiemo_WMDE: yes, a local page does not exists but a "universal" one does, and it should replace the other, I think
2019-02-27 16:28:56 <bmansurov> pintoch: let me check grafana and see if it's also being used for tools.
2019-02-27 16:29:08 <Thiemo_WMDE> superyetkin: The feature is in an extension. https://www.mediawiki.org/wiki/Extension:GlobalUserPage This means the code you are looking for must be in this extension. What you need is a way to interact with the existing special page. Hooks are one way to do this. Not sure if using a hook is the best solution. But you can try.
2019-02-27 16:29:43 <LucaMauri_> Thiemo_WMDE I am not sure how to assign a group to my wikis. Is there a documentation for this?
2019-02-27 16:29:45 <superyetkin> Thiemo_WMDE: how to do that?
2019-02-27 16:29:54 <Thiemo_WMDE> superyetkin: Do what?
2019-02-27 16:30:01 <superyetkin> how to understand whether we a re on a WMF wiki?
2019-02-27 16:30:33 <LucaMauri_> Thiemo_WMDE and the WikiData DevTeam will help me with a custom Repo also?
2019-02-27 16:30:57 <Thiemo_WMDE> You don't need to. When the extension is installed, the extension knows where the global user pages are. It just needs a way to tell this the SpecialBrokenRedirects class, e.g. via a hook.
2019-02-27 16:31:23 <superyetkin> how?
2019-02-27 16:31:30 <superyetkin> is there an example?
2019-02-27 16:31:43 <Thiemo_WMDE> LucaMauri_: They are trying hard to update the documentation, as well as help users to install wikibase on their own servers. Yes, they will help.
2019-02-27 16:32:11 <pintoch> bmansurov: thanks! maybe the fact that I feel the need of Grafana is an indication that I shouldn't run the service in toollabs but somewhere more isolated - I can look for other options too
2019-02-27 16:32:36 <Thiemo_WMDE> superyetkin: I'm afraid these questions are to vague. How hooks work is documented at https://www.mediawiki.org/wiki/Manual:Hooks
2019-02-27 16:33:32 <LucaMauri_> Thiemo_WMDE Ok, then I will try with them, I am really lost unfortunately :-( Thanks for your help
2019-02-27 16:33:37 <superyetkin> Thiemo_WMDE: ok, thanks for your insight
2019-02-27 16:34:43 <superyetkin> another question: is there any way on Gerrit to find the changes I contributed to?
2019-02-27 16:35:16 <zeljkof> superyetkin: this? https://gerrit.wikimedia.org/r/q/owner:self
2019-02-27 16:35:17 <Thiemo_WMDE> superyetkin: Depending on what you actually want to do with the information available via SpecialBrokenRedirects, it might be better to create your own toolforge script for the task you are thinking of. Or just use existing services like https://de.wikipedia.org/wiki/Wikipedia:Technik/Labs/Quarry to query exactly what you want to know.
2019-02-27 16:35:28 <superyetkin> no, not owner
2019-02-27 16:35:54 <Thiemo_WMDE> https://gerrit.wikimedia.org/r/#/q/reviewer:self
2019-02-27 16:36:12 <zeljkof> superyetkin: https://gerrit.wikimedia.org/r/q/committer:self
2019-02-27 16:36:26 <Thiemo_WMDE> So many possibilities! \o/
2019-02-27 16:36:49 <bmansurov> pintoch: Take a look at https://wikitech.wikimedia.org/wiki/Prometheus Looks like you can add monitoring to your instance, but I think you'd still need access to graphana too (if you already don't have it).
2019-02-27 16:37:29 <bmansurov> pintoch: here's the interface https://beta-prometheus.wmflabs.org/beta/graph
2019-02-27 16:39:07 <superyetkin> cannot find https://gerrit.wikimedia.org/r/#/c/operations/mediawiki-config/+/455887/ there
2019-02-27 16:40:38 <superyetkin> Thiemo_WMDE: I already have the query. What I was trying to do was to fix the special page
2019-02-27 16:40:56 <superyetkin> I am going to try the hook method as per your explanation
2019-02-27 16:41:15 <superyetkin> I hope Reedy accepts that :)
2019-02-27 16:41:21 <rhinosf1> Hey, What's happening with Mobile UI redevelopment? I've just remembered an issue with the UI on my phone. It sometimes really awkward and the publish bar at the top gets hidden (moving too far up) and requires pinching to zoom out multiple times to bring in view. Where can I raise an issue?
2019-02-27 16:41:59 <pintoch> bmansurov: thank you so much!
2019-02-27 16:42:16 <bmansurov> pintoch: no problem
2019-02-27 16:43:23 <bmansurov> rhinosf1: https://phabricator.wikimedia.org/maniphest/task/edit/form/1/
2019-02-27 16:43:30 <bmansurov> rhinosf1: and tag it with MobileFrontend
2019-02-27 16:43:45 <rhinosf1> Thanks bmansurov
2019-02-27 16:44:43 <bmansurov> rhinosf1: please include as much information as you can. things like your browser version, OS, etc.
2019-02-27 16:44:52 <rhinosf1> Will do
2019-02-27 16:44:55 <bmansurov> rhinosf1: and screenshots too ;)
2019-02-27 16:49:13 <Thiemo_WMDE> Did we missed a question so far?
2019-02-27 16:52:56 <Thiemo_WMDE> rhinosf1: You asked about https://phabricator.wikimedia.org/T213616. I'm afraid I can't add any more information. Any discussion should happen in this ticket.
2019-02-27 16:53:11 <rhinosf1> It's fine
2019-02-27 16:54:43 <superyetkin> do you know how to purge the cache on MariaDB? Some of my queries come up with outdated data, I think
2019-02-27 16:55:23 <bmansurov> superyetkin: https://mariadb.com/kb/en/library/flush-query-cache/
2019-02-27 16:56:31 <superyetkin> can these be run on replicas?
2019-02-27 16:56:36 <Thiemo_WMDE> LucaMauri_: The populateSitesTable.php script just came to my mind. It's mentioned a few times in https://www.mediawiki.org/wiki/Wikibase/Installation . Make sure to run it.
2019-02-27 16:56:52 <bmansurov> rhinosf1: what page did you try editing? Can you include some URLs to the task?
2019-02-27 16:57:01 <Thiemo_WMDE> LucaMauri_: I also poked you in a separate chat window. Maybe you missed it.
2019-02-27 16:57:56 <bmansurov> rhinosf1: oh, you said you'd add it. Can you also indicate whether you were in the beta mode or not.
2019-02-27 16:58:31 <rhinosf1> Some beta features are on
2019-02-27 16:58:49 <bmansurov> rhinosf1: I mean the beta mode in mobile.
2019-02-27 16:59:12 <bmansurov> rhinosf1: If I'm not mistaken, I don't think the desktop beta features affects mobile.
2019-02-27 16:59:35 <rhinosf1> Won't let me add this https://usercontent.irccloud-cdn.com/file/DA6a7AJT/7658CE80-E96C-41CB-9A36-5345D3CD03CC.MP4
2019-02-27 16:59:53 <rhinosf1> Beta is not on
2019-02-27 17:01:08 <bmansurov> ok cool
2019-02-27 17:01:36 <bmansurov> It was fun hanging out here. I hope I didn't send anyone in the wrong direction.
2019-02-27 17:01:36 <Thiemo_WMDE> That was the official 60 minutes of todays Technical Advice IRC Meeting. Thanks for all the amazing discussions!
2019-02-27 17:01:52 <rhinosf1> Is that filled out correctly bmansurov
2019-02-27 17:02:07 <bmansurov> rhinosf1: yes looks good
2019-02-27 17:02:21 <rhinosf1> Thanks for your help
2019-02-27 17:02:49 <bmansurov> np
2019-02-27 18:34:24 <McJill> This is probably a silly question, but is all that’s needed to associate an edit or action with an existing tag just adding “tags” to the api query? Nothing else?
2019-02-27 19:19:22 <rhinosf1> Hey, Is the text placement a bug? https://usercontent.irccloud-cdn.com/file/jPKx60LQ/3E3AF344-F7EB-4783-98EF-F6174FAF842D.jpeg
2019-02-27 19:20:14 <andre__> rhinosf1: what gadget / user script is that?
2019-02-27 19:20:16 <rhinosf1> This is how it should look https://usercontent.irccloud-cdn.com/file/btAAzw46/B4B2F151-4831-43F2-86D8-35648466C926.jpeg
2019-02-27 19:20:28 <rhinosf1> One moment
2019-02-27 19:22:06 <rhinosf1> andre_ here's all my scripts: https://en.wikipedia.org/wiki/User:RhinosF1/common.js - What I don't get is the view I get is really random? Either too big or normal.
2019-02-27 19:23:25 <Zppix> it could be the .js isnt loading fully. i've had that issue every now and then a ctrl+f5 should fix it
2019-02-27 19:25:00 <rhinosf1> ctrl+f5 fixes it, I just don't get why it happens.
2019-02-27 19:27:36 <AntiComposite> There's a lot of text weirdness with desktop mode on mobile, https://phabricator.wikimedia.org/T177697 was an issue for a while
2019-02-27 19:38:45 <rhinosf1> Thanks
2019-02-27 19:40:40 <rhinosf1> I'll open a ticket and link later.
2019-02-27 19:56:07 <superyetkin> how to purge query cache in replica servers?
2019-02-27 20:00:05 <rhinosf1> Superyetkin - see T133821 if it's not working
2019-02-27 20:00:05 <stashbot> T133821: Content purges are unreliable - https://phabricator.wikimedia.org/T133821
2019-02-27 20:59:19 <christopheambrec> I'm not sure where to report the following, but giving it a quick try on this channel. On the Dutch Wikipedia there is an 'advertisement' running for Wikimania of 2018. If you click on the link it brings you to https://scholarships.wikimedia.org/apply which looks reasonable. But maybe it's something we want have fixed. Just replace 2018 by 2019. This doesn't look smart.
2019-02-27 21:22:06 <apergos> christopheambrec: can you give a link where the 'ad' appears? I guess it is a banner of some sort at the top of the page?
2019-02-27 21:23:37 <Seddon> Community banner
2019-02-27 21:23:48 <Seddon> I'll pull it and fix it
2019-02-27 21:24:06 <apergos> (I went to what I thought was the approprate wp main page but no banner)
2019-02-27 21:24:07 <apergos> thanks
2019-02-27 21:35:05 <christopheambrec> I saw it on https://nl.wikipedia.org/wiki/Anuna_De_Wever but it only appeared once. After clicking it, it disappeared when I revisit the page.
2019-02-27 21:36:17 <christopheambrec> a banner on top of the page is exactly what is was
2019-02-27 22:08:57 <AntiComposite> https://en.wikipedia.org/wiki/Special:RecentChanges?damaging=likelybad%3Bverylikelybad&limit=50&days=30&goodfaith__likelybad_color=c4&goodfaith__verylikelybad_color=c5&urlversion=2
2019-02-27 22:09:18 <AntiComposite> I don't believe that there have been no problematic edits in the last 20 minutes.
2019-02-27 22:11:16 <rhinosf1> Same for me
2019-02-27 22:22:43 <rhinosf1> ^^^ Looks to be working now
2019-02-27 22:28:16 <rhinosf1> Anyone around to glance over a phab ticket I've just filed?
2019-02-27 22:30:59 <rhinosf1> ^^ I'll deal with it in the morning

This page is generated from SQL logs, you can also download static txt files from here