[00:15:51] hi all. I'm hiavng an issue with media wiki.] [00:16:04] I installed it via apt, and it appears the default icons are missing. [00:17:22] I'm not sure if the files were never installed or what. [00:22:32] try installing via the official installer. Its better supported than the debian package [00:22:56] Any other suggestions that than possibly? [00:29:55] is it a known issue that those files are missing? [01:20:26] oaky, new problem.... [01:20:34] I upgraded to 1.25.2 [01:20:47] and NOW I can't seem to use my old database (the schema appears to be way different) [01:20:54] is there a migration I can run? [01:22:30] https://www.mediawiki.org/wiki/Manual:Upgrading [01:24:13] it tells me to run a script that doesn't exist. [01:24:41] which version did you upgrade from? [01:24:52] OLD... to be honest I'm not really sure. [01:25:03] TimStarling: greg-g + anyone else who's interested: I'm trying to figure out where I should start meddling in public RFC meeting announcments [01:25:26] but in the 1.25.x that I just downloaded I don't see an upgrade in the tarball [01:25:42] maintenance/update.php, not upgrade.php [01:25:57] I usually just announce them to wikitech-l [01:27:18] Ah, that'd do it. Thanks for pointing that out. lol. no I feel dumb :-) [01:27:34] No worries :) Good luck. [01:27:58] thanks! [01:28:30] TimStarling: since I'm not going to even be at this one, status quo is fine for now. I got interested in Phab for this by greg-g, but recurring events don't seem ready. [01:28:50] ahhhh [01:28:56] yeah, probably not? [01:29:14] * greg-g isn't really sure where the line is between "usable" and "not usable" in use cases for phab events [01:31:00] Is it still possible to change the location of the images directory to something... better? [01:31:24] (I have a mounted volume that I need to use that isn't in this directory)) [01:31:31] tds5016: yes, that can be configured in your LocalSettings.php [01:31:50] should I copy all he files over that currently live in there? [01:32:08] yes [01:32:40] okay, one other problem... it look like broom.png is still missing. [01:32:45] as are all the rest of those files. [01:32:48] did I miss something? [01:34:14] it's really weird. [01:35:29] tds5016: you changed both $wgUploadDirectory and $wgUploadPath ? [01:35:41] those are both done. [01:36:04] but even in the default /var/lib/mediawiki/images [01:36:08] the directory is empty [01:36:11] Is $wgUploadPath web accessible [01:36:37] $wgUploadDirectory read/writible by whomever the webserver is running as [01:36:50] should be. [01:37:24] The fact that the files don't exist in /var/lib/mediawiki/images by default is what worries me. [01:38:25] normally the files would be in a subdirectory (actually two subdirectory levels deep) [01:38:41] the images directory is completely empty [01:40:02] am I understanding where they should be? [01:40:23] your image directory should not be completely empty if you've uploaded images [01:40:40] let's say I haven't... where would the default icons go? [01:40:45] (for example the broom) [01:41:04] broom isn't a default icon [01:41:13] I'm not sure I know what you mean by default icon [01:42:00] ohhhh... [01:43:09] one second, I'll find the mediawiki page that has it. [01:44:54] tds5016: If you mean the broom on https://en.wikipedia.org/wiki/Template:Cleanup, that's not part of the default mediawiki install [01:45:19] I think that's totally the one. [01:45:28] you can import all the images that Wikimedia wikis use (Or the freely licensed one's anyways), by setting $wgUseInstantCommons = true; [01:45:35] there's also few others that don't look like they're there. [01:45:41] oh!!!!! I see! [01:46:15] Commons recently switched to https only, and some older versions of MW didn't handle that very well [01:46:39] if instant commons isn't working, make sure you have the curl php extension installed (apt-get install php5-curl) [01:47:01] aside from setting that value do I need to do anything else? [01:47:10] like run a script to download or will it do that on its own somehow? [01:47:30] it should download on demand as you use them [01:47:48] doesn't appear to have worked :-/. [01:48:13] are there logs anywhere? [01:48:16] (trust me, there's a lot of images, you wouldn't want to download all of them at once - https://commons.wikimedia.org/wiki/Special:MediaStatistics ) [01:48:40] tds5016: do you know if you have the php curl package installed? [01:48:46] I just installed it now. [01:49:04] and you're using 1.25.2 ? [01:49:08] yup. [01:50:10] there's debugging you can enable, but often its pretty useless. See https://www.mediawiki.org/wiki/Debugging [01:50:12] I just did the apt-get install php5-curl and restarted apache. [01:51:41] $wgShowDebug = true; should give you some debugging [01:52:05] awesome [01:52:11] what else could I be missing? [01:53:10] ping: unknown host https://commons.wikimedia.org/w/api.php [01:53:19] it looks like my server's blocking outgoing connections... [01:53:23] that'd do it. lol. [01:53:27] yep :) [01:53:40] well, that sucks. lol. [01:53:51] any idea how I could download them manually and just place them there? [01:55:51] lol. it looks like I can get to http from the system but not https... [01:55:53] wtf? lol. [02:00:56] soo... would I be able to download all of the common stuff without that? [02:08:33] what is "common" depends on who you ask [02:08:44] you can download and manually upload images as you come to them [02:09:31] tds5016: what sort of access do you have. you can try and open 443 in the firewall config [02:09:46] yeah, already did that. [02:09:53] something else strange is going on; I'm not sure what. [02:10:21] Well good luck :) [02:10:41] (going to try to upload files regularl now and see fi that's what's broken) [02:11:30] tds5016: try curl from the command line in verbose mode [02:11:58] can you give an example of that? [02:14:28] oaky, now I'm getting that my uploads directory is not accessible.... [02:14:38] curl -svo /dev/null 'https://upload.wikimedia.org/wikipedia/commons/9/90/Broom_icon.png' [02:14:40] do my upload directory HAVE to be a web directory? [02:15:02] you have to serve files somehow [02:15:18] I am. I figured it would forward. lol. So that makes a lotta sense :-) [02:15:28] I'll just put a symlink in my var/http [02:16:04] you can stream them through a php script but that's a bit of a pain and not worth it unless you want to make sure they stay private [02:16:28] otherwise if you move the directory you need to configure your server accordingly [02:17:26] symlinks are usually ignored, but of course it depends on your web server and its configuration [02:17:28] yeah, it's not really worth the energy.... [02:17:50] yeah, I need to configure apache to handle not ignoring symlinks. [02:18:27] the idea being that a web directory is something that an attacker can easily gain write access to, so if they can just create any symlink there and the web server respects it, that's a huge security risk [02:18:54] you are probably better off setting up an alias in apache [02:19:06] Oh, how would one do that? [02:19:19] *googles like a non-lazy shit* [02:24:33] http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias [02:25:21] and you will probably need http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#allow as well [02:25:21] whats the default $wgUploadPath and $wgUploadPath $wgUploadDirectory? [02:25:35] note that the second one is different on apache 2.4 [02:26:18] the filesystem default is the images subdirectory of mediawiki [02:26:31] the URL is something like /images I think [02:26:52] you can usually find it on https://www.mediawiki.org/wiki/Manual:Configuration_settings [02:26:52] what would that look like if I were to put it in the localConfig? [02:27:30] sorry, I did not understand that [02:27:45] put what in LocalConfig? [02:27:57] no worries. If I were to use the default images directory; where would I put list that file? [02:28:18] would it be mediawiki/images for the wgUploadDirectory [02:28:43] well if you use the default, no need to put it anywhere [02:29:37] I didn't :-/. [02:29:50] I was trying to set the symbolic link in the media wiki in /var/lib [02:30:41] The alias was already set up and it looks like it already handled the symbolic links [02:31:40] https://dpaste.de/CYbU\ [02:32:14] so if you use symlinks, you probably don't need to change wgUploadPath [02:32:58] since mediawiki will just try to write to mediawiki/images and that will be redirected to /var/lib [02:33:09] figured it out :-D [02:33:27] upload directory is here it is locally and path is where it is served out of. [02:33:45] so directory is /var/lib and path is /mediawiki/uploads [02:33:46] :-D [02:34:17] (I meant wgUploadDirectory; there is pretty much never a need to change wgUploadPath) [02:35:45] is there a way to see a list of all uploaded files? [02:36:01] Special:ListFiles [02:36:19] or maybe Special:AllFiles, I don't remember the name [02:36:31] you can find it on Special:SpecialPages in any case [02:37:04] thanks so much! You guys rock! [02:40:18] ... and it looks like they gave me the wrong dump of files... so all this time was pretty wasted. [02:40:19] lol. [02:44:05] on that note it's time to go home. Thanks again for al the help guys! It's really been awesome! [11:29:39] what happens to the original username when special:renameuser is used [11:30:59] is it available again for registry or is it locked out of being re-registered? [11:31:17] Let's check the documentation. I bet it will be available again. [11:32:08] that doesn't sound like a good idea [11:32:21] (make the username available again, I mean) [11:32:38] https://www.mediawiki.org/wiki/Extension:Renameuser doesn't state anything about implementing any list of renamed accounts, so yes I think it should be available again. [11:32:47] bah [11:33:24] Vulpix: that depends, sometime it's the goal think on Wikimedia the usurp requests [11:35:27] I don't want usurpation I want a razed earth [11:43:55] 'crats have been known to salt old accounts to prevent recreation by rand() [11:48:30] Reedy how [11:49:50] Special:CreateAccount [11:49:52] presumably [11:49:54] oh [11:49:59] so they re-register the account [11:50:14] I think so [11:58:40] Anyone? https://phabricator.wikimedia.org/T110034 [12:39:49] Ryulong getting renamed to Ryushort ? [12:42:41] WaRpAtH, context? [12:47:53] andre__: maybe related to: [13:29:39] what happens to the original username when special:renameuser is used [12:51:24] ah. the scrollback on the screen did not show that anymore. thanks [13:41:59] Hello World! [13:49:44] Hello TheLarkInn! [15:19:50] qgil: Thank you for your comments on T24. I don't have the energy to enter that argument but I appreciate the points you made :) [15:32:56] hi! i use the RSS-feed plugin: https://www.mediawiki.org/wiki/Extension:WikiArticleFeeds [15:33:35] seems that i always get all messages when i put the latest message on top. is there any way to change the order? [15:41:03] Hey guys [15:41:20] I need help to setup smtp on mediwiki [15:41:24] *mediawiki [15:41:46] Th thing is that I'm using a Windows server [15:42:13] Anyone? [15:43:15] HELP143: what problem are you running into? [15:43:25] Hi [15:43:47] ehlo! [15:43:51] Can't find any documentation about setting up SMTP on a Windows Server MediaWiki [15:44:06] !wg SMTP | HELP143 [15:44:06] HELP143: https://www.mediawiki.org/wiki/Manual:%24wgSMTP [15:44:37] so... [15:44:52] I don't need to instal PEAR or something alike? [15:45:08] you need to install PEAR, yes [15:45:28] Ok, so I install PEAR on server and then? [15:45:55] The thing is that I'm using a Windows Server [15:46:47] PEAR is like a repository for PHP scripts, that should be available also on windows server [15:47:30] HELP143: https://pear.php.net/manual/en/installation.getting.php [15:47:52] Ok. So I need to install PEAR and then isert the $wgSMTP = array in my LocalSettings.php? [15:48:34] yes, and also install MAIL and Net_SMTP packages from PEAR [15:49:13] Got it ;) [15:49:16] Thanks a lot [16:01:29] thanks Vulpix [16:02:55] yw! [16:26:12] hello everyone! [16:26:57] hello nisha [16:27:33] nisha : nicest fisrt time of the chan [16:27:34] I am newbie and want to contribute in MediaWiki by fixing some bugs. I am an outreachy programme aspirant. [16:30:13] I have been using this link to set up my git and gerrit. https://www.mediawiki.org/wiki/Gerrit/Tutorial#Setting_up_Git [16:30:51] But when I use this command with my username $ ssh -p 29418 @gerrit.wikimedia.org [16:31:05] I get this error, Permission denied (publickey). [16:31:29] It would be great if someone could help me, please. [16:32:49] P.S. :- The SSH keys are configured correctly(giving expected results) for my git account. [16:39:21] nisha: did you already request a user account? [16:46:26] hi [16:51:49] Yaron, I have signed up and successfully logged in https://gerrit.wikimedia.org [16:52:20] Added the SSH also there. [16:52:29] key* [16:52:43] Correct username? [16:52:49] ssh key loaded into the agent? [16:54:50] agent? [16:55:18] I added SSH Public Key, under settings section of gerrit mediawiki account [16:55:22] yes [16:55:32] your local machine needs to know what ssh key to give to the gerrit ssh process [16:56:16] I have different useranames in git and gerrit mediawiki account, can it cause a problem? But i have used the same email address and SSH keys at both places [16:57:24] what do you mean different username in git? [16:57:30] Alright, so Reedy how should I proceed now? can you please send me some link or command that I can use for figuring this out? [16:57:55] Try running ssh with -vvv [16:58:42] I have been using git from few months but recently created gerrit mediawiki account. So, I forgot and used a different username [16:58:54] ssh -p -vvv 29418 @gerrit.wikimedia.org [16:58:57] uh [16:59:01] ssh -vvv -p 29418 @gerrit.wikimedia.org [17:01:32] At the end it says Permission denied (publickey). [17:01:42] Should i copy here the whole error log ? [17:02:07] no, not here! [17:02:34] https://phabricator.wikimedia.org/paste/create/ [17:04:12] sorry, I may be asking silly doubts, but I should be using the same username as gerrit account here for signing up, right? [17:17:16] Reedy, thanks a lot for help [17:17:58] I registered in gerrit mediawiki again with same username as my git account and added the SSH keys, and i got the welcome message without errors this time. [17:18:09] Thanks :) [19:03:01] guillom, :) [19:13:42] tgr: if you're an OAuth app approver, could you approve my new consumer? https://www.mediawiki.org/w/index.php?title=Special:OAuthListConsumers/view/35ea877cdb90f0c9ec3780bb3560271d&name=&publisher=Ragesoss&stage=0 [19:14:15] I realized today that I need the high volume editing right, because when multiple editors use it at once, it gets rate-limited. [19:14:54] I had assumed that high volume editing permission was on a per-user basis, rather than a per-consumer basis. [19:58:17] ragesoss: it should be on a per-user basis [19:58:27] what action was that exactly? [19:59:02] tgr: it was edits to wiki pages, which would have been many of the users' first oauth edits. [19:59:55] OAuth is an authentication method; almost every part of the system other than authn/authz just sees a normal action being done by a normal user [20:00:04] tgr: the users may be from the same IP. [20:00:22] although all the edits come from the IP of the app itself. [20:00:37] so maybe it's an IP-based ratelimit we're hitting? [20:02:03] apparently yes [20:02:04] https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/InitialiseSettings.php#L6865 [20:02:54] dammit [20:03:27] do you know if there are ip-based exemptions to the ratelimit for newbies? [20:03:38] I think giving the highvolume permission will only enable using the account's existing permission, though [20:03:44] yeah. [20:03:53] OAuth cannot add new rights that the user doesn't normally have [20:03:54] which won't do us any good. [20:04:06] we have a bug about that somewhere [20:04:46] about what? bypassing the rate limit for OAuth apps? [20:07:03] https://phabricator.wikimedia.org/T70312 is the closest I could find [20:07:32] as for your original question, https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/throttle.php has the existing exceptions [20:07:59] file a task with the IP range and rationale and I can push it in today's SWAT [20:08:12] tgr: excellent! thanks. [20:08:48] btw I am (re)starting the OAuth migration now so don't be surprised if stuff doesn't work [20:09:03] I probably should have made an announcement about that :( [20:09:59] tgr: cool. how long do you expect problems (in particular, for new users authorizing an existing app)? [20:10:39] 10-20 minutes if no new problems come up [20:10:49] cool. thanks tgr. [20:12:14] you can check in https://tools.wmflabs.org/sal or by hanging around on #wikimedia-operations [20:19:26] task created, tgr: https://phabricator.wikimedia.org/T110235 [21:23:42] ragesoss: do you think you could make wikiedu dashboard set XFF headers? [21:24:35] if it only does OAuth actions as immediate responses to a user doing something on a web interface, it should be relatively straightforward [21:24:39] tgr: I assume it's possible, I'm just not sure how much developer time it will take. [21:25:10] tgr: at this point, it's just immediate responses, but it's not going to stay that way. [21:26:06] In some cases, for example, an instructor will authorize the dashboard to make automatic posts to student's talk pages if they haven't completed training by their class deadline, or if one of their edits has been flagged as potential plagiarism. [21:37:01] ragesoss: is it enwiki-only? [21:37:09] tgr: yes. [22:44:02] hi, I enabled SyntaxHighlight GeSHi but when I load a module page, I get this error: Fatal error: Class 'KzykHys\Pygments\Pygments' not found in /var/www/mediawiki/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php on line 278 and nothing is loaded, any idea? [22:51:53] auvajs: if you installed from Git, you need to run `composer install` in mediawiki/core directory to install the dependencies [22:54:20] MatmaRex: I did [22:56:51] well, then it should work. D: [23:00:24] D: [23:00:47] Never liked how all smileys have the mouth on the right :) :( :/ but that one face has to go the other way arund [23:01:08] MatmaRex: well it doesn't [23:56:54] what is MW.org using on its Extension talk: ? LWT or Flow?