[02:10:35] Hi! It seems the mobile sites like en.m.wikipedia.org don't run scripts from a user's /global.js, only their local scripts in /minerva.js. Is that deliberate, and is there no support for global mobile scripts? [02:12:33] Yes [02:12:39] (At least to the first part [02:15:52] Hm. I'm asking because I got a request to create a user's minerva.js on every wiki via Synchbot, and it seems weird that we're going back to non-global JavaScript after all the effort to migrate to global.js in the first place. I can see the logic for not loading the global.js automatically, but a global-mobile.js or something would be nice. [02:18:05] * AntiComposite reads that again, but closer [02:18:19] Huh. [02:18:58] hiya Pathoschild :) [02:21:31] Hi! Long time no see. :) [02:30:56] I don't know much about the interaction between user js and MobileFrontend, don't know if someone more knowledgeable is around at the moment, but I'd suggest filing a phab task if no one turns up with more information [03:03:07] hi Pathoschild [03:03:26] Hi! [03:03:27] I think this is https://phabricator.wikimedia.org/T138727 [03:04:23] Oh, last comment in 2016. That's not very promising. [03:14:43] Pathoschild: wanna write a patch? :) [03:15:43] legoktm: btw, glancing at the hooks code in GlobalCssJs, it seems it does not use $wgUseGlobalSiteCssJs where it would really matter [03:15:49] or am I missing something? [03:29:26] tgr: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/GlobalCssJs/+/master/includes/ResourceLoaderGlobalSiteModule.php#40 [03:30:24] the module is always added, but depending upon config, the module might be a no-op [03:31:08] ah, sorry, wasn't looking at that file [03:31:24] isn't it bad to add extra RL modules though? [03:31:49] performance people usually complain about that kind of thing [03:33:00] tgr: I've never worked with the MediaWiki code, I'm not really a PHP dev, and I'm not active anymore besides running Synchbot... but if that's the only way, I could take a look. ;) [04:29:35] tgr: at the time Krinkle and I discussed how to handle it and we came to the conclusion that modules should always be loaded, but made no-ops based on config (like site and user already did). Whether that is still the best practice I [04:29:43] 'm not sure, but core still seems to do it [06:59:09] hi [06:59:34] is there a syntax to get more out of the standard wikipedia search? [07:00:42] Anon714: https://www.mediawiki.org/wiki/Help:CirrusSearch [07:02:14] do I understand this right: it is an implementation of cirrusSearch? [07:03:14] Wikipedia's search is powered by CirrusSearch [07:05:03] thanks [12:18:39] d3r1ck: Hello ! [12:18:48] hi Gopa [12:19:00] Hello andre__ [12:21:55] andre__: I have updated task description for few tasks in phabricator GCI tagged, Can you check and give feedback or publish ? [12:25:29] and for https://phabricator.wikimedia.org/T189330 can we limit two functions to be done for one student? [12:45:00] Gopa, two functions listed up there? or do you mean two occurrences of any function listed up there? [12:46:02] Gopa, argh, sorry for my last question! I realize this is about removing in core, not about replacing in extensions. Ignore me :) [12:53:43] andre__: yea [12:54:12] * Gopa sorry for the late reply [12:55:25] andre__: So can we limit two per student ? [12:57:10] Gopa, sure [12:57:47] Thanks :-) [21:07:52] sorry, e question: there is a valid motivation why the templatestyles works fine with monobook and with Vector work here: https://it.wiktionary.org/wiki/MediaWiki:Sp-contributions-footer-anon but don't work where the special page is visualized, es: https://it.wiktionary.org/wiki/Speciale:Contributi/93.38.65.148#footer [21:08:29] now i try to write the CSS in common.css but i whait the cache's update [21:11:55] cache is updated, with CSS code in common.css works. the problem is templatestyle loaded in MW namespace :( [21:12:39] on Vector� [21:17:42] Wim_b: TemplateStyles selectors get prefixed with .mw-parser-output [21:19:07] tgr: there is a fix fox use TemplateStyles in mediawiki NS and vector, or i must put the CSS in common.css? [21:19:32] (but, why in monobook skin this work fine?) [21:20:43] Wim_b: you need to add the class to the system message you want to style [21:20:53] see the first bullet item in https://www.mediawiki.org/wiki/Extension:TemplateStyles#Caveats [21:26:50] ok, ty. I try� :) [21:36:05] tgr: Work's, TY, just look in the help page... :( but, so monobook process in a different mode TemplateStyles?! [21:36:41] no idea why it worked on monobook [21:36:52] maybe the styles were already in monobook.css? [21:38:59] no, only in TemplateStyles. in fact i use monobooks and I realized it only when I logged out to see "MediaWiki:Noarticletext-nopermission" in a page [21:41:15] https://it.wiktionary.org/wiki/MediaWiki:Monobook.css <- I thought the same thing, but "fmbox" class there isn't in monobook.css