[00:04:32] MatmaRex: Thanks [00:07:40] or use ApiSandbox? [00:16:14] Is there a way to completely get rid of OOjs UI? Perhaps, is there a method to remove modules that I don't want to use? [00:31:28] TridenRake: you could use adblock or something. of course, nothing using oojs ui will work after you do that [00:32:08] \o_ [00:33:14] MatmaRex, I am not asking this for Wikimedia sites. :) Working on a custom mediawiki project. Would love to have the default UI. [00:34:11] TridenRake: Well if you don't enable anything that uses oojs, than oojs will not be included on the page [00:37:03] bawolff, I have enabled some forms like create page, search and similar input boxes. Sign up and login uses the OOjs UI too. This is a KB installation for a school project and they have requested me to use the default UIs. [00:37:40] oh well, you probably have to modify MW for that [00:39:10] Look for the getDisplayFormat() functions and change them or something [00:39:16] doing that is totally unsupported of course [00:40:32] I understand. In order for MW to use OOjs, it should be registered (something like includeOOjs()) somewhere right? Is this used in multiple files or is there any common entry point? [00:41:12] most of the cases you are seeing is probably related to the HTMLForm class [00:45:42] So I found htmlform.jss and htmlformoojs.css. But the classes for the OOjs are hardcoded right? [00:53:03] I mean php class. stuff in includes/htmlform [00:53:23] Ah! Thanks. :) [00:53:31] * bawolff again says that doing this is totally unsupported. don't blame us if things explode :) [00:53:46] it will also make updating MW versions difficult. [00:55:31] bawolff, You are helping me out and I don't think MW team/any supporters shud take the blame for a dev's mistake. Whatever I do, it'll be on me. :) I hope the license says the same. [00:55:56] Well yes, regardless of anything there's no warranty [00:56:06] But we generally help people when they have problems [00:56:29] if you custom modify mw core, we generally say your problem if you run into issues [00:57:02] Understand. :) [00:57:12] *stood. ;) [02:06:28] how do i show recent changes without deletion entries lines in it? [02:10:44] what exactly does that mean [02:15:35] I guess it means hiding log entries from recent changes [02:15:44] *he means (sorry) [02:18:47] no, 'it' is fine too in English [02:19:05] but my question is regarding the meaning of "deletion entries lines" [02:22:07] when you delete a page, recent changes displays an entry with the deletion log, I think gry means that [02:26:12] see, I thought it meant negative net lines [02:26:22] but sure, .mw-changeslist-log-delete { display: none; } [09:06:04] Morning [09:06:30] Is it possible to make mediawiki searchbar work with Ä = AE & Ä | AE = AE & Ä [09:11:38] hey all; I am trying to install scribunto on Ubuntu 16.10; I installed mediawiki via the repos, and I am looking at the requirements for scribunto. It says PHP5-dev -- all that is available is PHP7-dev. Same with liblua5.1-dev -- 5.3-dev is available. [09:11:43] Can I just grab the latest? [09:47:38] The mediawiki search is basolutely broken. lol [09:47:55] If any mediawiki internal might help me.. Id appreciate that :P [10:07:44] Does the extension ECHO depend on any other extensions? Is it a heavy extension? [10:19:25] nevermind; working out [10:46:07] Ughh, mediawiki team, why did you remove &format=txt ? My software no longer works! [10:46:11] http://stackoverflow.com/questions/40607815/how-can-i-get-the-format-txt-mediawiki-api-option-back [10:46:44] (Good work by the way. I'm sure you had your reasons) [10:52:39] akiva_, and your https://i.stack.imgur.com/WBRnJ.png is from where? [10:53:05] andre__: https://www.mediawiki.org/wiki/API:Data_formats [10:54:19] akiva_, the text says "All formats other than JSON are deprecated." [10:54:23] is anything unclear about that? [10:54:47] Nope. [10:54:52] i thought we removed those years ago… [10:55:12] I thought we wern't deprecating them all, last I read on the mailing list [10:55:28] If there is not an easy way to get it back, that is fine; i just have to add a few regular expressions to extract what I need. [10:59:14] p858snake: andre__ Relevant: http://xkcd.com/1172/ [10:59:48] Nah. https://xkcd.com/927/ [11:07:26] andre__: lol [11:08:38] So I installed echo. Works good. Is there a way to force mediawiki to use the base browser style UI everywhere? [11:09:28] Like, removing the mediawiki ui and other styles that bundles with mw. I see a lot of .less and .css files. [11:15:07] Mediawiki search is so broken [11:15:08] Wow. [11:17:40] That's nice [11:17:58] Not really :/ [11:18:09] It would be cool if it would work with german umlauts [11:18:25] MW search is vague [11:18:31] Default search using MySQL is crap [11:18:35] Yeap [11:18:38] Thats what i maen [11:18:39] mean [11:18:52] I created a fix to make it work iwth umlauts, but its not working yet sadly [11:19:11] SELECT page_id,page_namespace,page_title FROM `page`,`searchindex` WHERE (page_id=si_page) AND ( MATCH(si_title) AGAINST('+mustervertru8c3a4ge +mustervertraege ' IN BOOLEAN MODE) ) AND page_namespace = '0' LIMIT 20 should list me a page called "Mustervertraege" but it doesn't. [11:19:17] Please make sure you submit it to gerrit! [11:19:46] I read it as 'please make sure you submit it to sheriff' and was like 'wat'. D'oh. [11:20:09] gry: That'd be an awesome name for a CR controller [11:20:54] Alas, my brain can't invent an awesome way to read 'CR' as. I simply don't know what it is. Hmm... [11:21:12] crap redactor [11:21:14] code review [11:22:40] Oooh. Yes, I concur with what you said now. :) [13:23:57] How to hash the password during login in mediawiki? [13:24:50] I can see the password in *clear text* in Wireshark [13:28:35] How do I hash the password client side before sending it? [13:28:39] use HTTPS. [13:41:45] Hello71: Thank you, but is there a way to tell mediawiki to use MD5 or other hashing algorithms through JavaScript? [13:42:33] setting up HTTPS is difficult [13:43:12] that's not secure [13:46:08] Hello71: okay, will try to set up let's encrypt certs [13:46:52] And is there a way to disable autofill entirely on mediawiki or at least on pages like Special:UserLogin? [13:50:18] Please point me on how to set autocomplete="off" in all forms in mediawiki [13:51:30] medirc: that request makes no sense, as basically every web browser nowadays ignores autocomplete="off" [13:51:51] it's up to users and their settings in their browsers what should be remembered or not. [13:52:40] I don't see any good reasons why you as a wiki admin would want to dictate users which login data their browsers store or not. [13:58:15] andre__: I was trying to secure the wiki. But you are right, it's up to users. [13:59:56] medirc: then use HTTPS. [14:07:05] andre__: yes, will do that. Should I need to change the $wgServer value to https://mywiki.org from http://mywiki.org after setting up lets encrypt? [16:02:16] Shit... someone hacked into my mediawiki.org account. [16:02:30] Looks like it was about 20 minutes ago. [16:02:56] Now I can't log in, plus it looks like I vandalized the site - and as a result, I'm blocked. [16:02:58] :( [16:03:25] I don't know how this could have happened, but I definitely did not do the vandalism. [16:03:34] Can anyone here help? Is this the wrong place to ask? [16:04:04] hi [16:04:10] Hello. [16:04:50] Yaron: Jamesofur might be able to help but I don't know when he'll be around. [16:04:52] Oh, I guess it's not really vandalism... quasi-vandalism. [16:04:56] Yaron: it was a global block [16:05:09] guuys [16:05:33] Anybody of mediawiki internals around [16:05:34] :( [16:05:42] I rly need some help :P [16:05:43] Im so lost [16:05:56] Xatenev: Mediawiki internals? Please just post your question directly. [16:06:10] Niharika: alright. [16:06:13] Skizzerz: yes. [16:06:27] Yaron: you can go to Special:PasswordReset to have a new password emailed to you, hopefully the attacker didn't change your email [16:06:35] The mediawiki page search is broken with umlauts. [16:06:36] if that doesn't work, you'll probably need to contact the stewards [16:06:50] Well atleast for wikipedia if I search for Ä It searches for page titles with AE and Ä [16:06:55] Not for my local mediawiki though. [16:07:03] It only searches for Ä => Ä and AE => AE [16:07:04] Skizzerz: I just tried that, although I didn't get an email... [16:07:10] :( [16:07:14] Is there any possibility to make Ä => Ä & AE [16:07:21] Maybe whoever did it changed the email address too? [16:07:40] That's assuming I have an email address set for mediawiki.org - I'm not 100% sure about that. [16:07:48] Skizzerz: who are the stewards? [16:08:46] #wikimedia-stewards [16:08:50] I tried to change the mediawiki internal function inside includes/search/SearchMySQL [16:08:54] there's a list at https://meta.wikimedia.org/wiki/Stewards [16:08:55] protected function searchInternal [16:09:16] (also a command that probably masspings them if you need to get their attention) [16:09:30] from MATCH(XYZ) against ('+ä') I made it like this: MATCH(XYZ) against ('+ä +ae') but this doesnt work of course [16:09:35] Xatenev: I take it you're using the default mysql fulltext search, which isn't very well featured [16:09:39] wikipedia uses Elastic Search [16:09:42] Skizzerz: ok [16:09:50] which requires additional setup, but does searching a lot more intelligently [16:09:50] How the fuck can I make it search for umlauts correctly [16:09:53] Ä => AE & Ä [16:09:56] or is this juist not possible at all? [16:10:53] using the default search, it depends on your table collation [16:11:04] there is nothing you can do in the mediawiki code itself to make it work/not work, it's all on mysql's end [16:11:47] you can also try installing elastic search and its extension for mediawiki, which is https://www.mediawiki.org/wiki/Extension:CirrusSearch [16:15:08] Xatenev: For starters, you can file a ticket for it in Phab. [18:47:54] Yaron: Do you mind if I pm you? [19:06:22] bawolff: sorry, I only saw this now. Yes, feel free. [19:06:48] That is, no, I don't mind. [23:21:40] is there a way to upload media to mediawiki by pasting from the windows clipboard? [23:23:22] don't think so [23:27:09] no, there's a patch somewhere that implemented it though, i think [23:31:42] legoktm: Stupid question - I'm not familiar with how the caching of RL modules. gerrit change 321586 (Oath combine one module) won't break in the face of caching of old pages right? [23:34:09] i found this: http://wikiup.se/Main_Page