[00:26:25] Regen, what's your setup? Any HTTP cache? [00:33:00] @MaxSem cache-control:public, max-age=14400 [00:33:31] I tried $wgCachePages = false; which did not fix the problem [00:35:28] Is there a list of JavaScript libraries used in MediaWiki? [00:37:44] ...Are there any, or is it just jQuery? [00:52:34] is there a way to disable the resource loader so my css and js isnt minified [00:52:43] and also so it stops meddling with my nginx cache headers [00:53:01] for all page loads, or just a one-off? [00:53:04] all [00:55:18] i have $wgResourceLoaderDebug = true but it still invokes load.php and i dont want it to. i want it to call every needed resource directly. [00:56:34] this feature ought to be removed imo. http2 and proper cache headers solve this. [00:56:42] can't find any documentation anywhere on disabling it. [01:05:01] harej: https://github.com/wikimedia/mediawiki/tree/master/resources/lib [01:05:16] thnk you! [01:05:34] "On Wikimedia wikis, every page view includes hundreds of kilobytes of JavaScript. In many cases, some or all of this code goes unused due to lack of browser support or because users do not make use of the features on the page. In these cases, bandwidth, and loading time spent on downloading, parsing and executing JavaScript code is wasted. This is especially true when users visit MediaWiki sites using [01:05:40] older browsers like Internet Explorer 6, where almost all features are unsupported, and parsing and executing JavaScript is extremely slow." [01:05:43] i didn't know we were still supporting browsers from 1996 [01:05:57] hundreds of kilobytes! [01:05:59] Unfortuantely, a lot of people still use them [01:06:08] Wikipedia stopped supporting IE6 though [01:06:11] https://www.mediawiki.org/wiki/Compatibility#Browser_support_matrix [01:06:12] ok so how do i turn resource loader [01:06:16] off [01:06:23] In Modern, still has basic support [01:06:38] use modern theme? [01:07:08] Nope [01:07:14] "ResourceModules": { [01:07:14] "skins.modern": { [01:07:15] "position": "top", [01:07:15] "styles": { [01:07:15] "resources/main.css": { [01:07:16] "media": "screen" [01:07:18] }, [01:07:20] "resources/print.css": { [01:07:22] "media": "print" [01:07:24] } [01:07:27] } [01:07:29] } [01:07:31] }, [01:10:15] sooooo there's no way to disable the minifier [01:10:15] ? [01:10:42] ryan_, we don't really support runninf without RL. it's what prevents things from being atrociously slow [01:10:56] what if i am d e b u g g i n g [01:11:07] or have d y n a m i c c o n t e n t [01:11:12] why is this forced [01:11:41] pfft. [01:13:09] debug mode is hard [01:13:46] ?debug=1 lol [01:15:00] it still uses RL in places [01:19:42] Reedy: guess who disrupted ASMs sleep [01:43:36] exit [01:43:44] guess that doesn't work in irc [09:11:23] I'm not sure if this is the best place to ask, but I don't know how to make the left column of this table less wide: https://es.vikidia.org/wiki/Coraz%C3%B3n#Coraz.C3.B3n_y_circulaci.C3.B3n_en_otros_animales [09:12:57] I have tried adding "width: 50px;" inside the style of the columns, but it doesn't work [09:15:53] tables are sometimes tricky with column widths... I can't get it to change even with width: 50px !important; o_O [09:16:52] oh, does "!important" work in in-line styles? [09:18:39] it should. in the Firefox developer console it works, at least [09:19:21] mmh... is adding
s a good practice? This would make the text take up less space and the column would be less wide [09:21:26] well, it works that way [09:21:27] I've only succeeded if I specify "max-width: 50px; word-wrap: break-word;" in the "Reptiles (lagartos, serpientes, tortugas)" cell :S [09:22:06] ah, well, that's better than using
, I guess :P [09:24:19] another thing Vulpix, we would like the second image in the table (row "Peces") to be frameless but without removing the explanation below [09:24:36] I could do it with the first image, but for some reason the same code doesn't work with this one [09:26:09] it should work the same, use a floating div that wraps the image and description [09:28:34] it doesn't work Vulpix http://i.imgur.com/fARDnx1.png [09:29:10] the code is
[[File:Two chamber heart.svg|160px|right]]
[TEXT]
[09:31:01] remove the |right from the image [09:31:53] the
shouldn't be necessary [09:32:22] if I remover |right, then the image goes to the left [09:32:31] and the text appears below the image, but taking the full cell width [09:32:55] you should add width:160px; to the second div, so the text is the same with as the image [09:33:24] oh [09:33:26] magic! [09:33:40] thanks Vulpix :) [09:34:05] or the first div, it should work also, and maybe with better results [09:35:09] yes, looks better in the first div [10:12:23] hello. i have a question to submit. i have moved my mediawiki installation following the guide to a new centos server. i then upgraded php from 5.4 to 5.6. Mediawiki responded well as he warned me i was missing php-mbstring. but then it gave me a 500 with this error: PHP Fatal error: Call to a member function getCode() on null in /var/www/html/mediawiki/includes/user/User.php on line 1538 [10:16:45] Did you restart after installing the mbstring extension? [10:19:09] yes [10:26:17] it seems it's a bug fixed in 2013 [10:28:43] What version of MW? [10:34:00] update.php tells me this: "MediaWiki 1.28.1 Updater" [10:41:56] do you think i should upgrade to 1.29? [10:42:15] I doubt that's going to help [10:42:28] Unless the code has changed significantly, $wgContLang is apparently null [10:45:50] could it be related to the new machine IP and/or hostname? [17:57:21] jdlrobson: fwiw, I think Special:Shortpages should let one select namespace. Its a non-expensive special page, so that's easy to do [18:09:30] The other interesting part is why is MW timing out on Special:Shortpages when there are multiple namespaces in contentnamespaces. mysql should definitely be able to optimize that query [20:00:13] hi, mobile version doesn't work to me [20:00:47] https://pastebin.com/CFEumWjA [20:01:01] any idea how to solve this? [20:03:55] What version of MediaWiki and what branch of MobileFrontend are you using, auvajs ? [20:05:01] MacFan4000: 1.30.0-alpha (1c7f71c) [20:05:03] 14. 7. 2017, 19:29 [20:05:22] Ok [20:05:25] MobileFrontend 1.0.0 (2b08bd4) 28. 12. 2016, 11:47 [20:06:29] Make sure you have the latest version version of MobileFrontens ie master branch on GitHub [20:07:45] I'm using wmf/1.30.0-wmf.9 for extensions [20:08:17] Ok not sure than maybe someone else knows [20:16:25] hm there is probably a much newer version of mobilefrontend [20:17:04] how come it doesn't get installed from git? [20:17:09] I'm using this command: [20:17:11] git branch `git branch -a --list|grep -o wmf\/.\*|sort -V|tail -1` [20:17:12] git reset HEAD —hard [20:17:12] git pull [20:17:12] git submodule update --init --recursive [20:17:24] in /extensions directory [20:22:21] MediaWiki.org special:Version has 1.0.0 (56ca4cb) 17:19, 11 July 2017 [20:22:53] Perhaps delete the extension from the directory and re add it [20:26:18] !debug [20:26:18] For information on debugging (including viewing errors), see https://mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging Also see https://mediawiki.org/wiki/Manual:Errors_and_symptoms [20:29:20] MacFan4000: I delted the MobileFrontend dictionary and updated via git, I'm still having the old 28. 12. 2016, 11:47 version and not the July one... [20:42:49] Not sure than [22:56:02] I just learned cirrus allows me to do things like contentmodel:javascript [22:56:05] that's really cool [22:56:59] oh I love the cirrussearch parameters [22:57:17] as I explained to my teammates, we actually have really powerful search -- we just don't make enough use of it [22:57:52] very true [22:58:00] Doesn't help it has utterly no UI [22:58:57] like, elasticsearch is seriously cool stuff [22:58:59] and it's wasted on us :( [23:01:05] I tried to make a gadget, but it never caught on https://commons.wikimedia.org/w/index.php?title=Special:Search&profile=advanced&search=&fulltext=1&withJS=MediaWiki:gadget-advanced-search.js [23:01:13] I think WM-DE was looking into improving the UI [23:13:11] bawolff: thanks for the reassurance :) (just catching up on backscroll) [23:13:41] auvajs: still there? [23:14:11] jdlrobson: on the subject of Special:ShortPages, I've long thought that all non-cached QueryPage special pages should have a namespace selector (unless it really doesn't make sense), as something mostly handled mostly by the base class [23:14:13] `Call to undefined method OutputPage::enableTOC()` should only happen if you are using an incompatible version of core [23:14:26] what's the JavaScript equivalent to {{int:lang}}? [23:15:03] harej: What is {{int:lang}}? [23:15:21] You want the current user's language? A translated message for a user? [23:15:30] The user's current language [23:15:34] mw.config.get( 'wgLangaugeCode' ); [23:15:37] Thank you [23:15:38] err' [23:15:41] wgUserLanguage [23:15:56] wgPageContentLanguage is another one. [23:16:45] wgUserLanguage is equivalent to {{int:lang}}. The pageLanguage is equivalent to {{PAGELANGUAGE}} [23:16:57] There you go! [23:17:31] also {{int:lang}} is evil and deserves to die [23:17:41] I'm not sure what language non-users have or if that matters. [23:17:43] and be reborn as {{USERLANGUAGE}} but nobody will do it [23:18:02] non-users have the content langauge unless overriden by ?uselang=foo [23:18:16] Un-users. [23:18:21] Sub-users. [23:18:28] Contentlanguage of course being almost the same thing as pagelanguage, but not quite [23:18:29] A-users. [23:40:56] Despite my rejection of most Judeo-Christian ethics, I am, within the confines of the baseball season, monogamous. [23:50:43] Good to know.