[11:58:16] I'm having some issues with a database query, can someone sanity check that I'm not missing something obvious? [11:58:32] https://quarry.wmflabs.org/query/33585 is returning zero results, but the user has clearly made edits: https://en.wikipedia.org/wiki/Special:Contributions/Craub [11:58:42] If I change "Craub" to "Samwalton9" my edits show up no problem. [11:59:25] Samwalton9: Its been more than 30 days [11:59:36] Recentchanges only has last 30 days. use the revision table instead [12:00:00] Ah, of course - thank you! [13:43:52] hi [13:44:29] Is there a stipulated time for this? https://meta.wikimedia.org/wiki/Special:GlobalRenameProgress/Wilfredor [13:45:01] I need to make some contributions, however, I am blocked during this process [13:49:20] The_Photographer: I think (I could be wrong) but it just based upon how long it takes for the change to be accepted by all the databases [13:50:32] Could it take a week more? [13:58:49] The_Photographer: I think it depends on edit count [14:15:29] Zppix: there is a photo contest and if I do not upload the photos in the next week, I will not be able to compete [14:16:52] The_Photographer: im reaching out to find someone who would know more [14:17:59] <[1997kB]> Zppix, The_Photographer, it's being resolved. [14:19:05] Thank you! [1997kB] [14:19:38] <[1997kB]> https://phabricator.wikimedia.org/T215107 [14:20:08] <[1997kB]> a patch is for review. [14:23:29] The_Photographer: once the patch above is reviewed your rename progress should continue, sadly theres not much more that can be done [14:23:32] (afaik) [14:54:32] is there anyone who can help with https://phabricator.wikimedia.org/T203158 ? [14:55:29] Zppix: ok thanks [14:58:42] superyetkin: looking sorry for the delay [14:59:20] oh yes, i remember this have you tried greping (or searching) the code for something could be related to this? [15:00:07] I implemented the uca-tr change mhyself [15:00:29] but I am not sure if there is a better optiomn to represent the alphabet [15:00:40] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @Tonina_WMDE & @tgr - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [15:00:55] I mean something else rather than uca-tr? [15:01:23] superyetkin: that would have to be discussed with the people the change would affect in my opinion [15:01:43] oh, this is clearly a bug [15:02:04] superyetkin: wait, im lost, i thought you said you already implemented the change? [15:02:11] The Turkish alphabet has the letter � (capitalized as I) [15:02:27] let me clarify [15:02:41] * bawolff opens the bug [15:02:47] superyetkin: Oh i see now [15:02:54] I implemented the category sorting routine by adjusting the configuration to uca-tr [15:02:57] bawolff: you got this? [15:03:09] but this issue appeared then [15:03:32] yeah, i can take a look. I worked on the code that decides which letter is the uppercase variant back in the day [15:04:23] bawolff: thanks... superyetkin bawolff will be able to help you better than I can he has a lot more expierence with mediawiki than i. [15:05:58] ok, thanks [15:12:38] superyetkin: Let me make sure I understand correctly, there's the letter ý, and it should be shown as I in the category section letters, but instead is being shown as ı? [15:14:38] wait, no [15:15:26] The issue is, that on the page https://tr.wikipedia.org/wiki/Kategori:Bat%C4%B1_Asya_%C3%BClkeleri the section with "Irak‎" in it, should come under the header "I" but instead its coming under "ı" [15:18:25] yes, the letter � is not capitalized [15:18:57] shall we continue here or in a private session? [15:20:14] Better here, as if I say something wrong, people can correct me [15:21:17] Is "ý" considered the same letter as "ı"? [15:22:43] the characters you type are not shown correctly [15:22:47] let me retype them [15:22:59] the capitalized version of � is I in Turkish [15:23:12] and the same goes for i and � [15:23:21] the latter works fine [15:23:30] with uca-tr, I mean [15:24:02] I am not sure if the standard (uca-tr) supports it or not [15:24:40] oh right, because ý has the code point in iso-8859-1 that ı has in iso-8859-9 [15:24:59] so I got confused [15:25:12] but i understand what you mean now [15:30:51] so, do you think the problem is in the uca-tr definition? [15:38:13] I think its more a MW problem [15:39:10] * bawolff still refamilarizing himself with how the icu collation code works [15:40:47] wow, how can you do this, by the way? [15:40:58] to make the text "* bawolff still refamilarizing himself with how the icu collation code works" appear there? [15:41:13] use /me [15:41:22] /me still refamilarizing himself with how the icu collation code works [15:41:59] * superyetkin trying to solve T203158 [15:42:12] hmm, thanks [15:44:27] I think maybe it might be related to the definition at https://github.com/unicode-org/icu/blob/master/icu4c/source/data/coll/tr.txt [15:45:25] err maybe not [15:46:11] err nevermind [15:46:13] that's unrelated [15:50:18] Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @Tonina_WMDE & @tgr - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [15:53:07] hi mainframe98 :) [15:53:29] Hello hauskatze [16:00:28] Hi everyone and welcome to this week's Technical Advice IRC Meeting with me and @tgr o/ [16:00:28] We had two topics added prior to the meeting and we will start with those. [16:01:00] Hi all! [16:01:15] Hello [16:01:18] can you look at https://phabricator.wikimedia.org/T203158 ? [16:04:10] Right, I had a question related to identifying wikis in a multi-wiki environment, like WMF for example. How does one identify one wiki from another? Using $wgDBName does not work in setups with table prefixes, but the recent changes to wfWikiId and Wikimap don't convince me that it is the better solution [16:05:03] I think tgr had an idea about that ^ [16:05:13] Typically we used DBName-DBPrefix format [16:05:35] internally MediaWiki either uses wfWikiID() or DatabaseDomain::getId() [16:06:16] which use $wgDBName or "$wgDBName-$wgDBPrefix" if there is a prefix [16:06:45] And if your db name has a '-' in it, everything goes to hell [16:07:30] DatabaseDomain uses "$wgDbName-$wgDBmwschema-$wgDBPrefix" if there is also a prefix (not sure why the other doesn't) [16:07:41] ...there is also a schema, I mean [16:08:05] for engines like Postgres which support schemas [16:08:36] and yes, they handle encoding weird characters differently [16:09:28] So based on that, that would indicate that using WikiMap::getCurrentWikiDbDomain is better than wfWikiId, because it includes the schema? The MW-version requirement is irrelevant for my purpose. [16:10:06] what are you trying to use it for? [16:10:25] wikifarms are a messy area generally, with no proper support in core [16:10:32] Trying to distinguish one wiki from another. [16:11:15] some things use wiki domain names (and then do various hacks to account for mobile domains, which is again something not properly supported in core) [16:11:41] I've got configuration that should apply to one wiki, but (potentially) not the other, so I need to ensure I'm storing the wiki identifier (not the name, as it can change) correctly [16:12:57] It doesn't seem like WikiMap does distinguish between mobile domains and regular domains though, so that should be fine. [16:14:16] the concept of internal wiki IDs is not very well defined and a bit fuzzy around the edges [16:14:24] especialyl its relationship to database "domains" [16:14:47] if your question is what WikiMap uses for ids, that's DatabaseDomain [16:15:16] but I think a wikifarm where two wikis only differ in the schema would blow up quite badly [16:15:24] wfWikiId should yield a unique identifier within the wiki farm. the structure of that identifier should be opaque. [16:17:16] mainframe98_: Regarding the topic "setting ref="noopener" on OOUI buttons". Yes, it is possible to do that. I don't know if you're using the ooui button element directly or as part of another ooui class but you can try to pass the attribute and its value in the config options when you're creating the instance. If that doesn't work then after you create the button it should be ok to do button.$element.attr('ref', 'noopener') [16:17:24] also I'm not sure SiteConfiguration works out of the box [16:18:19] tgr: SiteConfiguration works out of the box as far as I can determine. I've built a small wiki family using that. It did only distinguish on database name, so it didn't encounter any edge cases [16:19:41] Tonina_WMDE: It's actually in PHP. I'm pretty sure there's no JavaScript touching the button at all. [16:20:31] superyetkin: seems like people are already looking at the phab ticket and bawolff asked for some clarification [16:20:46] Yep, I'm looking into it [16:21:12] (PHP) ButtonWidget can only set "rel" to nofollow, or nothing at all. Since it's locked down that much (https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/php/widgets/ButtonWidget.php$171) I'm curious to know if it's not necessary for those buttons [16:22:15] For one thing, SiteConfiguration involves calling a command line mainteanance script which runs with another wiki id and dumps serialized data, so any configuration value that does not roundtrip with serialization will be damaged [16:22:55] also I vaguely remember it only giving access to a certain subset of configuration settings but I'm not really familiar with it [16:23:24] Luckily, I never had to rely on that, which is why I'm asking these questions - I'm trying to build something that circumvents that thing, but it needs to correctly identify wikis. [16:25:15] chache prefixes use WikiMap::getCurrentWikiDbDomain()->getId() internally [16:25:26] using wfWikiID() should be fine too [16:27:09] Yet looking at 491661 for example, wfWikiId is replaced by WikiMap::getCurrentWikiDbDomain()->getId(). Am I missing something? If both are fine, why use one above the other? [16:30:08] wfWikiID cannot differentiate between a wiki in the foo database with table prefix bar, and a wiki in the foo-bar database for example [16:30:34] eventually it will be fully replaced by the DB domain, I imagine [16:30:44] but in normal scenarios it should work [16:31:39] re: OOUI, yeah there are plenty of cases where it does not support a valid HTML attributr [16:31:48] feel free to submit patches etc. [16:32:01] Well, experience has taught me that that usually ends badly (for me at least) so if there's a better alternative, I'd rather do it right from the start. I'll pick WikiMap/DatabaseDomain then, it has a few handy methods that express themselves better than wfWikiId does [16:33:23] I'll go and see if I can create a patch for that OOUI widget then. [16:33:53] Thanks for the answers. This should help me along quite a bit. [16:38:27] okayy any other questions, we have like 20 more minutes [16:39:13] superyetkin: So i guess tr is the first collation to encounter this bug, as its the first one to take two letters that used to be primary different (in english) and make them secondary different. Most collations do the opposite [16:53:13] For some reason, I can't seem to copy and paste unicode into vi. that's odd [16:57:18] I've got to go. Thank you all for the help! [17:01:19] ok I guess that's all for today. Thanks everyone! o/ [17:02:51] bawolff: hmm [17:03:06] so, what do you suggest? [17:18:21] superyetkin: I think easiest is to remove lowercase dotless i from consideration. I submitted a patch to do that [17:31:34] bawolff: is this the #wikimedia-tech channel? [17:31:37] bawolff: ok, thanks for that [17:31:46] revansx[m]: yes [17:31:49] revansx[m]: yes, it is [17:32:00] thanks! [17:32:26] is it too late to ask a question? [17:33:33] it is never too late to ask a question and seek an answer :) [17:34:50] wonderful. thanks.. i'm running MW 1.30 and 4.3 (c35e352) 12:50, 14 March 2018 .. and I'm having trouble with popup forms [17:37:06] * revansx[m] sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/dsFRTiOCxuHswfiuwMIzENhp > [17:38:17] * revansx[m] sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/qqYOpPZSeRfAIsHujwUwdgwX > [17:52:01] revansx[m]: if nobody answers you here, try also #semanticmediawiki [17:57:07] aye [19:29:48] [[Tech]]; Ekkasit Aemsa-Ard; /* แก้ไขครับไม่ใช่แก้ตัวครับ */ new section; https://meta.wikimedia.org/w/index.php?diff=18889293&oldid=18852767&rcid=13218737 [20:13:58] [[Tech]]; Schniggendiller; Undo revision 18889293 by [[Special:Contributions/Ekkasit Aemsa-Ard|Ekkasit Aemsa-Ard]] ([[User talk:Ekkasit Aemsa-Ard|talk]]): ???; https://meta.wikimedia.org/w/index.php?diff=18889348&oldid=18889293&rcid=13218890 [21:55:31] Can you connect multiple MediaWiki Accounts to one Phabricator Account? If so, how? [21:57:42] no [22:00:12] Thanks for the quick reply, was asking as I'll be on RhinosF1 (public) on Wikipedia for next few days and don't see point of having multiple phab Accounts. Amy advice? [22:05:32] ^^ Bawolff - Any advice? Logged in to my public Unified account but phab doesn't support linking accounts. How can both be used to get into the same phab Account? [22:06:50] E.g. RhinosF1 and RhinosF1 (public) be connected on phab. [22:07:47] that's not possible i think [22:07:54] you can only attach one account [22:09:35] What's the best way to link things like monitored tickets? [22:10:00] Would be good if MediaWiki had shared watchlists. [22:12:54] You can attach one wikitech account and one SUL mediawiki account to your phab account [22:13:06] You can't connect two SUL accounts to the same phab account [22:14:55] Bawolff - I have 2 MediaWiki Accounts - RhinosF1 and RhinosF1 (public) but want to keep my subscribed tasks and everything is that possible? 2. Has anyone ever suggested shared watchlists/notifications on Wikipedia for public/tests Accounts linked to main account. [22:15:41] rhinosf1 no that's not possible. [22:15:54] you can only have one oAuth account attached to your phab account. [22:16:19] so you can remove one and add another (but you cannot have 2 at the same time) unless it's a wikitech account. [22:16:35] For 2, I think its unlikely anyone will work on that tbh [22:16:38] in which case you can have one oauth account and one ldap account attached to your phab account. [22:17:56] I see and it would need massive consensus Bawolff. [22:18:32] Its also a lot of work for something that benefits a small number of people [22:18:50] I'll just have to click around on my ToDoList and watch out for emails. [22:19:10] Bawolff - I can imagine. [22:54:41] Is there a simple, generic way to map from a wiki db name to it's language? For example ukwikimedia needs to map to english, not ukranian [22:55:20] additionally this is from outside mediawiki [22:55:30] (and somewhere that can't make web requests) [22:55:43] no. copy-paste the list from somewhere in operations/mediawiki-config :) [22:56:11] well, i guess that will work at least :) [22:57:23] search for wgLanguageCode