[02:18:36] I cannot upload SVGs on REL1_28, PHP 7.0.13-2. Log: http://hastebin.com/ecobuxuzaj.txt Any ideas? [02:19:15] git rev-parse HEAD = 22bed018569d3351fee90f7e1ee0988838d3f661 [02:22:42] it can't read the file apparently [02:22:50] maybe some file permissions are wrong? [02:24:28] Actually, it ended up being that I was using PHP 5.6 fcgi and PHP 7.0 cli, somehow [02:24:36] Sorry for the idiocy. [02:25:57] :-) [03:22:26] howdy [03:23:50] hello heatherw :) [03:24:19] hello beck [03:24:31] i'm new to this chat. i just had a few questions about mediawiki [03:26:41] i downloaded mediawiki thru bluehost using mojo marketplace easy install. i installed it to a subdomain. how do i edit the stuff like skins, logo, permissions, etc? i've only seen instructions for people who have downloaded manually. but the site is up and running live right now [03:28:17] in theory it should be similar, you will just need to locate where your webhost installs the files on your instance [03:28:37] (assuming that mojo installs similar to how installous does on my cpanel instance) [03:29:33] right... i don't know IRC rules, can i post a link to a screenshot uploaded to postimage.org so you can see what the cpanel looks like? [03:38:47] where might i go from here to access my files from the automatic install? i've tried phpMyAdmin but I couldn't find much. here are screenshots of the cpanel if someone knows how to help: https://s28.postimg.org/6xh5fujyl/mw1.png; https://s28.postimg.org/pr2ycui6l/mw2.png; https://s28.postimg.org/7csf8v5vx/mw3.png; https://s28.postimg.org/usace7pn1/mw4.png [04:30:52] Hi beck. [04:31:01] hello :) [04:31:37] Your host may not provide the option to touch the files directly. [04:31:39] But that would be silly. [04:32:06] Settings are typically configured by editing the PHP file LocalSettings.php. [04:32:28] So you need to find an in-browser file editor tool or figure out how to accese your site's files via FTP or SFTP or SSH. [04:33:11] "File Manager" or "FTP Manager" probably. [04:33:33] Or "Web Disk"? Not sure what that is. [04:33:54] In the "files" section, second screenshot. [04:37:47] i'm there now. still looking thru it [04:37:50] thanks so much :) [04:37:55] (i'm totally new to this stuff) [04:41:06] There's a file called LocalSettings.php in the root directory of your MediaWiki installation. [04:41:12] You want to edit that file. [04:41:32] When you successfully change that file and re-upload it to the Web server, your changes will be reflected pretty much immediately usually. [04:43:55] for logo, do i want to just replace the current file with a new one? 135x135 pixel? [04:44:00] (also png) [05:10:11] !logo [05:10:11] The logo that appears in the top left of each page is from $wgLogo in LocalSettings.php. To change this you change the value of $wgLogo to point to the URL of your own logo. See . Be sure $wgLogo is set to an absolute path, starting with "/" (or a protocol "http:"/"https:"). Using pretty URLs a relative path will behave oddly. 135x135 pixels [05:54:47] the $wgGroupPermissions thing doesn't seem to be showing up on LocalSettings.php. Do I just add it to the bottom? [05:55:16] Yes. [05:55:33] All of the default settings are in the file includes/DefaultSettings.php. [05:55:52] All of your customizations go in LocalSettings.php. You can copy and paste out of DefaultSettings.php to override/customize. [06:31:24] thank you so much for your help, yvette :) [06:31:25] ttyl [06:42:29] i am using [06:42:30] huggle [06:42:30] [06:42:30] in my local system to edit the page but sucode_: do you have the SyntaxHighlight extension installed? [06:50:30] legoktm: no [06:50:41] ok, you need to do that first [06:50:55] and about ? [06:52:03] then you'll need the Translate extension [06:53:33] legoktm thanks [06:53:42] np [06:59:46] legoktm: i also want to view content type of the page; coded it similar; but can't see that content ; any extension for that too [07:02:14] what do you mean by content type? [07:12:44] legoktm: https://www.mediawiki.org/wiki/Gerrit/Tutorial; see this page has contents [07:18:17] sucode_: click edit to view the source? [07:26:17] legoktm: yeah i view the source code and similarly when i am try to do locally but its not happening. [07:29:24] sucode_: you need to copy over templates and make sure you have all the necessary extensions installed, it could be a bit tough [07:30:18] legoktm: is there a short way to install all the possible extensions ? [07:30:31] not really... [07:30:56] legoktm: how can i recognise that which extension is using here ? [07:35:46] legoktm: and copy over template ? [07:35:52] what does this mean [11:28:20] andre__ ? I need help ; https://phabricator.wikimedia.org/T93380 ; i am assigned this task to do; I am now making a page locally and if all get right then i will push it to original source ? Am i going right ? [11:44:13] sucode_, okay, but why do you ping me? [11:46:03] andre__: i am facing problem while editing; such as is not working; i wrote the content similar but not getting that content box in the page locally . [11:46:33] sucode_: okay, but why don't you ask anybody here, but instead you ping me specifically? [11:47:43] andre__: i saw you are subscriber to this task ; that is why . [11:48:01] sucode_: I am subscribed to basically every task in Phabricator. [11:48:16] sucode_: What wiki is this about? What is your user name on that wiki? [11:48:22] sucode_: I'd recommend to edit on the very same wiki and not locally, by creating a sub page below your user page on that wiki. [11:48:50] Plus you may want to join #huggle *if* you have some specific questions about the content on those pages... [11:49:00] (not for stuff like "translate" tags and such, though) [11:49:54] user name: meets2tarun ; [11:50:26] sucode_: What wiki is this about? [11:52:21] sucode_: Are you around? [11:53:36] sucode: So *if* this is about content on meta.wikimedia.org, I'd recommend that you create subpage(s) under https://meta.wikimedia.org/wiki/User:Meets2tarun , like https://meta.wikimedia.org/wiki/User:Meets2tarun/SomeNameThatMakesSense [11:53:42] andre__, this is the task to create one full wiki with anchor link; https://phabricator.wikimedia.org/T93380 [11:53:44] that's all I can say, I"m afraid. [11:53:58] sucode_: You wrote that already. [11:54:08] sucode_, my question was which wiki the task is about. [11:54:16] I assume it's about meta.wikimedia.org [11:54:20] see my comment above. [11:58:39] andre__, so I create a sub page below my user page on that wiki and start editing the page ? [12:01:25] sucode_, that is my proposal. Plus: start editing **a copy** of that page. [15:23:13] Good morning, humans [15:23:32] https://en.wikipedia.org/wiki/Endogeneity_(econometrics) can somebody figure out how to fix the parsing error in the equation here [15:24:02] Which one? [15:24:44] https://en.wikipedia.org/wiki/Endogeneity_(econometrics)#Simultaneity [15:24:48] Reedy: I imagine they are referring to the notice in bold red.. [15:24:53] I see no notice [15:24:55] Assuming that x i {\displaystyle x_{i}} x_{i} and v i {\displaystyle v_{i}} v_{i} are uncorrelated with u i {\displaystyle u_{i}} u_{i}, we find that, [15:24:55] Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response [15:25:05] WFM [15:28:15] ... 'wfm' ? [15:28:55] the error isn't appearing in old diffs, even when it's actually there [15:29:42] works for me [15:33:04] ahg [15:33:08] hmm [15:33:13] have you tried logging out? [15:35:27] Why would I log out so it broke it? [15:35:28] Like this ? [15:35:39] Presumably that means that only some rendering methods are broken [15:35:44] Luis__ - yes, hello [15:35:45] And presumably, whatever the anons get is [15:35:53] Luis__ is the one who found that error [15:36:03] how can I access the precedent messages ? [15:36:35] Luis__ - the conversation whcih preceded your joining the channel? You can't, but I can paste it into a private message. [15:36:48] See channel logs in /topic [15:37:13] .... or there are logs for this channel (although not for most channels), I guess. [15:37:43] Reedy - my point is that if something in your settings is preventing you from seeing the error message, then logging out will help you to find the error more quickly. [15:37:58] like working with a knockout mouse to ascertain the function of the relevant gene [15:38:47] WFM in incognito mode too [15:39:42] how strange [15:39:51] Luis__, when did you first notice the error? [15:40:12] the 5th of october [15:40:37] I edited another section, tried a few things for this error and left (ashamed) [15:42:29] Dragonfly, you said you saw other parse error this week. Where ? Any connection to the situation here ? [15:53:57] Luis__ - it was in [[chemical equilibrium]] [15:54:00] and I'm not sure. [15:57:15] Dragonfly6-7: I don't see it anymore. Someone fixed it? [15:59:47] * Dragonfly6-7 shrugs [15:59:49] I have no idea [16:00:11] Niharika - wait, doyou mean the one in [[endogeneity (econometrics)]], or the one in [[chemical equilibrium]] ? [16:00:24] the one in 'chem eq' was fixed [16:00:35] Dragonfly6-7: Endogeneity. [16:00:49] I was seeing the error earlier but no longer. [16:03:07] how strange [16:03:12] and if you check the history.... any changes? [16:03:28] hm [16:03:29] nope [17:57:40] Hello, I need help in executing sql query to access wikipedia database, using java. [17:58:50] Wikipedia? [17:58:54] Do you mean Wikipedia? [17:58:59] Or do you mean your own MediaWiki install? [18:00:12] I mean like quarry. [18:00:29] But I need to execute it locally with java bot. [18:00:53] You can't get arbitary access to the Wikipedia databases locally [18:00:57] Not without importing your own dumps [18:01:30] I've written a simple manual about execute java bots in tool-labs, and I stopped in this point. https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Java [18:04:01] What part are you stuck on? [18:06:34] The point is how to execute a sql query with java bot. [18:07:57] For example, when I want to write a statical list using pywikipedia I do: [18:08:02] "mysqldb.connect("enwiki.labsdb", db = wiki.dbName(), user = config.db_username, passwd = config.db_password)" [18:08:16] How I can do this in java?. [18:08:47] Have you tried googling? [18:08:47] http://alvinalexander.com/java/java-mysql-select-query-example [18:10:15] You're very close to my point, I need the driver name, and url of database. [18:10:30] In your link there are: "String myDriver = "org.gjt.mm.mysql.Driver"; String myUrl = "jdbc:mysql://localhost/test";" [18:11:03] What should I do replace with to connect to wikipedia's database?. [18:22:04] Any help?. [18:25:24] ASammour: https://wikitech.wikimedia.org/wiki/Help:Tool_Labs#Connecting_from_a_Servlet_in_Tomcat close enough? :) [18:25:52] sigh, seems to be a dup of https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Database#Connecting_from_a_Servlet_in_Tomcat [18:26:47] Huh. Why does the api query revisions stuff inner join on the text table [18:26:50] that seems just odd [18:27:59] also surely that would break things, wmf using external storage and all... [18:32:56] bawolff: Thank you very much. I'm sure it will work. [18:33:17] To clarify, I wasn't answering your question [18:33:31] but posing one of my own [18:33:35] or more talking to myself [18:34:44] ah, i get it. [18:35:15] the pointer to external storage is in the text table [18:35:24] I had it in my head that that was in the revision table [18:39:45] bawolff: Sorry, I mixed up. I meant andre__ [19:29:24] so i'm having issues with the special:categories section on my mediawiki instance not auto-updating to include new pages. my instance is a stock 1.27.1 on CentOS 7, with the LDAPAuthentication plugin installed. has anyone else run into this? [19:29:54] IDrinkMilk: Is $wgMiserMode enabled? [19:30:20] wait [19:30:23] that's not a query page [19:30:28] so nevermind, that's irrelavent [19:30:55] hah, you responded quick, was about to say :) [19:31:44] Umm, I can't remember for sure, but possibly that's updated by job queue [19:31:58] So I would reccomend checking if your job queue is updating properly [19:32:53] yeah, it is updated by job queue [19:33:34] IDrinkMilk: Try setting $wgRunJobsAsync = false; [19:33:47] ah okay, going to try to run it manually. looks like my cron didn't execute for whatever reason [19:34:16] Ah, if you have the cron script, then yeah check that [19:34:24] and ignore my comment about $wgRunJobsAsync [19:37:17] looks like it was a screwup on my end! set the cron to run once a month on the 12th instead of what i thought i set [19:37:21] thank you so much bawolff :D [19:37:40] no problem, although I think you mostly helped yourself :) [19:39:24] you mentioned job queue which got my gears turning. just needed the poke in the right direction :) [19:39:31] thanks again! [21:06:36] does anybody know anything about the usage of the user_id field in the user's sql table? i have a very specific issue regarding migrating user management from the internal one to a ldap authentication. i am unsure whether i should delete the internal users or not. [21:07:25] MW creates a user row for external users [21:08:56] Reedy: are you talking about the external_user table? [21:09:23] No, that's not a core table [21:09:53] MW will create a user row so it can keep track of things that the user does (user_name and user_id) [21:10:54] Reedy: Okay, so you're talking about the standard user table. Yes, I know that the LDAP authentication extension creates a new user entry in the table but I am struggling a little about users which are already in the MW database with the same username than in the LDAP. [21:11:44] tamier: rename the users first is probably easier [21:12:06] if you delete enteries, you will be effecting relational data between tables [21:14:29] Reedy: I try to explain my specific use case. We already have a MW instance since a few years and until now we create every user in the LDAP database and we create the same username again in the MW instance. The problem is that some users registered with different usernames in LDAP and MW. Now we want to authenticate all users via LDAP. Since I want to get rid of all users which are not in LDAP I would delete all users in the MW instance. It looks like t [21:15:00] You got truncated at.. "It looks like t" [21:15:42] Reedy: Sorry: It looks like this works because it seems like MW makes user relations only with the usernames and not with the user_id field in the database. Am I right? [21:16:08] i think the LDAP extentension has a setting for this iirc [21:19:56] p858snake|afk: could you provide some source? [23:26:03] Hi there! [23:27:04] \m/ [23:29:19] I try to make for the first time my MediaWiki, but I have a serious problem: Category doesn't work. Even if I add pages with [[Category:Page]], the Category page stay empty. If someone can help me. Thanks you. [23:29:49] !jobqueue [23:29:49] The Job Queue is a way for mediawiki to run large update jobs in the background. See http://www.mediawiki.org/wiki/Manual:Job_queue