[00:36:10] hi [00:52:44] can someone help with bzreader_ [00:52:46] ? [00:54:21] lbertolotti, hi again, [00:55:08] lbertolotti, each time you ask, tell the full error message that you are seeing. i wanted to ask whether you tried to re-download the original file, and whether it happens to other smaller dumps (try a dump or a smaller wiki) [00:56:32] I'm always gettings the same error [00:56:44] wich dump you want me to index? [01:51:29] i want you to be here :-( even if it is for an hour :-( [02:00:40] I`m getting index does not exist error [02:09:12] lbertolotti [02:09:31] lbertolotti please try dump of any other small wiki. what web page are you downloading the dumps from? [02:10:59] https://dumps.wikimedia.org/enwiki/20180401/ [02:23:37] lbertolotti, https://dumps.wikimedia.org/plwiktionary/20180401/ looks a bit smaller, perhaps try that [07:33:07] hi [07:34:01] I have a little problem with removing a "zombie" page from a category - somebody created at least two versions of it and redirected between the two [07:34:28] also the page title contains a ? in one of the variants [07:34:46] I cannot get the page removed so it doesn't show in a category listing [07:35:04] I tried emptining the cache [07:35:15] I tried deleteArchivedRevisions.php [07:35:21] I tried rebuildLinks [07:35:53] I tried poking at the database but so far its a maze of twisty little key relations all alike [07:37:24] I really don't cvare about the history of this thing being preserved but it sems there is no true deletion possible [07:37:53] the only stuff i found so far relates to basically super hiding of stuff [07:44:54] oh man everything being stored as varbinary does not help [08:09:15] ok found it [08:09:41] somehow one of the redirected pages was still active but you bever got there actually [08:09:44] fun [09:50:27] Is there any advantage in using a lot of {{#ifeq:}} rather than a single {{#switch:}}? en.wikipedia.org/wiki/Template:morse makes a heavy use of the former for some reason [10:01:51] meh, I replaced a long chain of {{#ifeq:{{{1}}}|foo|stuff}}{{#ifeq:{{{1}}}|bar|stuff}}{{#ifeq:{{{1}}}|baz|stuff}} with a single {{#switch:{{{1}}}|foo=stuff|bar=stuff|baz=stuff}} and now it takes longer processor time [10:02:29] I'll leave it as it was [13:35:19] why spam filter so hard ? :) [13:46:33] cronolio, why you think so? [13:46:39] https://www.mediawiki.org/wiki/Manual:Combating_spam [14:26:46] andre__ once spam filter didn't allow me save translation with external link, which is from english text. also this problem come more difficult for new users since translation extencion don't show this capcha. required editing translation in wiki editor to you able to see this capcha. [14:57:13] cronolio: Feel free to contact the admins on that wiki that you refer to. [15:19:49] this is mediawiki and i hope someone can be here :) [15:21:01] cronolio, everything is MediaWiki. Or did you mean mediawiki.org ? [15:21:14] but it's hard to help if you don't have a specific request. [15:21:40] cronolio, if there is an issue with AbuseFilter settings on a wiki, contact that wiki. [15:24:15] ok, while mediawiki.org combat with spam, i'm here will combat with spamfilter :) [15:24:29] and I provided a link already. [15:24:44] and explained what to do. [15:31:50] andre__ thank you for your helping. I mean some one from admins can be here and can help me [16:01:38] cronolio: Unlikely without any details, plus this channel is about the software called MediaWiki. If you want help about Wikimedia websites like mediawiki.org, maybe #wikimedia-tech is better. [16:01:54] cronolio: but again, without any details nobody can help. You need to be more specific there :) [16:46:14] andre__ details should be in some capcha log. i did not find yet where this log on mediawiki.org [17:11:28] admin? [17:12:04] Wiki-1776: how? [17:26:34] hi, this minimal template returning the time and adding one space char, why that ?:) https://ybin.me/p/7ad213da21055402#ARkpbGsTQIDyaFQ1SdAB2rPmeadjl1HoR2kt5/QzbUg= [17:27:28] {{#time:d "ב"F Y|{{{תאריך}}} }} [17:27:34] There's a space after the }}}? [17:28:01] yea, but that does not related (checked), the #time may strip that [17:28:35] you have a line break in between and [17:29:11] tyvm! [17:29:20] either get rid of that line break, or switch the to (and get rid of the section, as that's irrelevant when onlyinclude is in use) [17:29:35] there is any solution to make those templates more readable? [17:30:23] readable how? [17:33:56] syntax highlighting for saved mediawiki words? [17:34:57] niso: Try https://www.mediawiki.org/wiki/Extension:CodeMirror [17:35:19] Works well with templates. You can try it out on wikipedia. [17:36:44] tyvm:) [17:42:29] that seems to not work with changing ltr->rtl, but still helpful [17:46:31] niso: Yeah. :( [18:18:10] Hi guys, I just finished installing parsoid as per https://www.mediawiki.org/wiki/Parsoid/Setup link for Visual Editor extension but for some reason. Error I get when I click on "Edit" button is: https://www.dropbox.com/s/2pdqys3x65ix84k/Screenshot%202018-04-19%2011.17.52.png?dl=0 which is not very helpful [18:18:20] any ideas what I might be doing wrong here? [18:19:01] There is nothing in apache error logs either, nothing in parsoid logs as well [18:19:11] I'm trying to run mediawiki in docker. I see that it takes an environment variable, MEDIAWIKI_DB_PASSWORD [18:19:39] I'm using docker stack [18:20:03] It would be nice if I could provide a file with the password in it rather than putting it in the environment. Is there any way to do this? [18:21:30] For instance, putting wordpress in docker, I was able to specify the following environment variable: WORDPRESS_DB_PASSWORD_FILE [18:23:29] im trying to fixup some templates, ive got 2 of them returning same text but kdiff seems to find binary difference. the output is file (on mediawiki) name. there is way to debug this? [18:23:57] ive try to enable "$wgDebugLogFile" but it seems that the file path checking isnt there [18:24:30] Just had a look at apache error log again and got this: PHP Warning: require_once(/var/www/html/w/includes/profiler/ProfilerFunctions.php): failed to open stream: No such file or directory in /var/www/html/includes/WebStart.php on line 64.......I do not have 'w' in the path /var/www/html/w/include [18:24:34] where is it getting from [18:30:34] you have $wgScriptPath set incorrectly perhaps [18:31:26] or you have a lingering StartProfiler.php in your wiki root with wrong path [18:31:34] or you have the MW_INSTALL_PATH env var set and it's set wrong [18:34:23] Skizzerz: Don't have MW_INSTALL_PATH env defined, echo $MW_INSTALL_PATH returned empty; in the root, I only have StartProfiler.sample which is commented out fully btw, and $wgScriptPath is set to empty: "" [18:34:51] hmm [18:35:08] what version of mediawiki? [18:35:13] 1.27 [18:35:22] 1.27.1 [18:37:50] sla3k: well, you're missing a bunch of security fixes for sticking on an old version [18:37:57] it's possible your bug got fixed as well [18:37:59] try upgrading [18:38:05] 1.27.4 is the latest in the 1.27 series [18:39:04] looking at the code, I don't see how it would be injecting a 'w' in there [18:39:54] hmm, I am actually moving this wiki from one server to another, upgrading was in the pipeline after I get this one working exactly as on the other server, which is working as expected by the way. [18:40:27] cache/ is empty too so it's not cache issue. [18:42:17] that's funny, it just stopped logging error in apache log file, but it won't load VisualEditor either with the same error pop up as above. [18:42:49] depending on how you installed it, 1.27.1 may have a critical vulnerability that gives attackers the ability to run arbitrary code on your server, which is why I strongly recommend upgrading to 1.27.4 [18:43:25] (if you installed via the git repo, you're potentially vulnerable. If you downloaded and extracted the tarball, you're probably safe) [18:43:59] I generally stay away from nightly builds over github.. [18:44:31] in any event, for the path issue, check apache configs and perhaps parsoid config to see if a /w snuck its way into any of those [18:44:48] also check that WebStart.php file on line 64 and make sure it doesn't have a /w in there [18:46:50] Already did, no trace of /w/ in the path. And for some reason I am not seeing it now. I did clear the /cache (although there was nothing in there), deleted /cache dir and created again with 777 permissions. [18:48:58] sla3k: maybe you were seeing cached error messages [18:54:26] DanielK_WMDE: Probably, I am one step closer, php-curl was not installed, I installed that and now a new error: https://www.dropbox.com/s/sn6mw174hhw31vo/Screenshot%202018-04-19%2011.54.22.png?dl=0 [18:59:25] Looks like an issue with Parsoid 0.9.0all [18:59:31] Going to downgrade. [19:07:37] BINGO! parsoid 0.9.1all was the culprit! [19:08:32] For reference: https://www.mediawiki.org/wiki/Extension_talk:VisualEditor [19:32:16] I need help [19:32:17] Hi Zoranzoki21, just ask! There is no need to ask if you can ask, if you already asked the question please wait for someone to respond [19:32:39] Which format I need to use of file with list of pages for deletebatch.php maintenance script [19:35:19] Which format I need to use of file with list of pages for deletebatch.php maintenance script [19:36:14] newline seperated [19:36:21] $this->addArg( 'listfile', 'File with titles to delete, separated by newlines. ' . [19:36:22] 'If not given, stdin will be used.', false ); [19:45:08] Reedy: No work [20:03:11] anyone familiar with working with debugtemplates extension + parserfunctions\cargo? [20:48:26] What extension is used for the visual editor on Wikipedia website? [20:51:39] Zythyr: VisualEditor :) [20:51:41] !e VisualEditor [20:51:41] https://www.mediawiki.org/wiki/Extension:VisualEditor [20:52:17] Cool I just wanted to confirm its the same one [20:52:24] Thanks [23:54:45] I'm back [23:55:43] the index does not exist for plwiktionary-20180401-pages-articles-multistre