[01:22:48] can wikitionary return json [02:17:15] black_13: do you mean if we have an API? [02:17:56] i was hoping to extract parts out of wiktionary definition [17:36:38] what woule cause a search ending in a hyphen to cause a db query error [17:36:40] woule [17:36:43] would**** [17:41:33] Hard to say without more information. [17:42:14] and without knowing which exact kind of error. and MediaWiki version. and which DB type. and why you think that it's the hyphen. [17:44:51] I don't understand this failure... any ideas? https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GraphQL/+/503657#message-f28939529d719b960af5ee77cf6a1e37935901de [17:45:05] because any other search is just fine. using 1.32 and Maria 10.1.34 https://zerobin.net/?59beb115a4d96b72#6QcHUdFrFJ6OsGFgwD8/rSdvUZz7CmGs7ftfda5x6YE= [18:47:11] Hello! I'm in the process of setting up mediawiki. Is it possible to restrict account creations to specific email addresses? [18:47:40] or rather, a specific email domain [19:04:22] cuplime, I think you can require someone to have confirmed an email address before they start editing with https://www.mediawiki.org/wiki/Manual:$wgEmailConfirmToEdit [19:04:37] I don't think you can require an email address to be confirmed before they can log in [19:05:01] unless you could do that I don't think you could rely on such a measure as any kind of security [19:05:17] Krenair: thanks. I'll use that. I also found a filter/hook I can add to localsettings.php apparently [19:05:22] oh its not for security [19:05:27] I have other provisions in place for that [19:05:36] this is just to ensure people aren't using personal emails [19:05:56] it probably won't even end up being a problem, but meh [19:07:10] well I can't vouch for them but [19:07:28] https://www.mediawiki.org/wiki/Extension:EmailDomainCheck or https://www.mediawiki.org/wiki/Extension:Email_Authorization or https://www.mediawiki.org/wiki/Extension:CheckEmailAddress maybe [19:08:48] the middle one is by Cindy Cicalese [19:09:02] thanks, the suggestion is appareciated either way [19:09:21] so should be decent [19:09:33] cool, ill play around with it [19:18:51] Hello. I was wandering if there is a way to render that arrow image (used for external links) also to InterWiki links? I dont like that the InterWiki prefix is shown and if the link is defined with pipe like [[xyz:article|] then there is no indication that the link is external. [19:26:58] apa, it's a CSS trick [19:28:57] https://i.imgur.com/bZFYT1D.png [19:29:01] N3X15: could you head me for the right files / folders in the source tree? I assume it is not related to the InterWiki extension since its only for creating the web ui for that database table [19:31:50] well [19:32:11] For a starter, the interwiki stuff doesn't automatically assign a class for each interwiki type [19:32:30] The tag always has a class of `extiw` [19:32:51] So what you'll need to do is perform an attribute match with the desired href prefix [19:33:52] https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors [19:36:26] This seems to work for me. You'll have to do all the background image stuff yourself. a.extiw[href^='https://en.wikipedia.org/'] { color: red !important; } [19:37:59] Thanks. where should those css's be declared? [19:40:13] is all the css in the skins or should this be declared somewhere in general [19:43:24] [[Mediawiki:Common.css]] [19:44:57] thx [21:23:02] I'm still getting that failure. :( https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GraphQL/+/503657#message-eae472249449d9c742f774eae33f98af489911c4 [21:54:51] how do i get page authors by page title via api? [21:56:50] I guess you'd have to pull all revisions, and use that to get the list of authors [21:59:41] hmm [22:12:13] Hello! Hope you're all having a good night. I'm looking for something in the mediawiki interface messages, and I can't find it. When you have interwiki links on special pages, like linking Recent Changes to different language versions, where do you put the interwiki links in the interface text please? [22:12:51] I found out how to do it for the Main page, which is great, but for other wikis in our group, I can't seem to link the English RC to other versions. [22:15:00] Can you even do it for Special pages? [22:16:06] We don't do it on Wikipedias... [22:17:04] Well this is something I don't properly know, Reedy. The situation is this, I'm on a non-WMF site which is using mediawiki for its base. I have managed to link all the language versions with IW from the Main page, but when you go to recent changes, it's not detecting the existence of some versions of our service. [22:17:37] Does MW know about the other wikis? [22:17:47] Yes. [22:17:52] Are they in the interwiki map? [22:18:00] I believe so. [22:18:11] The interwiki links work when we put them into pages [22:19:30] Is your wiki public? [22:19:59] Yes [22:20:13] http://en.vikidia.org [22:20:31] You will see on the main page links to all the language versions, plus we also link to the simple English Wikipedia [22:21:37] I see more recent changes IW links than on the mainpage [22:22:09] I just busted something there, hang on while I fix it [22:23:11] That's better. If you look now, you'll see all the interwiki links to every version of the site. [22:24:06] All we do is just add [[xx:]] to the page, and it links. I assume that means it's in the interwiki map, so if that's right, all of them are [22:29:05] My simple question is this. If the interwiki map is linking properly to all of the sites on the main page, why is RC missing links to those sites? [22:34:56] I'm going to have to sleep on it, Reedy. I have to go. [22:40:56] DaneGeld: Unrelated, but you are running an unsupported version of MW [22:43:15] simple //simple.wikipedia.org/wiki/$1 [22:43:17] * Reedy shrugs [23:13:11] Sveta: filed T220893 (suprisingly, we did not seem to have a task for this yet) [23:13:12] T220893: API for listing authors of an article - https://phabricator.wikimedia.org/T220893