[04:14:02] !fast [04:14:02] [09:26:20] Hi, how do i edit a users email address in mediawiki ? [10:41:00] stangeland, using a maintenance script? [10:41:41] Krenair, well if a user changes email he should be able to go and change his email in the user interface...or at least the admin should with having to run scripts [10:42:04] I don't understand what you're saying [10:42:11] are you asking how a user can change their own email address? [10:42:25] or how you can change a user's email address as the site host? [11:48:06] Krenair, how can a user change his email address? [11:48:32] there's a link under preferences somewhere iirc [11:51:19] stangeland, Special:Preferences [11:51:36] User Profile > Email options > Email (optional)* [11:53:04] ah thanx [14:33:27] How does wikipedia block spammers? what is the blocking strategy? I'm trying to block scammers on my web app, and the same one seems to come from different ips, use different email addresses, etc. [14:34:12] People, usually [14:35:17] Reedy: you mean that people help to block the new accounts? [14:37:04] Yup [14:37:27] There's a certain amount that's done "automatically" but a lot of it really is down to people [14:37:38] We do have tools to help them do that [14:37:42] !spam [14:37:42] For information about combating and handling spam in MediaWiki, see and . [14:37:44] !checkuser [14:37:44] CheckUser is an extension that allows privileged users to see what IPs a user edited from or what users edited from an IP. For more information see < http://www.mediawiki.org/wiki/Extension:CheckUser > [14:38:50] !captcha [14:38:50] For more information about CAPTCHAs and MediaWiki, see . [14:39:22] mrgenixus: Depending on the nature/source of the "attack", blocking IP range may or may not be helpful [14:39:36] Some simple things like adding captchas for login may help [14:49:00] I cant seem to get search to work, it just gives me the generic Database error page, A database query error has occurred.. [14:49:02] mrgenixus: instead of trying to block users by IPs or names, try to block content they try to spam [14:49:45] there is f.e. https://www.mediawiki.org/wiki/Extension:SpamBlacklist [14:49:56] and you can set it to read a black list from another wiki [14:50:12] so you could use en.wikipedia's black list instead of having to maintain it yourself [14:50:42] (this is just in addition to all that Reedy already said) [14:50:59] !debug | mihok [14:50:59] mihok: 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 [14:51:42] Thanks Reedy and wm-bot ill check that out :) [14:51:42] Hey mihok, you are welcome, but keep in mind I am just a stupid bot, it was actually Reedy who helped you :-) [14:52:05] mihok: If you enable the debugging stuff, it should give a better idea of what's going wrong [14:52:10] And then we can advise a bit more [14:55:45] Does anyone know why Extension:UserGroups doesn't work on MediaWiki 1.27alpha? Is it just too new or am I doing something wrong [15:02:56] Reedy, this is the error after I turn on all the debug config vars [15:02:57] Error: 1142 SELECT command denied to user 'wikiuser'@'172.17.42.1' for table 'global_variables' [15:03:13] I used the grant statement from the installation guide [15:04:11] Do you know where the table global_variables come from? [15:04:29] I'm assuming the mysql database? [15:05:21] Yes [15:05:27] But global_variables isn't a mediawiki (default) table [15:05:39] Its trying to read the ft_min_word_len [15:06:07] How do I grant it access to select that, that table actually doesnt exist in `mysql` [15:06:30] More a question of why it's trying to read from that table [15:06:44] If the table doesn't exist I don't think you can.. Did you have to run update.php and/or should you? Why it's trying to read is a good question [15:06:45] ft_min_word_len seems to be mysql fulltext search [15:07:16] but I see it in the SHOW GLOBAL VARIABLES results [15:07:22] Reedy: mutante thanks. Unfortunately, the issue I'm running into is scams, not spams, so blocking the content is harder. [15:07:29] but I appreciate your help [15:09:00] Surely it's the same shit, just a different colour? ;) [15:09:24] /just died laughing in class [15:09:28] GG Reedy [15:09:57] Reedy: more sticky, more runny... [15:09:59] I try my best [15:10:26] DanielK_WMDE: Ok, so "Surely it's the same shit, just a different (colour|texture|viscosity)? ;)" [15:10:34] indeed :D [15:10:50] DanielK_WMDE: You can tell you've had children :P [15:16:35] Hi. I am facing the following problem with mediwiki_analysis "urllib2.HTTPError: HTTP Error 404: Not Found" when I type "./mediawiki_analysis.py --database mwdb --db-user root --url https://en.wikipedia.org" in terminal. Can anyone explain why this is happening? Thanks [15:24:36] Is there a way I can turn off the search trying to get the min length global variable? [15:26:54] mihok: what are you trying to do? what happens if you try? what would you expect to happen instead? [15:27:24] (i suspect that the answer to your original question is "no") [15:27:33] Search isnt working, and i enabled debug and it is failing trying to SHOW GLOBAL VARIABLE LIKE 'ft_min_word_len'; [15:27:50] I dont know how to grant the mysql wiki user access to that table [15:28:07] information_schema is a special database, and root cant even grant it access [15:31:17] mihok: are you sure that is the query that is actually being isued? [15:31:38] mysql> SHOW GLOBAL VARIABLE LIKE 'ft_min_word_len'; [15:31:39] ERROR 1064 (42000): You have an error in your SQL syntax [15:31:45] I have much more luck with this: [15:31:51] SELECT VARIABLE_VALUE FROM information_schema.GLOBAL_VARIABLES WHERE VARIABLE_NAME LIKE 'FT_MIN_WORD_LEN'; [15:32:52] Hm, interesting, I see the SHOW GLOBAL VARIABLES LIKE syntax in SearchMySQL.php [15:33:35] looks like it has been there since 2010. [15:34:38] The simplest way to run that query seems to be SELECT @@ft_min_word_len; [15:36:06] ah, right. VARIABLE(S)! [15:36:20] mihok: what is the exact error you are getting? [15:38:06] mihok: I don't think reading global variables is subject to permission checks in mysql. [15:38:54] https://dev.mysql.com/doc/refman/5.1/en/show-variables.html sais: SHOW VARIABLES shows the values of MySQL system variables (see Section 5.1.4, “Server System Variables”). This statement does not require any privilege. It requires only the ability to connect to the server. [15:44:17] Is jenkins broken right now for some reason? It seems to me that this patch should not have failed: https://gerrit.wikimedia.org/r/#/c/243937/ [15:50:13] well, those files doesn't really exist [15:52:24] Glaisher: who was that in response to? [15:52:32] you [15:53:58] What files are you talking about? [15:54:22] https://integration.wikimedia.org/ci/job/mwext-SemanticForms-testextension-zend/285/console [15:54:37] src/extensions/SemanticForms//skins/blank.gif' referenced by 'ext.semanticforms.fancybox' must exist. [15:54:57] File '/mnt/jenkins-workspace/workspace/mwext-SemanticForms-testextension-zend/src/extensions/SemanticForms//skins/fancy_title_over.png' referenced by 'ext.semanticforms.fancybox' must exist. [15:55:13] It's not related to your change but those files doesn't exist [15:55:32] Glaisher: oh, I get it. I saw that, but I didn't think that was the cause of the error. Thanks. [15:56:08] I guess Jenkins has become more restrictive at some point recently - there hasn't been any change to any of those files in a long time. [15:56:47] yeah, new tests were added to core to check for this [16:22:56] DanielK_WMDE, it is, because I can do [16:23:06] SHOW GLOBAL VARIABLES LIKE 'x' in root [16:23:13] but not in our wikiuser account [16:31:21] mihok: that's very strange, since the documentation sais no privileges are required. [16:31:42] mihok: can you do SELECT @@ft_min_word_len? [17:04:26] I'm trying to make a set of templates to create tables in a certain style. I'd like to have one to start the template, one for each entry, one to start the next row, and one to end the table. Putting the table tags to start the table inside a template doesn't seem to work right. Any ideas on how to get around this? [17:08:23] emacer: just omit the tag, it's only needed for *raw* html. Most formatting related html tags are allowed in wikitext without wrapping them in tags. [17:09:40] emacer: that going said, syntactically incomplete templates (containing unbalanced tags) are frowned upon, and get in the way of VisualEditor and other wysiwyg tools. We are thinking about how to get rid of them in the long run. [17:10:30] BUt at the moment, you should be able to just have in on template, and
in another, without any problems [17:11:10] Don't indent your HTML though. Lines starting with spaces are treated as pre-formmated, breaking your html. [17:14:01] you can indent with tabs, if you really want to :P [17:19:43] DanielK_WMDE, I wasn't actually using the tag. That was just for example's sake [17:20:13] (sorry, got distracted) [17:21:04] emacer: ah. confusing, because the tag actually exists (if enabled) for raw html :) [17:21:08] getting rid of this would be a terrible idea. I do similar things already to make our wiki look MUCH nicer, and it would be a royal pita if we couldn't do things this way. [17:21:27] MatmaRex: yay, more confusion! It'S actually quite terrible that tabs don't work for pre.-formatted text. Sucks for copy&paste [17:22:57] emacer: allowing things to be done this way is a huge liability, because you can't pre-render individual bits, and re-use them. you also can't use visual editing for the different parts. but rest assured, this isn't going to just vanish without backwards compat. It would break hundreds of thousands of pages on wikipedia. [17:23:10] anyway, gotta go [17:23:29] DanielK_WMDE, yes, but it breaks everything for those of us who don't care about visual editing [17:36:51] I can do SELECT @@ft_min_word_len [17:37:01] just not SHOW GLOBAL VARIABLES LIKE 'ft_min_word_len' [17:48:54] Has anyone here ever set up CentralAuth on a single wiki site [17:51:02] I appear to mostly have it working but when I try to special:CA/user for acxounts created after setup, it shows a page with exception of type exception [17:51:25] Special:CentralAuth/system (founder user) just says no global account but doesn't error [18:34:29] Made more progress. Forgot to do migrate pass so global accounts didn't work. Fixed that and made myself a global steward. I can change group membership and permission but Special:CentralAuth/User (to view stats and lock/oversight) doesn't work. I guess I'll have to enable debugging when I get home [18:35:15] PuppyKun: why are you setting up centralauth on a single wiki site? [18:35:27] it's for multiple wikis, and really, you shouldn't be using it if its a new wiki [18:35:56] legoktm: I couldn't figure out anything else that has a on-wiki GUI for group permissions [18:36:18] Extension:UserGroups doesn't work on MediaWiki 1.27 alpha and I was having issues with Extension:Configure [18:37:07] legoktm: also I may wish to use more wikis in the future. This is the first time I've ever had wgconf working locally [18:37:14] okay :| [18:37:55] I mean ideas for fixing other things would be nice too. [18:38:36] But I literally just had extension configure ass a group with no name and the permission "bigdelete" upon saving the config the entire wiki stopped working. Disabling the extension, update.php, and other things still didn't fix. Had to rebuild from image [19:13:19] is there a reason why runJobs.php in 1.25.2 would not run some jobs out of the jobs table? [19:13:31] maybe [19:13:37] if they were failing and being put back [19:13:38] i have 600 entries in the database table but none of them get processed [19:14:10] Are the job_attempts high? [19:14:29] most are 0 or 1, i reset them all to 0 with no change [19:15:02] What type of jobs are they? [19:16:08] does showJobs.php --group list these jobs as one's that should be run? [19:16:19] mostly refreshLinks2 and some semantic mediawiki ones [19:17:24] is refreshLinks2 obsoleted perhaps? maybe they were left from before the upgrade [19:17:29] showJobs doesn't show them at all [19:18:15] could be [19:18:29] https://github.com/wikimedia/mediawiki/blob/master/includes/DefaultSettings.php#L6697-L6713 [19:19:56] Kill them and run the refreshLinks maintenance script script [19:21:17] may be worth mentioning to run pending jobs before an upgrade [19:21:51] of course, before replacing the old installation files :) [19:22:36] usually a couple jobs that don't run is no big deal [20:09:53] hi, i just installed MediaWiki and i'm getting "Fatal error: Class 'Liuggio\StatsdClient\Factory\StatsdDataFactory' not found in [...]/w/includes/libs/BufferingStatsdDataFactory.php on line 33" [20:10:15] i tried installing composer in the root directory and running composer.phar install / update, which did nothing [20:10:24] well, it installed some stuff, but there's still an error [20:13:24] dpk: what is the contents of your composer.json? [20:13:58] i believe it should be identical to the 1.25.2 stock setup — i didn't touch it [20:14:55] did you download the tarball or use git? [20:15:35] downloaded the tarball. (just confirmed that the contents are the same, they hash identically) [20:22:30] dpk: if you downloaded the tarball, you shouldn't need to run composer... [20:22:38] hm [20:23:05] would it make sense to try nuking the existing installation except LocalSettings.php and try extracting again? [20:23:25] can't hurt, i guess [20:25:42] okay, the full set of errors i get when i haven't run composer is: [20:25:42] — [20:25:42] Warning: include([...]/w/vendor/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactory.php): failed to open stream: No such file or directory in [...]/w/vendor/composer/ClassLoader.php on line 412 [20:25:43] Warning: include(): Failed opening '[...]/w/vendor/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactory.php' for inclusion (include_path='.:/usr/local/share/pear') in [...]/w/vendor/composer/ClassLoader.php on line 412 [20:25:43] Fatal error: Class 'Liuggio\StatsdClient\Factory\StatsdDataFactory' not found in [...]/w/includes/libs/BufferingStatsdDataFactory.php on line 33 [20:25:44] — [20:32:35] indeed, the files don't exist; but the error doesn't go away when they're there (they do get created properly by composer, it seems) [20:32:50] I just downloaded the 1.25.2 tarball.. [20:33:00] I see the files there to begin with [20:33:12] hmm [20:33:25] i have SHA1 (mediawiki-1.25.2.tar.gz) = 0b58692f4300cccf47b64bb94ebaf388346a9dc9 [20:34:24] Yup [20:34:59] el weirdo mcweirdypants didn't come up with anything as weird as this [20:37:31] … huh, okay, it must be a bug in pax [20:37:59] i usually use it to extract archives instead of tar because i find the options easier to remember. when i extracted with tar the problem went awy [20:38:01] *away