[00:33:19] is /images/temp safe to empty? [00:34:50] wmat: probably [00:35:25] heh [00:35:34] I see this is still open: https://phabricator.wikimedia.org/T11018 [01:42:21] I need help with some css in mobile view. I need to know the selector. If you click the search box and type a letter there is an autosuggest list. Each item is contained in the h3 element. I have already defined h3 elsewhere so I need to be more specific. What should be my selector? [01:42:41] https://wiki.gamepaduniverse.com/w/index.php?title=PadPedia&mobileaction=toggle_view_mobile#/search [01:47:12] nevermind [01:47:17] figured it out [02:13:12] Please could someone help me? I'm looking at the revision table (MW 1.25.1) and do not understand the rev_timestamp column. What does a value like 3230313530393238323232363438 mean? Actually, I would like to shown only revisions from 2014-01-01 to 2014-12-31. How can I do that? Thank you very much for your help. [02:14:35] Lorangeo: it means you're using an old version of phpmyadmin that does not handle BINARY fields very well [02:15:22] Lorangeo: that is actually '20150928222648', with the ASCII values of each character written out. [02:15:32] Lorangeo: and that is a date in a YYYYMMDDHHMMSS format. [02:15:32] Really? My version is 4.2.12deb2 [02:16:05] or misconfigured, or something. i know that i've seen it handled both ways, i'm actually not sure if it's because of old version or what. [02:16:08] ok, last version seems to be 4.5 [02:16:16] ok [02:16:28] you can probably make it cast to string somewhere in the SQL query? [02:16:39] but before I ask the system administrator, is there anything I can do to query the database? [02:16:53] I'm sorry, but I'm not really a techie guy [02:17:21] maybe there is an online conversor that I could use to convert this timestamps? [02:17:28] (these) [02:18:12] Lorangeo: i calculated that by taking 3230313530393238323232363438, adding a '%' every two characters to get %32%30%31%35%30%39%32%38%32%32%32%36%34%38, and the percent-decoding this value [02:18:16] (afk) [02:22:41] does anybody know a simple query that would show me only the revisions from 2014, or 2015? I need this data for a funding request. [02:22:53] please [02:23:44] or maybe I could try to convert these timestamps in an Excel sheet? [02:26:00] when trying to use extension registration for my skin, i'm getting the error: variable @skin-dir is undefined [02:26:03] Hi Lorangeo. [02:26:12] Hi katie [02:26:21] Lorangeo: What are you looking at? action=history? [02:26:24] It supports offsets and such. [02:26:37] You can set a lower or upper bound, at least. [02:26:49] No, I'm currently looking at the revision table on phpmyadmin. [02:26:52] Oh. [02:26:58] I just read your most recent question. [02:27:01] I'm skimming scrollback now. [02:27:20] I would like to copy the data in an Excel sheet (where I'm more confident). But I do not understand the meaning of these timestamps. [02:27:31] Can you upgrade phpMyAdmin? [02:27:36] Or use the "sql" shell client? [02:27:55] Otherwise, it sounds like you'll need to debug the older version of phpMyAdmin you're using? [02:28:00] no, i'm using phpmyadmin, I'm really not a techie guy. [02:28:17] There's probably some workaround for the weirdness with 4.2.12deb2. [02:28:41] Lorangeo: A simple query to show a certain range would be like... [02:29:04] select * from revision where rev_timestamp > '20140101000000'; [02:29:15] That would get you all revisions from 2014-01-01 until whenever the query was run. [02:29:26] Yes, I I know this... but the problem is that I'm seing some weird timestamps [02:29:30] Right. [02:29:37] So you need to figure out what's causing that in phpMyAdmin. [02:29:44] It's doubtful the underlying data is wrong. [02:29:51] It's probably some silly presentational issue. [02:30:08] Or you can do what MatmaRex hinted at, maybe, and convert the timestamps manually. [02:30:11] But that seems annoying. [02:30:26] ok, i will ask the system admin to look at this tomorrow. but in the meantime, is htere a way to convert these timestamps in something legible? [02:30:40] You could write a script. [02:30:44] for example in an excel sheet? [02:31:12] Dunno about Excel. [02:31:24] You could do this in a few minutes with Python or PHP. [02:31:46] Well, actually I did not understand the last part of what Mat did: "and the percent-decoding this value" [02:32:36] http://www.url-encode-decode.com/ [02:32:48] %32%30%31%35%30%39%32%38%32%32%32%36%34%38 [decode url] --> 20150928222648 [02:33:01] But you're probably better off diagnosing phpMyAdmin. [02:33:31] Ok... I will try this... [02:33:43] Hmmm. [02:34:00] Wow, thank you! [02:34:11] Now I get it. :-) [02:34:47] Thank you very much and have a nice day/evening... [02:35:02] You could also try like... [02:35:05] select binary(rev_timestamp) from revision limit 1; [02:35:16] As MatmaRex suggested. I don't know the exact issue you're hitting. [02:35:24] I don't use phpMyAdmin often. [02:35:44] There's probably some kind of "export results of query to CSV" option. [02:35:48] Which is probably closer to what you want. [02:35:57] And might bypass the weird output issues. [02:53:07] Is there a code existing template for walkthroughs where I could place the template at the top of the page and have two parameters for the previous article and next article? [02:53:48] Not really. [02:54:02] I mean, similar things exist already, but whatever you need probably needs a specific wiki template. [02:54:08] It shouldn't be too difficult to write. [02:54:25] Especially if you're willing to specify the previous and next pages, instead of trying to programmatically determine them. [02:54:49] {{pagination|previous = Page title1 | next = Page title3}} on "Page title2" or whatever. [02:56:36] Katie:you are so awesome! [08:11:24] cluelessperson: Auto authentication is when you don't give a password at all, for example via Kerberos or smartcard [08:24:17] Hi I use $wgUserEmailUseReply Manual:$wgUserEmailUseReplyTo in my configuration and it works for user to user emails. [08:24:31] There is $wgPasswordSender in the from: field and the users Email-Adress in the reply-to as should be. [08:24:55] But When the user activates [08:25:02] When the user activates [08:25:11] Email me a copy of my message [08:25:25] this mail has the users email-Adress in the from: field instead of $wgPasswordSender as expected. I'd like to have the $wgPasswordSender the from: field in both cases. How to do this? [08:26:38] It's MW 1.23..2 [08:40:58] Can somebody tell me what I should do if I have to query the mediawiki API thousands of time and every request is unique. [08:41:32] Forgive me if the question is dumb. I am new to this. [13:10:00] godofhavoc: Have you read the API etiquette page? [13:10:13] godofhavoc: There are also generators and other tools that might be able to reduce the number of queries you're doing. [13:10:31] Or you could use something other than the Web API, maybe, depending on your needs. [14:13:58] zathras: what MediaWiki version? do you have extensions which modify the editor? [14:14:53] Nemo_bis, rather ancient: 1:1.15.5-2squeeze6 [14:15:23] fsck editor plugin. (about all plugins packaged in/by Debian) [14:15:45] hi everybody, I do have a string and I need to escape the wikimarkup in it so that it do not break the surounding wiki-link. how to i escape a $newstring variable in my extension [14:15:52] zathras: Ah. I doubt anyone exists which can help you with that plugin. Probably nobody here. [14:16:07] GeSHi graphvz confirmedit [14:16:13] could someone aid me in troubleshooting this mediawiki ldap configuration? I get no errors, and ldap is responding to ldapseach on the command line [14:19:10] zathras: you should report the bug to whover wrore the FCKeditor plugin you are using (there are several versions), we are not in contact with them. [14:20:27] Nemo_bis, thanks but I doubt this will have any effect as that software version is probably over 5 years old [14:20:54] (very old server which needs to be replaced but is still operational) [14:22:15] zathras: well maybe someone in their support forums had this issue before [14:22:39] but yes, you probably have to live with bugs if you use such archeological artefacts :) [14:40:36] I enabled debugging for ldap authentication, and I get the error, "PHP's LDAP connect method returned null" not sure why that is. [14:51:09] Hello there! I was wondering : is there a way to use non-ASCII characters in translations? I'd especially like to use \x02, \x03, \x0F and \x1F given it is for an IRC bot with preformatted messages [14:52:22] ekleog: these are ASCII characters. [14:52:43] if you manage to type them in, you can probably use them. MediaWiki only requires that all text be valid UTF-8. [14:53:14] OK ; I tried using \u0002 and it didn't work (or so I believe) :/ [14:53:27] (typing them in isn't really future-proof for later translations) [15:00:40] OK, actually that was apparently my testing method: using \u0003 worked ; thanks MatmaRex ! [15:01:38] just returns null, no idea why [15:11:21] I think the issue is a self signed certificate [15:25:18] This is what I got for a log [15:25:19] http://dpaste.com/2KE6T0B [15:25:32] I enabled debug 3, and it's true now? wtf [15:25:42] still fails [16:00:47] Hi there [16:01:07] Hi Diegg. [16:01:13] can i ask something? [16:01:47] my new mediwiki not load the mainpage, the skin [16:01:55] anyone knows why? [16:02:34] is it blank, or is it just not loading images? [16:02:49] just not loading images [16:02:52] rest is ok [16:04:06] the webserver is not configured properly, so it is looking in the wrong place (or has some other issue) [16:04:16] is this your own server or a shared host? [16:06:27] own [16:06:36] its on remote btw [16:07:54] you will need to fix your webserver configuration so that it is looking for the right files [16:08:19] ill try [16:08:32] error and access logs should be useful in helping you understand where it is looking and if there are any other issues [16:09:27] for apache there is #httpd (iirc) and nginx is #nginx [16:09:36] i'm sure others have channels here as well [16:44:03] Just found that the ArticleUndelete hook does not seem to have a $user parameter ; is there one hidden somewhere? [16:48:32] does anyone know where @skin-dir is defined when trying to use extension registration for skisn? [17:06:24] the stack shows it's going through resourceloader to call the less css converter [17:06:49] UserProd: do you mean https://www.mediawiki.org/wiki/Manual:$wgStyleDirectory ? [17:07:40] i copied the skin.json file from vector to my skin, and it doesn't have that defined [17:07:51] there must be something missing in my skin I assume [17:08:53] that value is default in my installation [17:18:12] Is there a MediaWiki message to customize the link underneath the site logo? [17:19:22] guillom you mean the "Main Page" Link? [17:19:48] Well, I don't want to rename the Main Page, I wamt to change the link. But yes. [17:19:52] want* [17:19:54] MediaWiki:Sidebar MediaWiki:Mainpage MediaWiki:Mainpage-description [17:19:59] depending on what you want to do :p [17:20:20] MediaWiki:Sidebar or MediaWiki:Mainpage-description can be used to change the text [17:20:30] MediaWiki:Mainpage is the actual target and Main Page name [17:21:36] I don't think any of those works for my use case :/ What I want is to change the link /of/ the logo (sorry, by "underneath" I meant behind the logo, not below) without changing the name of the main page. [17:22:17] guillom: You want the logo -> Main Page link to go to somewhere other than the Main Page? [17:22:25] My use case is this: On a private wiki, you have the regular main page visible by anyone, and you may have another home page for logged in users. [17:22:45] James_F: Yes. Asking for officewiki. [17:23:56] Ohhh so when you click the logo it goes somewhere else [17:24:07] guillom: I think the answer is 'no'. [18:37:26] what's the best way to show real names instead of usernames in mediawiki? [18:41:08] MW's support for real name is kind of crap. [18:41:23] The most effective way is to just make people's usernames be their real names [20:00:40] MediaWiki install is hanging at "Creating tables..." Any suggestions on where to look for errors? [20:00:41] Re-running the installer give me a "Error: 1050 Table 'user' already exists" [20:00:50] give = gives [20:05:26] ckoerner: try running maintenance/update.php [20:06:15] @ori I tired that. It doesn't see the LocalSettings.php (as it's not present yet) [20:12:17] ckoerner: can you manually drop the database? [20:14:13] Yeah, I did that too. Wiped it all out. [20:14:44] I'm starting to think it something with my server environment. Running the same version of mediawiki locally appears to work. [20:15:00] Technology! [20:19:38] So I've goten the ldap extension to work. is there any way to set user preferences, like email and real name from the ldap attributes? [20:21:54] cluelessperson: Yes! $wgLDAPPreferences is what you're looking for. [20:22:21] ckoerner, I'm trying that now and it doesn't seem to work. [20:23:01] Hmm. Not all LDAP configs are the same, but here are my settings [20:23:08] $wgLDAPPreferences = array( [20:23:08] 'DOMAINNAME' => array('email' => 'mail', 'realname' => 'cn', 'nickname' => 'samaccountname') [20:23:08] ); [20:25:02] ckoerner, exactly. but it's not being set for my new users [20:25:43] ckoerner, host.com => array('email' => 'mail', 'realanem' => 'cn') [20:31:07] ckoerner, Well, I got it to work, a search attribute setting. [20:31:20] Now if I can change the name shown to be the real name [20:33:19] Glad you figured that one out. I [22:08:47] https://www.mediawiki.org/wiki/Manual:Short_URL/Apache This documentation is aweful [22:08:50] awful. [22:18:25] cluelessperson: don't ask how to get started / it's all uncharted [22:18:27] (joke) [22:18:40] I don't even know how short url works [22:18:43] maybe I should rewrite the docs [22:19:40] Hydrox1de, it says to "look for your apache config" essentially, why? am I putting something in there? the mediawiki.conf already has "allowoverride all" [22:19:50] then it goes on to use language "if you're using .htaccess" [22:19:58] wtf, where's the part that you'd put in the mediawiki.conf ? [22:20:19] what do you mean if? you didn't give me a choice, you skipped straight to htaccess, and the htaccess doesn't even work [22:20:43] hmmm [22:21:22] Hydrox1de, If you wrote it, I apologize for ranting on you. My intention is to bitch becaues I'm frustrated, not rag on you and make you feel bad. [22:21:35] I didn't. I have no idea how any of this stuff works :D [22:22:00] Hydrox1de, I suggest they simply do. "we use /w and /wiki in our examples" [22:22:22] then show. "htaccess example" this here, that there, NOTHING ELSE "apache config example" [22:22:29] The only things I know about apache are 1. how to start and stop it 2. how to look at access logs [22:22:31] don't mix two documents. ;_; [22:23:07] Hydrox1de, apache isn't that bad. Some odd plugins, or configuration crap, but the worst part is the documentation. [22:23:31] i have nothing against any server software and have no preferences whatsoever [22:23:35] * cluelessperson gives up [22:23:51] I'll come back and rewrite that apache configuration myself in a little while [22:24:01] I've done that exact stuff, mod rewriting, before. [23:29:57] hello [23:30:10] does mediawiki have per user and per group permissions? [23:30:20] holycow: feel free to ask your question here, one will get to you soon [23:30:25] there seems to be per group perms as per this page: https://www.mediawiki.org/wiki/Manual:User_rights [23:30:28] what about per user? [23:32:31] holycow: per-user isn't really a thing, but you can create groups for individual users I suppose [23:32:58] okay, was just confirming. that makes sense and should be doable. [23:33:03] thanks legoktm [23:33:24] yw