[02:59:16] Anyone willing to help me debug Scribunto? [03:00:05] spaghetti2514: nowhere near an expert but I can give it a try [03:00:48] I've gotten it fairly installed, but whenever I try to run anything in the console It gives me back "Lua error at line 1: attempt to call global 'print' (a nil value)." [03:01:04] whether there's a print statement in the snippet I'm running or not [03:05:02] tgr: any ideas? [03:11:50] Perhaps try re-installing scribunto? [03:11:56] spaghetti2514: maybe there is a print statement in your code? [03:12:05] the Lua module itself I mean [03:12:29] you can use print in the console but the module itself is sandboxed and cannot access it [03:12:53] (you should use mw.log instead) [03:15:55] wow [03:16:00] okay I didn't know that [03:16:08] so I just can't use print in the module [03:16:30] yep look at that fixed everything [03:16:52] https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual is a pretty exhaustive list of things you can do in Scribunto Lua [03:17:34] awesome [03:18:07] for the record, is there a way I can make certain functions available in modules? [03:18:20] or are they not available for good reason [03:20:31] they are unavailable intentionally, not sure how good the reasons are [03:20:58] https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Differences_from_standard_Lua mentions some [03:22:06] alright, sounds good [03:22:10] thanks for the help [03:23:49] man I did like 3 reinstalls and compiled the luasandbox php extension and all kinds of shit [03:24:30] and it was all just because I had print in the module I was using the console of to test [03:24:43] welp, thanks again [07:09:32] Hi all [07:11:37] I am a CSC student interested in open source development and would like to work with mediawiki foundation in the Outreachy EVoC [07:11:56] Please I would like to talk to a mentor :) [07:13:44] Or can someone please direct me 😕 [07:22:46] Please help [07:29:25] Please I would like to talk to a mentor :) [13:32:16] hello all........I am new here.. [13:35:15] himanshi: Welcome! Do you have any specific question? If so, just ask. [13:35:51] how to start contributing here [13:36:04] !start | himanshi [13:36:04] himanshi: https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [13:36:29] himanshi: The page linked gives a lot information about that. [13:36:40] ok [13:36:43] thanks [13:36:49] No problem. [15:15:39] hi everyone, which is the new template that replaces i18n? [15:23:10] Megver83: Context? [15:23:42] There is no such template called "i18n" on mediawiki.org [15:23:45] andre__: It's for a meadiawiki based website http://eluniversomela.x10host.com/index.php/P%C3%A1gina_principal [15:23:51] uh there is, wait, sorry [15:24:00] why do you think that it will get replaced? [15:24:08] https://www.mediawiki.org/wiki/Template:I18n seems to exist [15:24:44] andre__: Yes, but multilingual pages in wikipedia don't use that tamplate [15:32:03] Megver83, do you have an example link? [15:32:23] https://en.wikipedia.org/wiki/Parabola [15:32:47] andre__: See at the left side "Languages" [15:32:56] Megver83, where? [15:33:00] ah [15:33:20] and it doesn't use i18n [15:33:32] You refer to the UniversalLanguageSelector extension? [15:33:49] The list itself might be populated by Wikidata though [15:38:46] Yeah they are wikidata [15:46:40] andre__: yes, I think it was UniversalLanguageSelector [15:50:04] andre__: although I haven't find it in other multilingual articles [15:50:24] like... where not? [15:50:57] if articles in other languages are not existed, they are not linked (if you do not explicitly have enabled the ArticlePlaceholder extension) [16:56:01] Hi folks. I'm the Oauth2 plugin, and i'd like to disable "regular" logins (force everyone to use Oauth2). Is this possible? [17:22:33] dobbser: MediaWiki 1.27+ or older? [18:28:30] Hello [18:29:35] Anyone here know anything about "Infobox company" [22:30:56] hi -- I'm trying to figure out how to get the citation (bibliographic) info for a page [23:25:09] holooking for help with API call to get citation info for a page (ie for the page itself) in json bibtex or yaml