[13:37:13] hey people! after upgrading to 1.35 I'm getting the white screen of death. On my logs I can see it is complaining a lot about missing alias [13:37:25] is that mandatory now? [13:37:41] I'm getting a lot of those '[warning] Did not find alias for special page' [13:37:56] !500 [13:37:56] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [13:40:23] Reedy: Uhm, yes, but I don't see any fatal errors on the logs at least. [13:40:46] Unless it's just something preventing rendering... There should be some somewhere [13:51:15] Do you know if this warnings I mentioned cannot be causing that much trouble? [13:51:30] It shouldn't [13:51:35] Not on its own anyway.. [13:51:39] Are you seeing it on every page? [13:51:59] Let me ask that again [13:52:05] Are you seeing the white screen on every page? [13:52:56] nope, only on SpecialPages. On other pages I get some errors displayed of some other breaking changes that I also need to handle :) [13:53:16] All special pages? Does it give any more information on the warning? [13:54:33] [warning] Did not find alias for special page 'REDACTEDExtension'. Perhaps no aliases are defined for it? [Called from MediaWiki\SpecialPage\SpecialPageFactory::getLocalNameFor in wiki/includes/specialpage/SpecialPageFactory.php at line 755] [13:55:05] That sounds like a you problem ;) [13:55:21] this is the warning I see on the logs for all special pages on this system [13:55:26] https://www.mediawiki.org/wiki/Manual:Special_pages#The_aliases_file [13:55:59] 👋 folks! A question related to AuthManager. I'm new to Mediawiki and am trying to set up an instance now. All works great so far, I really liked the initial experience. One thing I want to try in my instance is to allow people to login via Telegram instead of classic login/password form – Telegram has an API for that: [13:55:59] https://core.telegram.org/widgets/login. Essentially, I need to do just two things on the Mediawiki side: (1) show a telegram login button on the login page and (2) convert a URL payload like /whatever?username=xyz&hash=xxx into a logged in user (which is created on the spot if it did not exist). I checked the docs for AuthManager and also saw a [13:56:00] couple of plugins like GoogleLogin, but I'm still not 100% sure what best to refer to for inspiration. What would you suggest? [13:56:39] The link above was broken. The right one is: https://core.telegram.org/widgets/login [13:57:00] Reedy: Ah ok, so the alias file is mandatory now maybe, those warnings were not present in previous versions. Thanks Reedy! [13:57:03] The first link is identical [13:57:34] absorto: I'm not sure if an explicit change happened, I think they were technically always needed... But maybe MW was more lieniant indeed [13:57:51] The simplest one is 'Foo' => [ 'Foo' ] [13:58:04] Makes sense to me [14:56:39] hi. Could anyone help me with figuring out why Special:Mostinterwikis is empty even though there are interwikis on the wiki? [15:02:22] It's a querypage [15:02:44] So it's possibly cached... Depending on your setup [15:07:29] Reedy: I tried to updateSpecialPages.php and that still returned 0 pages, so what would have to be done to get it to work? [15:08:51] Does it say it's updated it? [15:16:08] Reedy: no, it just said "Mostinterwikis [QueryPage] got 0 rows in 0.01s" [15:17:07] And the wiki definitely has rows in the langlinks table? [15:20:32] Reedy: ah, it doesn't, because the interwiki links are between wikis on a wiki farm not language related. I though it worked for that too [15:20:48] Does it work on enwiki etc? [15:21:14] Reedy: yeah, enwiki displays the page fine [15:21:45] Reedy: though why is it called "langlinks" since an interwiki link doesn't necessarily have to be a "language" one? [15:21:53] Welcome to MediaWiki [15:21:53] :) [15:22:19] Reedy: :P is there perhaps a population maint script for that, or a setting that defines these "lang links" other than the Special:Interwiki table [15:28:00] I lose track of how all that actually works these days [15:31:17] Reedy: heh, I couldn't see anything in the docs that could help :( [15:33:33] oh, I think I may have understood it now [15:36:27] Go on? [15:38:06] Reedy: from what I understand, Special:Mostinterwikis is only for corresponding pages in other languages, like Wikipedia links to the same page in different languages [15:38:19] That... Sounds right [15:38:36] We do track interwiki links in iwlinks... [15:38:43] So maybe you should request a new special page :) [15:39:06] Reedy: heh, I thought if for example a page on examplewiki linked to one on examplewiki2 (in the same farm) that counted [15:49:16] Reception123: Like I say, I suspect it's a valid request to have a similar special page (if there's not already a task requesting it) [15:49:29] I'm pretty sure that's why brion added the tracking table... so we can do queries like that [15:50:51] Reedy: ah, ok. I'll tell the user that ran into this error they can do that if they wish. Thanks for your help! [15:51:04] haha. fair enough :) [15:51:15] hi [18:13:35] kachkaev: if you want to write a powerful auth plugin, GoogleLogin is a good example. It can do things like multiple Google accounts for the same wiki account, or linking the account to an existing account during login. [18:14:27] if you want to keep it simple, you can write a PluggableAuth extension, which is more limited but also more straightforward [18:46:48] re: the announcement in the mailing list just now, does it apply to freshly installed extensions? I checked the links to MobileFrontend changes and they are dated late July and the 11th of September… [18:47:24] T262213 and T238075 in this case [18:47:25] T262213: XSS on Pages viewed on Mobile (CVE-2020-26120) - https://phabricator.wikimedia.org/T262213 [18:50:29] oh, checked gitiles and it looks like I am safe [19:01:46] Yeah, I think all of the patches should be public [19:02:07] If they're not bundled in the tarball, we usually make them public a week or two after Wikimedia production is protected