[09:16:09] Hello [09:20:07] Guys, I need some help to figure out why my mediawiki login page is not loading properly.. [09:20:50] hi [09:21:20] Hello @MatmaRex [09:23:40] https://www.zuluhotel.com.br/wiki/index.php/Especial:Autenticar-se [09:27:47] Guest69136: it's trying to load styles from this page: [09:27:48] https://www.zuluhotel.com.br/wiki/load.php?debug=false&lang=en&modules=ext.uls.pt%7Cmediawiki.htmlform.styles%7Cmediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.sectionAnchor%2Cui%7Cmediawiki.skinning.content.externallinks%7Cmediawiki.skinning.interface%7Cmediawiki.special.userlogin.common.styles%7Cmediawiki.special.userlogin.login.styles%7Cmediawiki.ui.button%2Ccheckbox%2Cinput%2Cradio%7Cskins.monobook.styles&only=styles&skin=monobook [09:27:57] but it fails with 403 Forbidden [09:28:13] i don't know why that would happen [09:29:54] it seems like this one module in particular causes it to happen: https://www.zuluhotel.com.br/wiki/load.php?debug=false&lang=en&modules=mediawiki.special.userlogin.login.styles&only=styles&skin=monobook (removing it from the URL causes the rest of the styles to work) [09:31:01] i am pretty sure MediaWiki will never output a 403 Forbidden error here, so i'd look for the cause in your Apache configuration [09:35:29] Thank you MatmaRex, Im going to check my apache configuration. [09:36:39] maybe we output some other error and it gets converted to 403 somehow [09:45:55] Hi all, i am stuck. I use mw 1.30.0 with the translate extension. German is our base language, but the strings for the menu are stuck in the english version. [09:47:26] found the solution for my problem. https://www.mediawiki.org/wiki/Manual:Load.php [09:49:19] i tried clearing cache, emptied the Mediawiki:Sidebar, disabled cache, touch LocalSettings, etc… nothing brings up the original german strings in the translation page. Would be very grateful for any idea. Here´s the link to the translation interface: http://dein-lastenrad.de/index.php?title=Spezial:%C3%9Cbersetzen&filter=translated&group=wiki-sidebar&language=en&action=proofread [10:25:00] Can you truncate the large cache table without worrying? Do I have to back it up? I've heard no but I'd like to hear from an authority (ideally an channel operator) [10:26:58] I already cleared the `wikiobjectcache` table [10:30:49] oh, i see there´s a `i10n_cache`… cleared that too. no change. [12:16:42] http://en.wikipedia.org/wiki/Special:Search?go=Go&search=Category:My_Category links are removed when saving or previewing the edit. I tried enabling logging, but do not get any output on the page. [12:17:37] Why did that turn into a link :-/ Do I need to escape the brackets? [12:54:55] Guys, something's come up and it involves RegEx, is there anything you could change *IF YOU COULD WITHOUT RISK OF BREAKING STUFF* - so ignore legacy, ignore what everyone knows - is there anything you'd change? eg "." for any character (sort of) - the way newlines are handled. Some of the weird variations in what certain "specials" mean like \W that no one uses them? Inability to get each match of an expression that occurs multiple times, eg [12:54:55] ... (?: ... ( ... ) ... )* ... (unable to get a list of matches for "(...)") or (...)* unable to give you a list either. I have my own opinion of course, but I'd like to hear from you - PMs welcome if you'd prefer in private. Suggestions or just bitching about something welcome. (PHP and PCRE :) Forgive if too far off topic, I don't do this lightly!) [13:29:16] Hello, is there a way for me to test mediawiki's ability to send email via smtp [13:29:26] i put in the settings but not sure how to test to see if mail is now working [13:47:13] kevindank: Special:EmailUser? [13:47:18] IIRC, you can email yourself [14:02:15] So when i try and send mail i get an error: /home/ipdocketengine/public_html/includes/mail/UserMailer.php: PEAR mail package is not installed [14:02:28] however i installed pear and added the include line to php ini [14:03:09] i also configured the smtp settings in localsettings.php [14:03:32] Did you restart your webserver et al after? [14:03:39] include_path=".:/opt/cpanel/ea-php70/root/usr/share/pear" [14:03:46] did not restart webserver [14:06:30] Rebooting server now [14:10:28] After rebooting webserver still getting the same error that pear mail package is not installed [14:25:58] is it possible to set a date format to a date field? or does it depend solely on the user preferences? [14:26:36] i tried looking into Messages.php for desired keys, but having one of them as the display format doesn't really work. [18:47:54] Hey people [18:47:55] I have a question [18:47:56] Hi Seddon, just ask! There is no need to ask if you can ask, if you already asked the question please wait for someone to respond [18:48:17] I will [18:48:19] So [18:49:07] Do gadgets work with mobile frontend? [18:50:05] Specifically ones loaded by default for anons [18:50:19] Seddon: are you referring to the Extension:Gadgets? [18:50:25] kevindank: correct [18:51:13] Im not sure myself however you may want to ask here: https://www.mediawiki.org/wiki/Extension_talk:Gadgets [18:52:55] Seddon: I'm thinking no [18:53:05] RL modules that are loaded onto both.. Have things like [18:53:06] "targets": [ [18:53:06] "mobile", [18:53:06] "desktop" [18:53:07] ], [18:53:38] https://github.com/wikimedia/mediawiki-extensions-Gadgets/blob/master/includes/GadgetHooks.php#L145-L150 [18:53:45] Definitely doesn't set the options [18:55:39] Reedy: The closest answer I could find is https://phabricator.wikimedia.org/T140863 [18:56:09] and https://phabricator.wikimedia.org/T173309 [18:58:52] there is something about mobilefrontend that seems to suppress gadgets [18:59:01] and I can't quite workout what [18:59:33] onAllowLegacyGadgets? [20:42:57] Text [21:17:17] hi, there is a way to get the amount of rows return by cargo_query? (i cant use count(*) because i use group by in the query) [21:44:27] anyone? [21:57:04] niso: try asking in the semantic mw channel [21:57:08] !semantic [21:57:08] Semantic MediaWiki is MediaWiki extension that lets you store and query data within the wiki's pages. It has a dedicated IRC channel at #semantic-mediawiki. [22:57:39] * bawolff looks for code review for https://gerrit.wikimedia.org/r/#/c/432336/