[08:31:49] Hi, I'm trying to override the MW system message text for 'mainpage' (on spanish). This is currently defined in includes/api/i18n/es.json (for my Spanish wiki) [08:31:50] I tried overriiding this by creating a MediaWiki:mainpage page on my Spanish wiki, but it still gets the message from the PHP (and not the overridden one). Can anyone help with this? [08:32:27] I can obviously just change the text in includes/api/i18n/es.json, but for this specific task, it is cleaner for me to override it by creating MediaWiki:Mainpage [08:33:32] I have also tried defining the "mainpage" message in some other i18n in my PHP, but it still gets the one from languages/i18n/es.json [08:33:43] oops, I meant languages/i18n/es.json (in first message) and not api/ dir [08:35:50] GPEquinox: So, if your user language is set to Spanish, you edit a page and put {{int:mainpage}} anywhere and hit preview, it displays the text defined in es.json instead of the one in MediaWiki:mainpage ? [08:37:05] Yes, this gives me the text from es.json and not the overridden one from MediaWiki:Mainpage on my es wiki - [08:37:05] wfMessage( 'mainpage' )->inLanguage( 'es' )->text() [08:37:44] trying {{int:mainpage}} now.. [08:38:46] On the Spanish wiki, {{int:mainpage}} gives me the correct text (the overridden one) [08:38:58] any idea why wfMessage still gets the one from es.json? [08:39:47] You said "On the Spanish wiki". Does it mean you're running a wiki farm or multiple wikis with one installation? [08:40:27] that is correct, multiple wikis with one installation [08:41:56] If you're running your commands from the English wiki (for example), the Spanish message would be MediaWiki:Mainpage/es not MediaWiki:Mainpage, since the later is for the language defined in $wgLanguageCode for that wiki [08:44:58] Yes, I am running commands from English wiki. [08:44:58] Shouldn't spanish message be in es.domain.com/MediaWiki:Mainpage (since es.domain.com is my spanish wiki) [08:45:38] or have i misunderstood MW message architecture [08:49:38] Yes, editing MediaWiki:Mainpage/es worked! [08:49:43] You have different wikis using the same codebase, but they're using different databases. The page [[MediaWiki:Mainpage]] you created on the es wiki doesn't exist on the en wiki [08:49:49] your message makes sense to me now [08:50:13] thank you so much, this saved me a ton of time [08:50:19] yw :) [08:50:48] also, ty for helping a newbie with the explanation too;)  really appreciate it [10:29:58] Vulpix: that seems to be what the extension expects... unless I got something wrong [16:11:29] can any one help with the following errors [16:11:29] lua error:expandTemplate: template "Short description" does not exist [16:11:30] and [16:11:30] Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value). [16:11:31] tried importing new Infobox Module and new school template but didn't work [16:11:31] any help please [16:11:32] here is the link to the page [16:11:32] https://bit.ly/3gPbpla [16:50:08] From wherever you got your lua module from, you probably need a few more dependancies [16:50:34] Also, you don't have wikibase on your wiki, so the wikibase stuff isn't going to work [17:36:11] Ramu: you probably don't need Wikibase, but the templates you copied (from wikipedia?) do use it, so that may require some editing to remove those parts you dont need.