[02:24:17] I have this little DSM I need GeSHI-ed into a language for SyntaxHighlight - NOT THE PYHTON ONE - pure PHP and a not updated install (1.24 FOR LIFE) - I'd like to pay someone to make the lexer file for me (more if you're a hobbyist contributer to Mediawiki) - I can give you all the regexes et al. [02:27:45] You might find https://www.mediawiki.org/wiki/Professional_development_and_consulting useful [02:27:56] Or you could use the upstream geshi issue tracker [02:39:52] Okay [11:26:30] hi, is there a built in file uploader/browser for mediawiki? [11:42:14] anyone here? [11:42:14] Hi diverdude, I am here, if you need anything, please ask, otherwise no one is going to help you... Thank you [11:46:15] is there a way of integrating tests into mediawiki? if so, how are tests being performed against the db? [11:48:43] nevermind, I'm a complete tool. :) [11:59:25] diverdude: MediaWiki is usually accessed via a web browser (or via API). If you want a file uploader/browser, that's up to your web browser. [11:59:36] No need to reinvent wheels, IMHO. [12:05:06] andre__: uhhhh afaik there is no builtin file upload functionality in the browser which allows easy access from within mediawqiki [12:05:47] andre__: thats the same as saying that html pages are invented...no need to write a wiki...thats like reinventing the wheel [12:06:22] imho [12:20:38] andre__, im sure diverdude needs a custom functionality of some sort. i had the same issue a while ago. [12:21:14] diverdude, there's this (and it's documented pretty nicely) - https://www.mediawiki.org/wiki/API_talk:Upload#Javascript/jQuery [12:21:32] make sure to read the entire doc tho [13:19:56] hello [13:20:20] i have a question, about the hash produced by mediwiki [13:20:34] in her code, what is the hash produced ? [13:20:58] that been saved on the database? or its the database part of making the hash? [13:22:33] In the start, you install the mediawiki, it creates automatically users in the database(the admin) so what is the hash type for example of the admin? [13:22:47] MD5, sha1, sha2 etc? [13:23:21] sollekram: you mean for the admin *passowrd*? [13:23:44] sollekram: mediawiki also uses hashes for page content, for uploaded files, and other things [13:23:45] yeaa [13:24:43] for content, we use sha1 and represent it in base 36 (for no good reason) [13:25:31] sha1 that will create duplicates right? [13:25:43] base 36? [13:25:49] any hash can theoretically have dupes. [13:26:07] but very very VERY rarely. probably won't happen in the next few thousand years. [13:26:07] in theory yes [13:26:43] http://php.net/manual/de/function.base-convert.php [13:26:50] there examples of sha1 creating already duplicates [13:28:35] yes, plain sha1 is not good for hard crypto. for things like dupliocate detection it's fine [13:28:43] we don't use plain sha1 for passwords [13:29:14] a quick check tells me we use HMAC. [13:29:20] RFC5869 [13:32:35] lets assume that someone was going to start an attack(rainbow attack), are the passwords protected with a salt also in front of the password? [13:34:01] I am practising in IT and i recently have done hashes in class, and i have also mediawiki, and i really want to know things like that, heres is my MediaWiki(for proof) https://opaaa.ddns.net/wiki/index.php/%CE%91%CF%81%CF%87%CE%B9%CE%BA%CE%AE_%CF%83%CE%B5%CE%BB%CE%AF%CE%B4%CE%B1 [13:34:28] Yes [13:34:33] Passwords are salted and hashed [13:34:40] perfect [13:35:00] can i somehow change the random generate salt? [13:35:22] is something like that possible? also can i make it bigger? [13:35:28] sollekram: if you want to read the code, see Pbkdf2Password [13:36:19] sollekram: there's also $wgPasswordConfig, which has an entry for pbkdf2, which has a length parameter. [13:36:31] not sure what exactly it means, but I'd guess it's basically what you want [13:36:35] And cost [13:36:55] sollekram: you can see the defaults in DefaultSettings.php, and change them in LocalSettings.ph [13:37:06] It's oassed to hash_pbkdf2() as the length param [13:37:59] thank you guys for the help and aswers! :) [13:54:20] i'm not quite remember the specific website that teacher said in the class :( hehe, i think it was cryptstation, they have a big databases of password generated hashes and i would like to test them, but i am not sure if that it was the website [14:10:34] Hello, Im having issues with installing the CommentStream plugin on my wiki at http://ipdocketengine.com [14:10:37] The error i receive after activating is:https://pastebin.com/Bv7KRMGE the wiki uses SMW and am running MW 1.30 [14:10:44] sollekram: well, when the passwords are salted... [14:10:57] I ran the update script after installing [14:11:21] kevindank: looks like the extension is broken [14:13:35] Reedy, yea that was a good point, it will be different i know, i want it more for making an excersise that i have in class [14:14:15] Bummer, i tried an earlier version as well with no luck [14:16:22] Code looks ok ish on master [14:16:26] Can't see any obvious fixing commits [14:17:17] I think i found a conflict [14:17:45] Multiple extensions that provide a comment class? [14:18:08] I had the plugin "Comments" installed as well, after i removed it CommentStream began to appear [14:18:19] Yeah [14:18:23] namespacing ftw :) [14:18:31] :D [14:20:51] Feel free to file tasks for one/both extension to fix it ;) [14:56:20] Technical Advice IRC meeting starting in 5 minutes in channel #wikimedia-tech, hosts: @CFisch_WMDE & @Tonina_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [16:22:38] Hello, Is there an Anonymous User Group? Im using the Group Sidebar extension which allows you to make a sidebar per user group. I'd like to remove some links if a user is not registered [16:22:45] or signed in [16:23:04] Essentially i just need to define a Mediawiki:Sidebar-sysop page for sysop sidebars [16:24:04] kevindank: there is not; the '*' group is used for all users (anonymous and logged-in) [16:25:10] Skizzerz: however, there is a group named User right? which applies to logged-in users? [16:25:15] yes [16:25:27] but there is no group that is exclusively for anons [16:25:38] Does the permissions of User carry over to Sysops, Beurecrats, etc...? [16:25:40] your extension may support having an anon sidebar [16:25:45] yes, all permissions are additive [16:26:05] you implicitly belong to the * and user groups when logged in, and maybe also the autoconfirmed group [16:26:14] (depending on how old your account is and how many edits you have) [16:26:21] so if i make a sidebar that only contains the links i want anonymous users to see in Mediawiki:Sidebar and then add additional to the Mediawiki:Sidebar-user group that could cover it [16:26:24] you can also explicitly be added to other groups such as sysop and bureaucrat [16:26:34] maybe? [16:26:43] try it out! [16:26:46] will do [16:26:52] thanks [16:26:56] I'm not familiar with the extension so can't really say one way or the other [19:01:36] Is anyone familiar with how to pass Wordpress credentials to Mediawiki [19:43:11] Are there any working extensions that add fields to the registration process? [19:43:32] I need to add an additional field and some additional text to both the UserCreate and UserLogin processes [19:45:34] the captcha one, i imagine [19:46:37] https://www.mediawiki.org/wiki/Extension:ConfirmEdit [19:47:19] !authmanager | kevindank [19:47:19] There is no such key, you probably want to try: !AuthManager, [19:47:34] really? Case sensitivity? [19:47:48] !AuthManager | kevindank [19:47:48] kevindank: https://www.mediawiki.org/wiki/Manual:SessionManager_and_AuthManager [19:49:12] thats a lot to read through, i will take a look. i was hoping for a plugin/extension that may enable some custom fields [19:49:27] Is it possible to add a template in a system message? [19:49:55] So i'd modify the system message CreateAccount and add a template with a page form to collect the data? [19:50:20] or would it only display as plain text [19:50:48] You can add templates but page forms prob wont work [19:51:50] its probably easier to base on an example extension (ConfirmEdit, OATHAuth etc) than the full authmanager docs which are complicated [19:52:16] may just need to pay someone for this [19:55:47] Its actually a pretty common request...someone should make a tutorial just for that [20:00:45] bawolff: im pulling my hair out not finding anything that is easy to use or integrate. [20:01:00] I just want to add some additional fields to the registration process. Ive been looking for hour [20:01:05] hours* [23:38:19] Hrmmm. I just changed some things in an extension on a MediaWiki instance so that the interwiki links it was generating on its pages would have a different prefix, but the pages don't appear to have been changed. Is there some sort of magic invocation I'm supposed to make to get them to actually update? Appending ?action=purge doesn't seem to work... [23:43:23] Hmm in fact it seems like new invocations thereof still turn things into the wrong initerwiki links So *something* is being cached *somewhere*, presumably? [23:45:31] yes, interwiki links are caches by default for I think 12 hours [23:46:10] bawolff: That doesn't explain though then why *new* interwiki links being created by the extension are still being created with the wrong prefix, though :(' [23:46:46] (err, $wgInterwikiExpiry is 3 hours not 12) [23:47:35] I just joined the channel, and didnt see your initial email at first [23:47:38] *message [23:47:42] typing is hard [23:48:16] hehe [23:48:17] It depends a lot on how your extension operates and what is it doing [23:48:46] Normally, ?action=purge should fix something like that [23:50:20] Without being able to see the code, its unlikely we'd be able to say anything more [23:50:30] Yeah my quite-inexpert presumption now is that somehow the actual script of the extension itself is being cached somewhere, but I have no idea how to fix that. [23:52:00] Make sure you're editing the right copy of the script and all that [23:52:30] Sometimes if you have lots of symlinks it can cause problems with that, but usually that's pretty rare [23:52:46] You could try using the touch command to update the edit timestamp on the file [23:53:17] bawolff: See that's the one part I *am* sure of, hah. The programmer at work that runs the MediaWiki installation is gone for a few weeks, but I'm the entire IT department *otherwise*. LocalSettings.php is pointing towards the right folder, and that folder is pointed towards the right SVN repository URL and is updated. [23:54:08] You'd be surprised how many support requests come down to "Whoops I was editing the copy of the file on my laptop not the server" [23:54:29] Oh I have no doubt, and that was definitely my first guess, heh, that I had just not updated the right thing [23:55:35] It *seems* like it's pretty simple extension, in practice it's using Semantic Forms (yeah it's a damned ancient version of MediaWiki) then being interpreted by the extension so as to actually display stuff. Part of that form interpretation is turning a list of related cases into links to our bugtracker. [23:57:11] Thing is, we have *two* bugtrackers these days, and those links don't work right then. So I made a simple PHP page elsewhere that can accept the issue ID and redirect to one or the other, depending. That works fine. And I added a new interwiki prefix "Issue:" to the database to point to that URL. That's working fine too. [23:57:42] But changing the parts of the extension code from "BugzID:" to "Issue:" and then pulling down those changes on the Wiki server and . . . no effect :(