[01:13:00] "OPcache is included in PHP 5.5.0 and later and the recommended accelerator for MediaWiki." [01:13:18] I have installed PHP7 on ubuntu - is opcache going to be enabled by default? [01:19:23] Asterixf2: yes opcache is enabled by default [01:23:28] legoktm: thank you [01:23:56] legoktm: I have used your package for ubuntu 16.04 - nice work [01:24:07] oh, thanks :)) [01:24:14] glad to hear that it's useful [01:47:28] I did 'apt-get install php-apcu' but php -i | grep APCu says [01:47:33] APCu Support => Disabled [01:47:43] I have restarted vm before checking [02:00:46] Ok, I have enabled this by adding: apc.enabled=1 [02:00:47] and apc.enable_cli=1 in sudo vim /etc/php/7.0/apache2/conf.d/20-apcu.ini [02:00:55] no I get APCu Support => Enabled [02:01:10] but despite this, MediaWiki configuration after restart still says: [02:01:19] Warning: Could not find APCu, XCache or WinCache. [02:01:20] Object caching is not enabled. [02:02:44] Perhaps this is relevant: https://phabricator.wikimedia.org/T61998 [02:04:35] Reedy: I have noticed you have been involved in this issue: https://phabricator.wikimedia.org/T140587 [02:04:42] Is there a quick fix? [02:09:15] !ops hola aallvaarooo [02:09:17] hola aallvaarooo [02:21:02] legoktm [02:40:52] paladox [02:51:27] sadly there's a mediawiki bug with APCu on PHP 7 that wasn't fixed until just recently (or maybe the patch is still pending, don't remember) [02:52:21] you can try running the latest alpha to see if that works, otherwise you'll need to wait until if/when a fix is backported to whatever version you are running, in the meantime either try setting up memcached or set your $wgMainCacheType to CACHE_NONE [02:53:04] Skizzerz: is this possible to just apply patch for this single issue? [02:53:17] I have latest version - 1.27.1 [02:54:12] Skizzerz: if I ignore this, is this easy to enable it manually later after a patch is available? [02:58:01] after it's patched, set $wgMainCacheType = CACHE_ACCEL to enable it [02:59:31] great, thx [03:17:29] Reedy may know more (I think it was him, at least, that was working on it) [08:42:04] The tag cite is not formatted in italics in some wikis (en.wiki id.wiki pt.wiki) in others it's ok (fr.wiki de.wiki it.wiki); see: https://en.wikipedia.org/wiki/Help:HTML_in_wikitext#cite [08:53:20] possibly related to: https://phabricator.wikimedia.org/T92370 [09:36:04] Dzień Dobry [09:36:08] and is dobry [09:36:38] Sun is shining and Googel tells me it is 9 degrees [09:36:51] I better analogggx this [09:37:21] Analogggxing it tells me it is 11C and the thermometer is not in sunlight [09:38:28] Remember kids: You can always tell jubo2 to --less-verbose ... he prlly not gonna mind you but you can always try [09:39:17] I would like to thank the people that make the marvellous software MediaWiki [09:39:31] I have been relying on it for my creative work for 13 yrs [09:39:50] and persistence [12:48:30] Niharika: why is everyone jumping on this task? https://phabricator.wikimedia.org/T145926#2682442 [12:48:53] Perhaps any advertised task list should be randomised ;) [12:50:48] Nemo_bis: Some hackathon I think [12:52:27] Uh. [12:53:14] Hmm https://www.mediawiki.org/wiki/Events [12:53:49] I think Niharika knows more [12:54:49] Nemo_bis: https://www.mediawiki.org/wiki/Wikimedia_Hackathon_Amrita_University [12:54:58] does it make sense to care about APCu once memcached is in place? [12:55:15] Nemo_bis: The advertised task is everything tagged with Easy. [12:55:29] Randomized enough? :) [12:59:25] Asterixf2: Usually, you need more than one cache type/source etc [13:00:31] Niharika: it might help to sort by update date or something [13:00:41] oldest first is usualle best [13:18:28] Nemo_bis: Got it. We told students to not claim tasks until they can reproduce it and have a good idea of how to fix it. [13:23:08] legoktm: https://www.mediawiki.org/wiki/User:Asterixf2/Mediawiki_Installation_on_Ubuntu [13:24:11] Asterixf2: fwiw, you can install multiple packages at once [13:24:33] sudo apt-get install mediawiki libapache2-mod-php [13:24:34] etc [13:25:17] Reedy: I know, I have just copied this from my log :) [13:25:31] first time install [16:18:33] ALVAROMOLINA KILL DEBE MORIR.. LALALALLALALA... JEM VALE MIERDA Y ALEXZ AMA A C ❤❤❤❤😘😘😘 [16:24:11] hola alvaro molina [16:39:55] hola alvaro molina [19:13:14] hello? [19:13:26] i have something going on with mediawiki i may want to ask about [19:13:45] not sure if it's a bug or not, but it's a strange event [19:15:23] !ask | FD [19:15:23] FD: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [19:16:09] rfarrand: hello, I remember reading an announcement of an outreach event in Berlin (for women coders) end of October, but I can't find any details... do you have a link handy? [19:17:06] the main page of my website, which has not yet been shown to the public, has amassed 600,000+ views in a matter of days [19:17:50] is it web-accessible? [19:18:02] yes, in fact i believe this is a bot-related issue [19:18:09] if so, that could be bot traffic (such as spiders indexing it), although 600k is really high for that [19:18:23] if you maintain access logs, you may be able to see the requests in there [19:18:39] FD: do you know which URLs are accessed so often? [19:18:45] If you're using Apache, that logs by default. So you probably have access logs lying around somewhere. [19:18:51] the account-view ratio is very low in this case, so it may not be the same people, per-se [19:19:07] saper: https://www.wikimedia.de/wiki/LadiesthatFOSS [19:19:18] aside from the main page, the others have views in the double or sometimes triple digits [19:19:22] In /var/log/apache or something similar, most likely. [19:20:01] so the apache logs would help give insight? [19:20:15] yes [19:20:16] If it is a case of one or two misguided bots, that'll show up quite clearly. [19:20:23] URLs, user agents, IP addresses [19:20:29] As it will show one or a handful of IPs repeating constantly. [19:20:32] Or user agents, at least. [19:20:42] i see [19:21:30] guessing an IP ban only goes edit-deep [19:21:49] Depends on where you implement it. [19:22:13] Simply using the MediaWiki ban feature, that'd be the case though, yes. [19:22:15] if you block it via the wiki, then yes, that only prevents them from editing [19:22:25] you can block them at the firewall level to prevent the connection from ever happening [19:22:55] ah [19:22:56] exactly how you go about doing that depends on your OS [19:23:26] rfarrand: thank you very much, tried searching wikimedia.de,mediawiki.org and even meta to no avail (didn't remember the exact name) [19:24:43] i appreciate the help from both of you [19:25:27] No problem! :) [19:26:10] FD: let us know if you find something interesting [19:26:58] FD: most spam-fighting extensions (AntiBot, AbuseFilter) and abuse reporting (CheckUser) work on actual edits, not on accesses (reads). [19:27:26] thanks for the info [19:27:49] also, while i'm here, i have a quick question regarding translation formats [19:27:53] Plus literally all of them will at the very least act after the actual connection happens. [19:28:02] saper: np :D [19:28:07] Since you need to go deeper in the stack than MW to completely refuse the connection. [19:28:32] Not that the connection itself is typically the heavy part :P [19:29:02] hi [19:29:06] Hello, DMI-1407. [19:29:22] is it possible to remove libraries from mediawiki 1.26 ? [19:29:32] you can use fail2ban to ban IP that do a lot of requests on short periods, by looking at apache access logs [19:29:53] if someone with an IP from a certain country [or someone with a country in their user information], would there be a way to automatically send that user to the native-language translation of a page? [19:30:12] DMI-1407: You'd probably need to edit MW itself to do so, which isn't recommended. Why do you want to? [19:30:18] i ask because i have had to use {{#translation:}} at the end of every link to get something like that working [19:30:26] sorry to interrupt dmi [19:30:36] Two conversations can go just fine at the same time ;) [19:30:54] no problem, exactly [19:31:31] Meneth, i have trouble to understand for what they are used exactly [19:31:54] DMI-1407: To make MW work, presumably :P [19:32:00] and i use the wiki on an webspace where i doesnt have access to specified paths or applications [19:32:18] so as example i doesnt have python [19:32:22] or a cmd [19:32:26] or diff3 [19:32:42] Special:Version gives a description of what each library does, so that should explain why they're there. [19:33:41] "Statsd (Object Oriented) client library for PHP" [19:33:44] does not help [19:34:08] rfarrand: thanks, I'm sending a mail to Lucie and Julia - maybe they are still looking for mentors or some other help [19:34:19] this are describtions like: [19:34:19] phpabc - abc for php [19:34:28] saper: good call [19:34:49] DMI-1407: Most of the vendor libraries don't do external calls... to python etc [19:35:18] rfarrand: I remember helping during the MW hackathon in Berlin (during the git workshop) and it was fun [19:35:40] what happens if i doesnt have access to bash or cmd ? [19:35:51] Statsd really does have a terrible description, I agree. [19:35:57] It seems to be some sort of statistics module. [19:36:00] the diff3 string is empty because its not installed [19:36:03] what now ? [19:36:30] If you don't have diff, it'll fall back to PHP diffing. [19:36:36] Which is slower, but still works. [19:36:52] saper: there is always Vienna hackathon 2017 too! [19:36:59] so i doenst need to rewrite diff3 ? [19:37:16] You can definitely run a wiki just fine without shell access; I did so for a year or so when I first started out. [19:37:27] No. If it fails to find diff/diff3, it just uses PHP instead. [19:37:43] is there a page that shows me which programms cant be found ? [19:37:58] Not that I know of. [19:37:59] (like pypthon interpreter, cmd / bash, diff3.....) [19:38:07] hm [19:38:33] All you actually need though is PHP, MW, SQL, and some sort of web server that can handle PHP. [19:38:45] yeah [19:38:52] Most likely Apache; most shared hosting uses Apache. [19:38:55] but i want to know what is running [19:39:20] Special:Version will tell you what version of PHP, SQL, and MW you're running. [19:39:59] i know [19:40:11] i mean librarys [19:40:21] *libraries [19:40:23] Those are listed in the same place, no? [19:41:09] note that libraries are not standalone program executables [19:41:23] diff, python, cmd, etc are not libraries [19:41:30] yes i know [19:41:34] that because i ask [19:42:26] i want to know what happens if i doenst have standalone executables installed and which libraries are used to replace this executables [19:43:08] diff is the only executable that can be replaced by a library IIRC [19:43:36] and i want to know exactly for what the different libraries are used [19:43:42] Probably also the only executable required beyond PHP and SQL, I think. [19:43:51] and convert (ImageMagick) by the GD library [19:43:54] Well, "required". [19:44:16] Oh and there's whatever your system aliases to "mail", I guess. [19:44:20] only if you allow uploads, of course [19:44:37] If "mail" is missing, emails simply won't work. [19:44:52] mail is sent directly by PHP, I think [19:45:09] i doenst need the functionality for sending emails [19:45:30] Entirely possible PHP handles the connection to mail, but mail is its own executable. On Ubuntu at least. [19:45:40] I switched it out at some point. [19:45:43] mail is just a plain text protocol, it doesn't require a lot to make it work [19:45:45] for now i know that the composer/semver lib is using to replace the diff3 utility [19:46:05] *used [19:46:11] I know when I first moved to my current server, mail wouldn't work until I actually installed a mail client. [19:47:57] for what does i need wikimedia/avro ? [19:48:09] i am not using apache [19:48:25] why does i need to have that thing installed ? [19:49:01] You sure you don't have Apache? If you're on shared hosting, that's most likely your web server. [19:49:56] why do you want to remove libraries in the first place? [19:50:16] Why does the "Show bots" option on the RC feed not override the "Hide registered users" option? Are there bot accounts that are not registered user that could possibly show up? [19:50:33] Yeah, it's not like they're gonna get in the way if they're just never called. [19:50:39] because its useless code [19:51:02] PHP is an interpreted language. Code that's never called really isn't gonna matter. [19:51:10] and i dont like if i doesnt know what the programm is doing [19:51:38] It probably spends a few nanoseconds on including that code if it isn't called. It really doesn't matter. [19:52:33] I think that's a losing battle, DMI-1407; chances is literally no one fully understands what MediaWiki is doing ;) [19:53:17] thats shit [19:53:30] That's the reality of any program that's hundreds of thousands of lines long. [19:54:28] go look at includes/parser/Parser.php and tell me if you're comfortable having that in your server :) good luck trying to understand what it does [19:54:57] well, you could use parsoid instead.... [19:55:08] same applies to every file it's lying on your hard disk [19:55:46] lets take symfony [19:55:51] ShoeMaker: it's possibly to have non-bot edits marker as "bot". for example, administrators have the ability to mark the reverted edit as "bot" when rollbacking. [19:55:53] this lib is installed [19:56:01] but not configurated in localsettings [19:56:17] https://www.mediawiki.org/wiki/Extension:AuthSymfony [19:56:25] says i need to configurate it [19:56:36] if i havent configured it [19:56:39] and my wiki works [19:56:45] why cant i simply remove it ? [19:56:52] What has that extension got to do with anything? [19:57:02] i dont know [19:57:18] that the next reason i want to remove it [19:57:46] symfony isn't a standard ship library [19:57:46] extensions and 3rd party libraries are two entirely different things, don't conflate them [19:57:50] So I don't know how you've installed it [19:58:42] ah shit [19:58:44] i havent [19:59:18] is it possible that extansions can install libraries if needed ? [19:59:34] yes [19:59:42] i installed nuke, renameuser, imagemap, math, syntaxhighlight and wikieditor [19:59:54] So, SyntaxHighlight would be why you have symfony/process [20:00:17] ah ok [20:01:11] and why does a highlighter need to use another user database ? [20:01:33] It's not a user database [20:01:54] It's for running things in sub processes [20:02:04] The highligher depends on pygments [20:02:08] MatmaRex: wouldn't the rollback be under the registered administrator's account? [20:02:12] "AuthSymfony extension allows MediaWiki and Symfony to share authentication info. Symfony does all the work in this case, with all user creation and management being done there. Mediawiki's account creation is disabled and all authentication checks go to the Symfony database." [20:02:13] https://www.mediawiki.org/wiki/Extension:AuthSymfony [20:02:32] That isn't the same thing [20:02:48] It's completely different [20:02:49] bah :/ [20:02:52] http://symfony.com/doc/current/components/process.html [20:02:52] ok [20:03:19] ShoeMaker: not just the rollback, but also the edit being rollbacked, can be retroactively marked as "bot". [20:04:08] how can i test that the libs are working [20:04:20] or what shows me if somethings doesnt work ? [20:04:53] i know only this things for the Math extantion [20:04:58] *page [20:05:16] *extension [20:08:03] MatmaRex: Why would anyone want to get a list of edits that were already dealt with by an administrator and rolledback? [20:08:38] It would make more sense to get a list of edits that have not been checked by a human from approved bots to make sure they are staying on task and there are no scripting errors. [20:08:49] Well, at least to me it would. [20:08:57] ShoeMaker: That's more suited for the "patrolled edit" feature. [20:09:07] ShoeMaker: why would i know? [20:09:17] i've not worked on any of this. i'm just explaining how it works [20:09:39] Chances here is simply that two separate toggles were implemented, and no one really cared that they're mostly mutually exclusive. [20:09:57] Or if they did care, not enough to do anything about it, since that'd probably complicate the code somewhat. [20:10:16] lol [20:10:48] Meneth: It's not more suited for "patrolled edit" because bot accounts tend to be autopatrolled. [20:11:31] Well, patrolling is the main way to denote that an edit hasn't been seen by a trusted person :P [20:13:13] https://en.wikipedia.org/wiki/Special:ListGroupRights#bot -- Have one's own edits automatically marked as patrolled (autopatrol) [20:13:13] Have one's own revisions automatically marked as "accepted" (autoreview) [20:44:37] it's sad to have spam-fighting tools like https://www.mediawiki.org/wiki/Extension:BlockAndNuke unmaintained :( [20:45:00] there isn't even a phabricator tag for it [20:45:41] Title says broken [20:45:50] Talk says it was supposed to be fixed? [20:48:04] lol fixed 2 weeks ago [20:48:37] removed the notice [20:48:40] gj [20:53:15] Reedy: Could you review this patch here : https://gerrit.wikimedia.org/r/#/c/312643/ [20:53:34] I have published the edits [21:21:41] Vulpix: "Integration with Extension:UserMerge" well, that's completely broken [21:22:01] if( class_exists( "UserMerger" ) ) { [21:22:04] No class with that name [21:23:19] lol [21:33:35] Reedy Vulpix https://gerrit.wikimedia.org/r/#/c/313914/ [21:34:07] paladox: No, that's completely wrong [21:34:12] I'm fixing it ontop of my commits [21:34:18] Oh sorry [21:46:27] Ugh, this code is a mess [21:48:23] I think it's right [21:54:08] or is it? [21:54:19] Probably not [21:54:20] !bug 1 [21:54:20] https://phabricator.wikimedia.org [21:54:25] * Reedy kicks wm-bot [21:54:44] * Cameron11598 hides wm-bot behind me [21:54:56] Bots are people too! Wait.... [22:04:26] huh, who broke !bug [22:04:28] !bug [22:04:28] https://phabricator.wikimedia.org [22:04:38] wtf [22:05:38] [19:08:10] !bug del [22:05:38] [19:08:11] Successfully removed bug [22:05:38] [19:08:20] !bug is https;//phabricator.wikimedia.org [22:05:51] !bug del [22:05:51] Successfully removed bug [22:06:06] !bug is https://bugzilla.wikimedia.org/$1 [22:06:07] Key was added [22:06:09] !bug 1 [22:06:09] https://bugzilla.wikimedia.org/1 [22:06:14] there [22:06:28] Ping? [22:06:30] Matthew_: please don't break wm-bot keys again :( [22:06:44] MatmaRex: Erm... There was no $1 in the oringinal key. [22:06:47] IIRC. [22:06:58] there definitely was [22:07:09] Plus... Why are we still linking to Bugzilla? [22:07:27] because it still works [22:07:59] ... Fine. I was trying to fix it. [22:08:20] D: [22:10:18] !bug [22:10:18] https://bugzilla.wikimedia.org/ [22:10:28] it doesn't display the $1, but it's there [22:13:47] Matthew_ there's !task [22:13:52] !task [22:13:52] https://phabricator.wikimedia.org/T [22:15:56] Okay.