[00:01:23] Any workaround for this? [04:56:20] dada [04:57:35] quit [12:30:09] Hi, not sure if mediawiki is failing to detect my sqlite driver [12:30:39] it has a section under "Configuration" [12:30:53] (sqlite3, that is) [12:31:12] but mediawiki install says "Could not detect DB driver" [12:42:19] which MW version, what "configuration" exactly? [12:42:26] See https://www.mediawiki.org/wiki/Manual:How_to_debug [15:45:16] Hi, i have installed multiboilerplate, it works on new pages but not one that already exist that I want to edit. Anyone know if we can do so ? [17:06:48] Hi. I want to know the procedure of google codein program. When can I apply? [17:07:27] !gci [17:07:27] Google Code-In is a contest to introduce pre-university students (ages 13-17) to the many kinds of contributions that make open source software development possible. https://www.mediawiki.org/wiki/Google_Code-In [17:07:48] Hi divij I think we're still setting things up for it, I'm not sure [17:08:14] Thank you very much. [17:08:20] andre__ knows more about this subject [17:08:46] divij: I think you have to wait for nov 28 [17:09:10] Ya I will be glad to know what all things should I learn to contribute to code-in [17:09:16] divij: You can of course, do stuff prior to that if you wanted to get up to speed earlier, but the contest only starts on nov 28 [17:09:37] divij: Being on IRC is in itself a good first step [17:10:11] Thank you. Being a pre-university student , it's my first time on IRC. [17:10:16] divij: Trying to setup a copy of MediaWiki on your local computer using git, is a good place to start [17:10:45] @bawolff Got it. [17:10:53] There's some info on https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [17:11:37] Keep in mind some of these things might actually be gci tasks (I think last year being on irc was a low value gci task to help people get their feet wet) [17:11:55] but if you do stuff now, then you'll have practise so you could do the harder gci tasks much easier [17:12:41] Also remember we're here to help, so if you run into any problems, don't be afraid to ask [17:12:44] Yes. Exaclty [17:13:17] Thank you. I will catch you if I get stuck somewhere. [17:13:21] Good day. [18:30:56] Hey guys, can someone point me in the right direction? I got mediawiki to work with ldap authentication plugin. but now all member of domain have full access. I want to only allow specific groups access. [18:31:40] I tried some of the option available for ldap authenticaion extension but it would not limit access as I intended [20:26:12] whew finally got ldap to only allow one ldap group [20:26:20] how can i get 2+ ldap groups allowed? [20:33:39] make a new group that contains all the groups you want? :P [20:33:53] i don't have access to ad [20:34:03] is it possible to specify several groups? [20:34:11] idk [20:34:19] what did you do to specify the one? [20:34:31] cn= [20:34:43] cn=Admin.IT [20:34:46] like the full setting string [20:35:33] I'd say 1. try making it an array instead of a string, 2. use ldap filter syntax to make an 'or' filter, 3. try separating using commas or semicolons [20:35:49] $wgLDAPRequiredGroups = array( "ADMIN"=> array( "cn=ADMIN.IT,ou=Admin People,dc=admin,dc=bla,dc=com" ) ); [20:36:28] so add another DN to that array [20:36:50] $wgBlah = [ 'ADMIN' => [ 'group1', 'group2' ] ]; [20:40:29] I tried (But failed): $wgLDAPRequiredGroups = array( "ADMIN"=> array( "cn=['ADMIN.IT', 'NET.IT'],ou=Admin People,dc=admin,dc=bla,dc=com" ) ); [20:40:55] ... [20:40:58] is that what I said? no [20:41:20] group1 is the DN of the first group [20:41:24] group2 is the DN of the second group [20:41:45] I used [] instead of array() because it's shorter/easier [20:42:07] basically just take what I wrote above, fix $wgBlah to be the correct var name, and change group1 and group2 with their respective DNs [20:42:21] ok, thanks i will try :) [20:42:48] account permissions are set on login, you will need to log out and log back in for them to take effect [20:56:43] Any idea why the "⧼" and "⧽" are showing up on the Special:Version page (see this screenshot - https://imgur.com/a/FndBg)? https://github.com/Dialexio/Jony/blob/master/Jony/skin.json is the Skin json. [20:57:16] iAdam1n: means you're missing i18n messages [20:57:26] How would one fix that? [20:57:48] namemsg and descriptionmsg should be keys that are set in the respective .json files [20:58:17] so in https://github.com/Dialexio/Jony/blob/master/Jony/i18n/en.json you have a key jony-desc [20:58:26] so your skin.json should have "descriptionmsg": "jony-desc" [20:58:34] same for namemsg [20:59:07] thanks [21:01:25] would that be on another line to line 6? So put it above that and then have that too? [21:02:21] yes, you'll need to add new keys to that file [21:02:35] just keep in mind that the final line cannot have a comma at the end [21:02:41] and every line above that MUST have a comma at the end [21:03:07] Skizzerz: i tried it, but it stopped loading the page altogether now. WHat about specifiying cn=, ou= and dc=? [21:03:15] sigh [21:03:22] Dukem: do you not know what a DN is? [21:03:31] if no, look it up [21:03:47] if you're going to be dealing with LDAP, you should know (roughly) how it works and what the terminology is [21:03:58] yes agreed [21:04:03] i've never dealt with it before [21:04:15] DN stands for distinguished name [21:21:46] Skizzerz: so is this right? https://pastebin.com/1y8nKibV [21:22:59] no [21:23:26] Skizzerz: so am i trying to put these common names in an array and then put that array inside the other array using $ to call it? [21:23:30] in your skin.json, you have namemsg and descriptionmsg [21:23:38] the values of those are keys (pointers) to things in your en.json [21:23:50] Dukem: no [21:24:06] you are trying to make an array containing two distinguished names [21:24:18] I abbreviated them as group1 and group2 above [21:25:10] $wgLDAPRequiredGroups = [ 'ADMIN' => [ 'cn=ADMIN.IT,ou=Admin People,dc=admin,dc=bla,dc=com', 'cn=NET.IT,ou=Admin People,dc=admin,dc=bla,dc=com' ] ]; [21:26:59] iAdam1n: your skin.json should have "namemsg": "something" and "descriptionmsg": "something-else" (replace 'something' and 'something-else' with more descriptive names. Keep them all-lowercase and do not use spaces) [21:27:17] then your en.json should have "something": "Jony" and "something-else": "This is a description of my skin" [21:27:33] (replace something and something-else with the same things you chose in skin.json) [21:33:05] Skizzerz: :) Thanks man I get it now [21:33:35] Skizzerz: Is there a limit? Can I add 10 groups without worry? [21:33:48] go for it [21:34:03] just keep adding them to that inner array [21:34:13] the same way the 2nd one was added [21:34:32] you do have to repeat all of that ou=...,dc=...,dc=... stuff for each one [21:34:35] that is unavoidable [21:34:51] yep :) Got it ! You rock [21:35:31] Skizzerz: ok thanks. It's confusing me but the skin dev knows how to do it so I'll let them [21:35:42] ok :) [21:36:14] :) [21:41:42] Hi. Is there anywhere within mediawiki you can file a "feature request"? [21:42:20] !phabricator [21:42:20] https://phabricator.wikimedia.org/ [21:42:28] DaneGeld: ^ here [21:42:43] Excellent. Thanks! [21:46:56] Before I go ahead and file this, could I get some ideas as to how easy or hard it would be to implement? I don't want to file something if it's going to need moving heaven and earth to make it work :) [21:47:54] All I want is when you login to wiki, much like the message and notification indicators, for the colour of the word "Watchlist" or its equivalent, to change, if something on your watchlist has been altered since you last logged in. [21:49:54] it could be done quick, easy... and inefficient [21:50:45] the problem is [21:50:56] if we check all the pages in your watchlist when you log in [21:51:01] that's potentially a lot of pages [21:51:08] and if we check on page edit [21:51:23] we need to check everybody watchlists to tag it [21:51:44] OTOH, for a small wiki that should not be an issue [21:52:45] well, I don't see it should be that inefficient... If you have the time you were last logged in, of course [21:53:17] last login: a year ago [21:53:18] there's https://www.mediawiki.org/wiki/API:Watchlist which can filter by timestamp, having a timestamp to start from, and see if it returns any results [21:53:35] maybe it could be implemented with a gadget [21:53:42] that would also allow for graceful degrading [21:54:22] I think it should be good for a gadget, probably not that good for a core feature [21:54:59] still, having the time you were last logged in is the tricky part [21:55:52] damn [21:56:05] talking to the wall again >_< [21:59:25] xD [22:02:04] Is it worth it to pursue wikieditor for drag&drop upload or stick with visualeditor? [22:02:13] or can i use both? [22:05:43] there's an extension that adds drag&drop upload support for wikieditor IIRC [22:05:57] https://www.mediawiki.org/wiki/Extension:MsUpload [22:07:08] yeah, i see it, but it's for wikieditor. I installed visualeditor so more of the team can you mediawiki but tht's a cool feature to pass on. We cant have visual editor + wikieditor running at the same time right? [22:09:16] not at the same time, correct [22:09:55] i spent so long installing visualeditor heh. [22:10:17] If drag&drop is not supported on the Special:Upload form, I don't think it would be added on VE soon [22:22:10] Skizzerz: not sure if you know but how would I define https://imgur.com/a/AI5a2 in css? I tried #wpRemember and input#wpRemember but it doesn't work. I tried using display: none; in order to hide it to check if I got the definition right. My aim is to style it to be smaller [22:22:28] #wpRemember should work [22:22:52] unless something else is styling that with higher specifity [22:23:13] oh [22:23:14] no [22:23:34] iAdam1n: you'll want to style .mw-ui-checkbox probably [22:23:40] or .mw-ui-checkbox input [22:23:44] or something [22:23:53] check the existing CSS for it [22:23:57] so you know what to override [22:24:04] hello [22:24:27] Skizzerz: if you mean check the existing CSS in the skin, there isn't one [22:24:39] no in the F12 dev tools [22:24:48] if you select the element, the CSS applied to it shows in the right sidebar [22:24:52] I'm using Chrome on Mac btw [22:24:53] including what rules are used to apply to it [22:24:53] iadmin [22:24:56] oh wait sec [22:24:59] yes, I'm talking about chrome [22:25:00] myTh: yo [22:25:16] how r u [22:25:19] .client-js .mw-ui-checkbox:not( #noop ) input[type="checkbox"] is what it says [22:25:21] fine thanks [22:25:31] yep [22:25:40] so if you use that same rule, you'll be able to override it [22:26:20] Would I need to use the whole of ".client-js .mw-ui-checkbox:not( #noop ) input[type="checkbox"]"? [22:26:41] I tried that, .mw-ui-checkbox and all of it without the .client-js [22:26:56] sure [22:26:59] or !important [22:27:55] mmm i want to ask about some information who is the writer and how can i contact him [22:28:10] someone [22:28:32] Skizzerz: hm, it's kinda doing something but not hiding the box [22:28:37] myTh: the writer of what? [22:28:58] mmm wait [22:29:28] lol [22:37:16] Skizzerz: ok, so it appears the line I highlighted is actually the space by it, not the checkbox itself. Not sure what the checkbox is [22:38:46] I'm not familiar with the mw UI and its CSS [22:38:50] so I can't help more than I already did [22:39:02] just keep poking around in the console [22:40:17] thanks [23:10:54] Does anyone know what the CSS identifier is for the checkbox on the user login page? I’d like to style the checkbox but can’t find the identifier [23:11:16] Hi iAdam1n. [23:11:28] You can right-click the element and select "inspect" to see its identifier(s). [23:11:56] But... I think some CSS/JS is disabled from loading on the login page, maybe. [23:12:06] user css/js is [23:12:07] Can't remember if site-wide CSS is restricted there. [23:12:15] well, you're not logged in [23:12:16] Yeah [23:12:19] It's behind a global [23:12:27] You could be logged in! [23:21:59] Esther: thanks. However, I did inspect element but can’t find the checkbox identifier. [23:23:08] If you look up in around the last hour or so, you’ll see a screenshot I posted of it