[05:50:27] Does anyone here have experience with the mwclient Python library? (Or am I in the wrong place for such things?) [06:28:20] Anyone talking tonight? [06:33:11] Anyone talking tonight? [07:43:41] I just discovered an ancient mediawiki install (1.19.0), where can I find patches for 1.19.0 -> 1.19.8? they are missing from https://releases.wikimedia.org/mediawiki/1.19/ [07:45:54] or is it possible to just update from 1.19.0 to 1.19.20 in one step? [07:47:08] lol ancient, what adjecive would you use for the hundreds 1.10 wikis around then :P [07:47:32] Yes it is. In fact you can update from 1.19.0 to 1.23.5 in one step too [08:50:49] Hi, is it possible to make Math formulas images not to be blurry in all the wikipedia.org? [08:52:31] I mean does some kind of setting exist, which could set Math formula rendering with MathJax or other technique? [08:52:59] in my browser [09:02:50] Ok I found this bug report https://bugzilla.wikimedia.org/show_bug.cgi?id=32696, hope it will be fixed shortly. [10:20:15] hello. my mediawiki install stop showing differences on diff pages. What can be the problem or how can i debug it? I'll appriciate for any help. [10:27:06] heartsmagic: What does it do? [10:27:40] Blank page? [10:27:56] it just says: (no diff) Reedy [10:28:01] and i'm sure there is [10:28:22] now i checked again, i had been using wikidiff2, now i disabled it again same result [10:40:57] when i run DifferenceEngine.php it says: PHP Fatal error: Class 'ContextSource' not found in /var/www/wiki/includes/diff/DifferenceEngine.php on line 36 [10:41:19] run it how? [10:42:17] with php-cli :) [10:42:30] i don't know it is suitable, but i don't know any debug method [10:42:40] It's a false positive [10:42:48] ok then [10:42:54] Because the other dependant classes aren't autoloaded, so you'll get fatals like that [10:44:15] so, what can be the problem? any idea? [10:44:49] as I said wikidiff2 is not working either [10:49:10] heartsmagic: Enabling some debugging might help [10:49:11] !debug [10:49:11] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [10:50:38] thank you Reedy , I'll dig this [11:01:27] ok, problem is wikidiff2 extension, I managed to fix internal diff engine [11:01:30] thank you Reedy [11:02:55] yay [11:03:58] maybe my distro's package is the problem. I'll try to use the git version [11:18:21] definetely wikidiff2 problem, git does not work either [11:32:25] ok, drop a bug record to wikidiff2. good days everyone, thanks again Reedy [11:33:35] is there a wgUseRealNamesInSpecialContributions anywhere? [11:34:01] * zuzak isn't sure where real names are actually used [11:34:34] Email stuff i think [11:34:39] !wg EnotifUseRealName [11:34:39] https://www.mediawiki.org/wiki/Manual:%24wgEnotifUseRealName [11:44:54] oh it's used for the credits in the footer [11:45:11] maybe we should squelch the "real name is used for attribution" message in prefs if $wgMaxCredits == 0 [11:45:21] wikidiff3 is the default in MediaWiki? O_o https://www.mediawiki.org/w/index.php?title=Extension:WikEdDiff&diff=0&oldid=1222423 [14:40:37] how do I change the tab names at the top of pages? (ie: page and discussion) [14:50:31] hello [14:50:41] im having a problem with my wiki [14:50:56] all images links went broken after a system update [14:51:18] i have tried various maintenance scripts but none did the trick :( [14:51:50] anyone knows what's to do in this case ? [14:56:56] Bump: how do I change the tab names at the top of pages? (ie: page and discussion) [14:58:04] !namespace [14:58:07] !namespace [14:58:08] See http://www.mediawiki.org/wiki/Help:Namespaces for user help and documentation, and http://www.mediawiki.org/wiki/Manual:Namespace for administration. For adding namespaces, see !extranamespace [14:59:54] Thanks! [15:51:33] ouch... i _just_ setup REL1_24 commit dee6e268e1, created a page called "GeoEvent_Random_Overview", saved it. It shows fine, but when I go edit it again, it shows empty [15:52:05] oh, cache issue... reloading the page solves it. no need for alarm :) [16:00:50] This may or may not be related to MW coding, but I am losing my mind here. Is there any instance in which placing a (a+b) > c type statement in an if clause wouldn't be regarded as a math thing? [16:01:36] because I'm trying to determine if a database return + 30 is greater than the current time, and php seems to think that it's always false or always true. [16:02:02] strings? [16:02:33] Reedy: That's what I thought too, but when I checked the math with an echo statement it returns a negative number [16:02:40] which happens to be correct [16:03:06] Reedy: http://pastebin.com/vpQtP6Zq [16:03:20] var_dump( a, b, c ) ? [16:03:31] also, use elseif [16:06:15] Reedy: Vardump indicates it's string(10) "1412974183" [16:07:24] but dis: echo time() - $res1->current()->timestamp + 30 gives 328682 [16:12:16] I've got it properly cast now so it's using an int, but I still haven't the ofggiest how I wronged this if statement [16:18:18] now that's a bug: http://boogiepalace.hopto.org/stuff/1413303516302699360.png [16:18:24] "active Authors: -1" :D [16:18:46] That's a database error being parsed as a string I think [16:18:48] xD [16:19:11] Ulfr_: really? I don't experience db errors that I know of [16:19:16] everything seems to work [16:19:52] rigid: It's probably not too terribly serious, just sometimes a result set errors out and slips in a casual -1 instead of a result set if something borked [16:19:58] makes if statements and such error out [16:20:14] i see [16:20:32] No idea. I'm a programmer and still can't do equality comparisons right [16:20:40] so I could be so totally wrong [16:20:55] Ulfr_: running maintenance/update.php once solved it [16:21:07] Yep! [16:21:10] well, "solved"... it's 0 now. it should be 1 i guess [16:21:19] presumably if the page exists there is an author [16:22:12] Reedy: I figured it out. Thanks for the nudge :) [17:10:07] !sal [17:10:07] https://wikitech.wikimedia.org/wiki/Server_Admin_Log [17:29:45] hello [17:30:01] i am working on bug 31331 [17:30:14] https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 [17:30:43] I want to know the output of json production [17:31:14] What do you mean? [17:31:15] Where JavaScriptffs.php is used? [17:32:33] The file i have mentioned is producing json manually [17:33:08] I want to know which file is it creating? [17:34:32] Reedy: I want to know the usage of JavaScriptffs.php file i.e. which file is using this? [17:35:06] I'm guessing it's used via a maintenance script for the actual exports [17:37:02] alisha: scripts/export.php [17:39:00] Ok thank you [17:39:23] Can you tell me where can I see the hierarchy of the extension [17:39:41] So that I can get familiar with the flow of data [17:40:17] I don't think anything exists other than the code itself [17:40:18] ok [18:08:04] Hey. Is there a way to get all links of a wiki page through the query API sorted by occurrences? I'm stucked with alphabetically order here. [18:13:54] cholin: no [18:36:38] Reedy: ok. Thanks for the info. Do you have an idea how to get that data anyhow? Do I have to manually parse the page content? [18:36:55] You're meaning links on a specific page, right? [18:37:45] yea [18:38:29] I think parsing the page would be the only way [18:39:13] hm ok. Thanks! [19:11:40] Hello :) does any one have a little free time to help me work through this issue? My media wiki install isn't letting edit it for some reason and I can't work out why it wont update when I save edit ..... [19:11:58] Hey I was wondering if anyone could help a total wiki novice (and I mean total, sorry for the head ache) I've been handed the reigns to a site running media wiki 1.16, my version says I'm running PHP 5.2.17, my web host is now going to start charging me extra $ for any site I'm using that isn't PhP 5.3+ . I noticed on the mediawiki website that version 1.16 works with PhP 5.3, is there a simple way I can get it to use that inste [19:12:06] that_leeds_guy: caching? [19:12:37] BeepBoop: Presumably you need to ask them about that... [19:12:40] Hi Reedy, thanks for your reply. Do I need to turn caching off? Should I reset my browser? [19:13:06] Are the edits there in the article history? [19:13:12] Let me check [19:13:58] No it's not showing any edits .... [19:15:26] Do you want me to send you a link to the URL where my MediaWiki is @Reedy? [19:16:17] that_leeds_guy: You could... [19:16:21] BeepBoop: What host do you use? [19:16:51] nsmecheap.com [19:16:57] Hi @Reedy this is the URL - http://leedswiki.com/index.php?title=Main_Page [19:17:01] thanks for taking a look and trying to help :) [19:20:17] Sorry, as I said, total novice here. 1&1 is my host. We also run a forums on the site which runs 5.3, but for some reason our wiki says its running 5.2. Is this an issue I should speak to their support about? [19:20:36] Do they run on different subdomains or something? [19:20:55] BeepBoop: http://help.1and1.com/hosting-c37630/scripts-and-programming-languages-c85099/php-c37728/change-the-default-version-of-php-in-the-control-panel-a792330.html [19:22:35] I have commits in my local git history from people who do not have a gerrit user account, which apparently makes gerrit refuse to accept them for review. How do I get them pushed? [19:22:56] *accept the commits* not the people [19:23:01] Amend them? [19:23:33] I think the author doesn't have to be in gerrit, but the comitter does [19:23:42] Can I amend commits that are not head? Also, I'd like to retain the info who actually wrote that stuff. [19:24:00] you can use interactive rebase [19:24:12] and "edit" n commits [19:24:27] Do I need edit and commits ?? [19:24:40] Reedy: Hmm, ok. That's 74 commits. [19:24:45] FoxT: lolwut [19:24:54] commits ? [19:25:11] Reedy: Trying to import a lib and keeping author information [19:25:29] FoxT: Ah. Lib to where? [19:25:34] Some repos allow direct push [19:25:57] Reedy: skin/chameleon [19:26:02] that_leeds_guy: That's just weird. Do you have any rewrites or anything setup? Checked your webserver error log? [19:26:06] Reedy: And no direct push. Not for me anyway [19:26:32] Sometimes we enable it temporarily for things like this [19:27:15] Reedy: [19:27:34] Reedy: So whom do I have to ask? [19:28:31] @Reedy, No I haven;t done anything but the basics and installed media wiki [19:30:53] !debug | that_leeds_guy [19:30:53] that_leeds_guy: For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [19:31:22] I just checked my error log and there is nothing in there //// [19:34:00] Also when I click show preview a cog whirls at the top but nothing happens ...... [19:34:07] Is there something wrong with my media wiki? [19:39:28] that_leeds_guy: The preview/diff buttons just take me back to the article page [19:39:59] but with out the edit visible right @Reedy? [19:40:05] Right [19:44:03] Any ideas what might be causing it? [20:43:21] join #mediawiki [20:43:46] hello [20:48:21] hello [20:55:18] hello [20:56:04] hey [20:59:11] hlooo [21:00:09] helo [21:06:25] Hi I am looking for someone to help me solve this issue. When I hit save on my media wiki install the info I have written isn't saved to the page. Can anyone please help? [21:07:21] Does anyone know where I might be able to get help with this issue? [21:09:23] that_leeds_guy: You are at the right place. [21:09:57] that_leeds_guy: Try to switch on debugging on your wiki to get more clues [21:10:37] that_leeds_guy: You might also write to the mediawiki mailing list. See https://www.mediawiki.org/wiki/Mailing_lists [21:10:49] Hi FoxT you might have to be very patient with me ........ can you tell me how to switch on debugging please? [21:11:00] !debug [21:11:00] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [21:13:10] hello! [21:13:38] that_leeds_guy: Curiously you are the second person with this exact problem in as many days. Dont know if thats significant or coincidence. [21:13:47] for the manual installation of parsoid, which directory should i clone it to? [21:14:13] the same as VisualEditor or in /usr/lib? [21:14:17] that_leeds_guy: Anyway, I have no idea what could be the problem. [21:14:32] hi i m new to this channel n can any one please help me where to start from? [21:14:35] I think I'm going to pay someone to fix it ......... [21:15:11] that_leeds_guy: Boooring. ;-) [21:15:50] I know but I'm at a loss and I want to get my project up and running! [21:17:48] that_leeds_guy: Just a wild guess, but could there be some connection to antispam? [21:17:59] could someone help please? :) [21:18:36] I don;'t know how would I find out @FoxT? [21:22:50] that_leeds_guy: I saw a param wpAntispam sent with the edit request on your wiki, so I thought the Antiwpam extension was installed on your wiki. But according to Special:Version it is not. Hmm... [21:24:18] I'm wondering if I should be using something more simple than media wiki [21:25:02] that_leeds_guy: Dont expect me to say 'yes'. :D [21:25:23] Really, it depends on what you want to do [21:26:14] I am trying to create a city wiki [21:27:27] Hello, I have I question for you guys. I'm an administrator on a MediaWiki Wiki, but don't have any access to the server/shell/database. I use pyWikiBot from my own server to purge a lot of spam pages with listpages.py + delete.py. Now I have a list of thousands users to ban (one per line in text files). Do you know a good way how to leverage the MediaWiki API to mass ban users ? Thanks [21:27:53] that_leeds_guy: Then MediaWiki would be a good choice, I'd say. [21:31:29] I thought so to but then I can't even get past this first hurdle ....... [22:28:47] does anyone know which etherpad'ish extension is more robust? EtherpadLite or EtherEditor? [22:29:11] oh, nvm. the one is marked as "stable" while the other is not. [22:29:14] didn't see that [23:31:13] rigid: I think they're very different [23:31:31] rigid: EtherpadLite is used to put pads embedded in a page, like when you're viewing an article [23:31:45] rigid: EtherEditor is an editor that uses EPL as the transfer mechanism [23:32:08] yeah, i guess that's why EtherEditor is more unstable [23:32:32] EtherpadLite just seems to be an iframe or something [23:35:10] Yup [23:35:28] rigid: I'm the EtherEditor maintainer, such as it is - it's more unstable because of a breaking change in the EPL API [23:35:37] So you'd need to use an older version of EPL for EE to work [23:35:53] Which version, you might say? I don't know. I didn't track that. [23:37:02] ah... well, it's an interesting project. It would be nice if such a feature could make it as an optional feature into the main tree (from user perspective) [23:37:35] maybe by forking EPL... if it can be done securely and stable it would just rock [23:37:58] lots of EPL features wouldn't be needed, I guess. chat, text formatting etc.