[00:12:15] if it's any help, browsing enwiki with the console shows a deprecation message about "jQuery.browser" and a DOMException about "Persistent storage maximum size reached" [00:31:15] Anyone have experience setting up on FreeBSD? [00:31:48] I've managed to grapple LigHTTPd into submission and begun the start up script, but now I'm having MySQL problems [00:37:16] I think it's a problem with the database host entry in the "Connect to database". I left it with the default of "localhost" because I [00:38:48] AHemlocksLie: because you what? [00:38:51] 'm keeping the database on the host server [00:39:00] Sorry, bumped enter without realizing, typed a bit, and got distracted lol [00:39:12] I assume localhost would mean check the computer you're on [00:39:47] It's telling me "No such file or directory (localhost). " [00:47:09] Okay, I figured out that problem. I could have sworn installing mediawiki included mysql-server, but it didn't [00:47:37] Now, I'm getting this problem "DB connection error: Access denied for user 'root'@'localhost' (using password: YES) (localhost). " That's the username and password I setup for the database, and I can login with it with mysqladmin -u [00:47:54] Well, that's not the password THERE, but it's using the same password, copy/pasted, so no mistakes [01:57:30] hi [02:00:59] Hello. [02:01:14] and bye [02:14:48] If I lost the password to my admin account immediately after setting everything up, how could I go about retrieving or resetting it? [02:15:00] Assuming also that recovery emails are not going out [02:16:42] You can reset it easily with a maintenance script [02:17:12] php maintenance/changePassword.php --user Admin --password foo [02:17:43] ah, thanks [02:17:47] (replace with real values, of course) [02:19:57] right [02:20:06] Although that didn't seem to work... [02:20:16] You get to name the admin account, right? [02:20:33] Yeah [02:20:43] I'm pretty sure I fixed it [02:20:47] It said password set [02:20:58] Try it [02:21:00] Except for the part where it still doesn't work lol [02:21:13] Are you sure you used the correct account? [02:21:22] I was... [02:21:39] try putting the password in double quotes if it contains spaces [02:22:05] never mind, that doesn't work [02:22:15] Ah, quotes fixed it, actually [02:22:22] I think it's the backslash in it [02:22:33] I'm using a password generator/keeper [02:22:38] okay [02:22:44] I accidentally closed instead of saved the admin password window [02:22:54] But now it's definitely saved [02:22:58] Thanks [02:23:09] for future reference https://www.mediawiki.org/wiki/Manual:Resetting_passwords [06:33:20] Hello! Please help me install SemanticMediaWiki. But before installing this I was prompted to install composer. I am stuck at the last step of installing composer. [06:33:53] It says just add the following line to your code's bootstrap process: require 'vendor/autoload.php'; [06:34:10] Where to add this line of code? [06:36:45] albertcoder: you don't need to add that, it's already in mediawiki [06:37:14] you should be able to just run `composer install` in the directory that contains composer.json [06:37:56] samwilson, Yes I am able to do that. [06:40:14] samwilson, I have installed composer so I am going ahead with installing SematicMediawiki. [06:48:35] samwilson, I have installed SMW but how to confirm that? I tried looking ...special:Version for installed extensions. [06:51:55] It gives this error "Fatal error: Call to undefined function enableSemantics() in /var/www/mediawiki-1.22.7/LocalSettings.php on line 144" [06:55:22] samwilson, I have just added this line "enableSemantics()" at the end of LocalSettings.php [06:55:41] But it gives the above error. [09:49:51] andre__: I'd say that https://bugzilla.wikimedia.org/show_bug.cgi?id=66091 is pretty high-prio. [09:51:04] it affects little pieces of UI here and there, and it crops up. [09:51:19] aharoni, hmm. I'll set to high prio, but no idea who hacks much on RL/CSSJanus [09:51:29] aharoni, your comment explaining exactly this might be appreicated on the ticket :) [09:51:35] OK [09:52:07] RoanKattouw_away and Trevor mostly do it, and very rarely I do ;) [09:53:40] aharoni, well, that is exactly the info that helps judging how much of a problem it is :) [12:54:17] * jubo2 could use some hand-holding to get the production server out of squatting [12:54:37] fix the server or migrate it to a cleaner and healthier system [12:55:27] upon 'sudo apachectl start' the apache2 threads grow in amount more and more till they've taken up all the RAM [12:55:44] looking at 'tail -f access.log' there is no DoS causing this [12:57:27] I didn't touch the configs [12:57:53] the server ain't working [12:58:51] can you guys hang on I party the https://en.wikipedia.org/wiki/Midsummer and promise to seriously look at the production server situation [12:59:13] https://d.consumium.org pod is up with uptime in hundreds of days [12:59:59] I'm not communicating this server squatting situation very well to stakeholders and interested parties [13:16:44] from "I party the https://en.wikipedia.org/wiki/Midsummer" alone I got remembered that jubo2 is Finnish :P [13:18:25] But I still have no idea what the squatting in question has to do with mediawiki [13:42:17] on a page on my wiki, i have used a transclude to include a 2nd page in the 1st page, obviously, but when i edit the 2nd page the 1st page doesn't get the updates unless i ?action=purge [13:42:25] $wgMainCacheType = CACHE_NONE; [13:42:50] is there something im missing that will either cause the page to recognize the change, or force a purge action every time or something? [13:42:58] i don't care about purging every time, i am not a scale operation [13:44:01] Juhannus, jurri ja kylmä kossu [14:07:55] is it possible the add Google+ Page linking code to a wiki page without enabling HTML sitewide? [14:14:07] wmat: you can use the Widgets extension... [14:14:11] !e Widgets [14:14:11] https://www.mediawiki.org/wiki/Extension:Widgets [14:14:31] Yaron: thx, I'll have a look [14:20:42] Yaron: looks like I'll need to write one [14:56:04] I have a page that's 41k in size and it no longer displays. Prior to migrating the mediawiki installation, this particular page displayed just fine. After the migration, it's no longer displayed. MW 1.18.2, PHP 5.3.3 [14:56:22] If I cut the size down, it eventually displays. Is this a memory issue? A soft limit I can alter? [15:38:53] hey, i see some details on the wiki about installing extensions with Composer, but is anyone installing MediaWiki itself with Composer? About to migrate a large wiki here at Creative Commons and would like to get it right ;) [15:42:34] I don't think so [15:46:21] mattl: We manage fine on Wikipedia without Composer [15:46:24] We're a bit bigger ;) [15:46:45] yeah, you probably have more than 1 sysadmin too though :P [15:47:07] https://creativecommons.org/ [15:47:08] * Reedy cries [15:47:15] [blocked] The page at 'https://creativecommons.org/' was loaded over HTTPS, but ran insecure content from 'http://creativecommons.org/wp-content/themes/creativecommons.org/js/plugins.js': this content should also be loaded over HTTPS. [15:47:17] etc [15:47:23] yep. [15:47:46] one thing at a time :) [15:48:01] Wordpress sucks :P [15:48:14] How are you managing it currently? [15:48:42] we're not. we have a reasonably old install on a dying server that hasn't been updated for a while. [15:48:53] i have a shiny new VM for it. [15:49:27] 1.20.5 is newer than a lot of people that come in here :) [15:49:47] well, that's something I guess. [15:49:58] but go to https://wiki.creativecommons.org/ [15:50:13] that's another reason why i want to move it. it needs to be over HTTPS. [15:50:30] especially with a ton of people logging into it from all over the place. [15:51:08] how does Wikipedia keep things up to date? Should I be cloning a git repo, rather than trying to handle tarballs? [15:51:36] I'd probably suggest that in the simplest form, yup [15:51:39] At Wikipedia... [15:51:48] We have a script that builds a "deployment" branch [15:52:14] It takes master, makes a git branch. Applies a few changes, adds our numerous extensions as submodules, and pushes that [15:52:34] We then end up with something that looks like https://github.com/wikimedia/mediawiki-core/tree/wmf/1.24wmf9 [15:53:18] Noting this is done (usally by me, but not always) as a weekly process [15:55:31] I think we might get away with just master. We have a few extensions, mostly SMW stuff. [15:56:02] If you're going to use master, you'll just need to keep ontop of it [15:56:30] I think we generally recommmend against using master [15:56:55] If you used Composer for the extension, you could use the normal git repo, change between branches/tags as releases are available, and then update your composer file to match as necessary [15:57:35] yeah, that's why i was thinking of using Composer for releases too. Just tying composer to the tarballs. [16:47:49] can anyone give a working example of ULS uls-settings-trigger? [16:48:50] do i have to somehow enable this feature? uls-trigger class works fine but not uls-settings-trigger [17:19:26] plise: santhosh may know [17:41:39] how to return the name of the current language? is there a magic word? [17:50:09] btw awight - https://www.mediawiki.org/wiki/Talk:Requests_for_comment/Nonlinear_versioning - #action awight to keep investigating this, move motivations from Idealab page onto RfC, compare his idea to to other ways of implementing a draft feature, try to answer Tim's questions 2 & 3, and look for potential users (maybe 3rd party wikis) ... is this something you're thinking about, or should I perhaps move it to dormant/abandoned? [17:55:22] sumanah: I'm still working on it, several tangents deep unfortunately. My current activity is to produce raw edit conflict data for analytics, to determine whether we actually need the feature. [17:56:13] got it awight - thanks [18:04:13] awight: hope you left some bread crumbs [18:15:26] plise: no, but there is a bug request for it [18:16:11] plise: feel free to vote https://bugzilla.wikimedia.org/show_bug.cgi?id=2085 to have updates [18:40:56] hm, looks like ULS allow some languages to fall back to other languages which is not always English. Is there a table of what falls back to what? [18:42:44] plise: Probably not. I suspect that it's done from the definitions in core [18:44:04] Reedy: can u give a link to that part of the core? [18:44:45] plise: https://github.com/wikimedia/mediawiki-core/blob/master/languages/Language.php#L4151 [18:44:52] i just noticed that Portuguese fell back to Brazilian Portuguese which of course nice but i want to have full understanding. [18:44:55] thanks [18:45:46] You can view it more directly at specific language files [18:45:46] https://github.com/wikimedia/mediawiki-core/blob/master/languages/messages/MessagesPt.php [18:45:52] https://github.com/wikimedia/mediawiki-core/blob/master/languages/messages/MessagesPt.php#L70 [18:48:59] Reedy: thank you vey much! [18:54:32] qgil, hello! [18:55:11] I am trying to install semantic mediawiki as you suggested but I am getting this error "Fatal error: Call to undefined function enablesemantics() in /var/www/mediawiki-1.22.7/LocalSettings.php on line 144" [18:55:36] This is the last step of the installation but I feel stuck. [18:57:41] !hss [18:57:41] ZOMG!! http://bit.ly/2sYkfl - #semantic-mediawiki [18:57:59] albertcoder: people in #semantic-mediawiki might be able to help you better :) [18:58:22] MatmaRex: 404 [18:58:40] hm, yeah. it was a slightly funny picture. :P [18:58:42] !semantic [18:58:42] Not many people around here use Semantic Mediawiki or the other Semantic extensions. You might try asking in #semantic-mediawiki [18:58:46] !hss del [18:58:46] Successfully removed hss [18:58:49] !hss alias semantic [18:58:49] Unable to create alias for semantic because the target is alias, but not a key, if you really want to create this broken alias do !hss force-alias semantic [18:59:00] MatmaRex: You're the worst [18:59:09] aww [18:59:12] wm-bot is the worst. [18:59:26] MatmaRex, tried asking there too. FoxT is trying to help me out there. :P [18:59:33] feel free to restore !hss if you have a mirror of that picture :P [18:59:47] I bet MaxSem probably does [18:59:53] bawolff: Fancy looking at https://bugzilla.wikimedia.org/show_bug.cgi?id=61070 ? :) [19:00:26] !hss is ZOMG!! https://upload.wikimedia.org/wikipedia/mediawiki/6/69/Hesaidsemanticga2.jpg [19:00:26] Key was added [19:00:35] albertcoder, to get support for Semantic MediaWiki please ask at #semantic-mediawiki [19:00:55] Reedy: Looking at it now. I think it has to do with whether you are using djvuxml vs djvudump to get the ocr layer [19:01:25] Thanks [19:01:29] qgil, sure :) [19:04:54] hi :) [19:05:37] James_F|Away will like https://www.mediawiki.org/wiki/Thread:Project:Current_issues/Not_able_to_press_the_%22Save_Page%22_button [19:08:58] Alt+Shift+E :) [19:09:00] Nemo_bis: … wow. [19:09:00] Nemo_bis: heh. he can just tab to the textbox and save button? [19:09:17] that, or the UniversalEditButton extension of Firefox [19:09:49] also, that should be in Project:Support desk btw [19:19:31] bawolff: i think i figured it out [19:19:51] bawolff: the test passes if you set $wgDjvuTxt [19:20:07] ori: yes it does [19:20:23] ori: I just committed a change to skip the test if $wgDjvuTxt is not executable [19:20:38] damn it :P [19:20:39] awesome [19:20:40] thank you! [19:20:57] https://gerrit.wikimedia.org/r/#/c/140442/ :) [19:21:01] It's already merged :p [19:21:54] bawolff: lol [19:21:54] * Default: pnmtopng, since ddjvu generates ppm output [19:21:59] $wgDjvuPostProcessor = 'pnmtojpeg'; [19:22:28] hmm. That's umm great [19:23:01] Note entirely sure why $wgDjvuTxt defaults to null instead of '/usr/bin/djvutxt' or even just 'djvutxt' [19:27:59] bawolff: it probably should [19:28:15] bawolff: also, it outputs this (not sure if to stdout or stderr) during a test run: djvutxt: [1-15114] IFFByteStream not ready for reading chunk. [19:28:19] not breaking anything but just annoying [19:28:32] yeah, I have no idea what that's about [19:29:40] doesn't do it when I just run djvutxt LoremIpsum.djvu --page=1 [19:51:13] !!! MediaWiki release management applicant's IRC office hour starts in 10 minutes over in #wikimedia-office !!! [19:51:13] There is no such key, you probably want to try: !bribe, !hss, !tss, [19:52:04] !tss [19:52:04] ZOMG!! http://goo.gl/e2631 (join #semantic-mediawiki) [19:52:04] heh, !bribe. [19:52:12] ;) [19:52:18] !bribe [19:52:18] Stroopwafels for everyone!!! [19:52:24] sounds legit [20:06:07] Hi all. I have installed the UploadWizard extension on MediaWiki 1.23.0. I installed the version for 1.23.0. When I try to upload something, I get a JavaScript error in the browser log "mw.log.warn is not a function" and infinite upload spinning. The upload doesn't appear to go through. Any guesses? [20:09:07] sjuxax: Try using the version of upload wizard that's branched for 1.23 [20:09:25] bawolff: I am using that version. [20:09:36] bawolff: does not sound like an UW issue though [20:09:54] mw.log.warn is part of the mediawiki module, should always exist [20:10:13] sjuxax: can you verify if that function exists? [20:10:35] exist where? it doesn't exist in the autocomplete list. [20:10:38] here are the options firefox gives me with autocomplete https://imgur.com/UFBZgsc [20:10:49] just load a page, press F12 to get the console, type mw.log.warn and see if the result is undefined or something else [20:10:58] mw.log.warn returns undefined [20:11:27] mw.log.warn gives "function mw sjuxax: Does any javascript work? [20:12:17] bawolff, yes, most of it works. it only errors when it tries to call mw.log.warn, which i'm sure stops whatever code path is calling that. [20:12:35] this is the only problem i've seen so far, the rest of the javascripty stuff in mediawiki seems fine [20:12:48] In the js console, is mw defined? [20:13:07] yes. [20:13:13] bawolff: it is (see screenshot) [20:13:37] hmm, mw.log.warn exists on other pages, just doesn't exist on uploadwizard page [20:13:58] mw.log.warn function mw maybe it's a dependency problem, and UW loads before mw.log.warn? [20:14:25] mw.log.warn undefined on Special:UploadWizard [20:14:37] mw.log.deprecate is missing as well [20:14:49] those are created in the same JS file as mw.log itself [20:15:13] so maybe mw.log gets overwritten by some extension [20:15:19] mw.log.deprecate defined on Main_Page, not defined on Special:UploadWizard [20:16:58] is the wiki public by any chance? [20:17:07] https://wdwtools.com/w/Special:UploadWizard [20:17:13] https://wdwtools.com/w/Main_Page [20:17:28] it might tell you have to be logged in to get to uploadwizard, not sure how that's configured [20:17:36] indeed [20:18:04] and on normal pages, mw.log.warn does exist [20:18:18] looking into making that page public [20:19:08] Hello [20:19:25] Is this is right place to pose a question to the mediaeiki developers? [20:19:29] *mediwiki [20:19:34] !ask [20:19:34] 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. :) [20:19:38] or is there a more appropriate channel for that? [20:19:56] per the bot, here is good [20:19:57] Recently I've been using a tool assisted script to fix up file redirects [20:21:05] The way the editing for this works is that it has to do download whole articles to do search and replace... [20:21:12] This got me thinking [20:21:16] ok, uploadwizard is public now [20:21:30] Mediawiki should now what state the revision of a page is in.. [20:21:53] what do you mean by that? [20:22:28] Thusly why is it not possible for the edit box when saving to do a local compare , and then send back a 'diff' (unix tool) like packet rather than a whole article? [20:22:43] because of edit conflicts [20:22:52] you can have multiple people editing the same article at the same time [20:22:59] Why do you need that though. Are you trying to save bandwidth? [20:23:00] True [20:23:06] bawolff: That [20:23:09] in that event, we need the full text to be able to intelligently merge [20:23:22] I doubt the couple kb is really worth it [20:23:29] and using "diffs" would mean less pressure on incoming servers [20:23:40] * Skizzerz echoes bawolff's thoughts here [20:23:45] bawolff: Based on what I do, the savings would be quite considerable [20:24:16] ie. less than 1K for a diff correcting single typos compared to 128K or more for a whole page [20:24:22] sjuxax: apparently there is an mw.Log.js file in UploadWizard which overrides mw.log in an incompatible way [20:24:35] are you sure you are using a recent version? [20:24:39] 128K pages... Most pages aren't anywhere near that big [20:25:14] Also by doing a diff , I don't need to have 2 copies of the article on the net [20:25:19] yes, i'm sure i'm using the one branched for 1.23.0. g9b39bd9 [20:25:25] (One download / one upload) [20:25:32] sjuxax: this file was deleted 2013 Aug [20:25:54] The Downlad one would still be needed of course, but I don't see why the upload one is needed , when a 'diff' against a specfic revid could be used [20:26:06] while it sounds like submitting a diff works well in your one particular use case, it falls apart when considering every use case [20:26:15] as such, I don't see that ever becoming a thing supported in core [20:26:24] Fair enough [20:26:25] you are free, however, to write an API module/extension that can take in diffs ;) [20:27:02] I'm just aying that for small autmoated changes, the difference in bandwith usage would be considerable in some very specfic use cases [20:27:18] Now to find a plugin writer [20:27:20] ;) [20:27:51] an alternative is to break your pages up more [20:27:56] tgr: https://github.com/wikimedia/mediawiki-extensions-UploadWizard/blob/9b39bd969b3dc7c8b0e64586539bf00bd84a3210/resources/mw.Log.js [20:27:58] or if you're doing simple replacements I think there's an extension for that [20:28:08] it's there in the commit which is at HEAD for REL_1_23 branch [20:28:29] Qcoder00: have you evaluated https://www.mediawiki.org/wiki/Extension:Replace_Text yet? [20:28:41] No? [20:28:49] allows mass find/replace and is kept entirely server-side [20:28:52] Is it installed on WMF wikis? [20:28:54] no [20:29:15] I agree it's not in HEAD on master branch: https://github.com/wikimedia/mediawiki-extensions-UploadWizard/tree/master/resources [20:29:17] It wouldn't even work on WMF wikis [20:29:33] Replace_text assumes user is not using external storage feature, which wmf wikis use [20:29:34] Why not? [20:29:43] Ah [20:29:54] So for it to work on WMF it would need to be reworked... [20:29:58] :( [20:30:00] Oh well [20:30:08] At least someone is thinking [20:30:15] I thought you were talking about a personal wiki, apologies [20:30:19] or at least last time I looked at the extension, which was a couple years ago [20:30:32] I have no idea what WMF wikis frequently have 128K pages [20:30:37] Skizzerz: I was tlaking about English Wikipedia, and VADA [20:30:50] Skizzerz: Wikisource does [20:30:56] Some Wikipedia articles [20:31:01] sjuxax: so apparently, MW 1.23 was released two weeks ago, but UW 1.23 was branched last summer [20:31:04] fun [20:31:10] tgr: I moved mw.Log.js elsewhere and now just get infinite spinning on Special:UploadWizard [20:31:24] tgr: huh. That's just odd [20:31:36] Thanks for technical explanations... [20:32:11] Maybe I need to bribe a dev to get diff submission editing implemented for tool-assisted scripts... [20:32:11] I think your best chance is by using the wmf/1.23wmf22 UW branch [20:32:31] tgr: not so odd, there's a bug somewhere about this... [20:32:50] *bawolff [20:33:01] bawolff: https://bugzilla.wikimedia.org/show_bug.cgi?id=64157 [20:33:02] Hmm, maybe one could make a rather pointed question out of this for the current meeting in #wikimedia-office ;) [20:34:10] mentioned :P [20:37:37] tgr: Mid-air collision detected! :) [20:38:08] sjuxax: so, switch UploadWizard to the wmf/1.23wmf22 branch for now (that's only a few weeks older than the final MediaWiki 1.23 release) and watch bug 64157 [20:40:55] tgr: can you give a link to that? right now I'm getting it from https://github.com/wikimedia/mediawiki-extensions/tree/REL1_23 [20:41:02] meaning I'm working on pulling that one now [20:41:23] sjuxax: https://git.wikimedia.org/branches/mediawiki%2Fextensions%2FUploadWizard.git [20:42:09] that's the list of branches, not the download for that branch [20:42:34] ok, looks like i'm in the same place. thanks. [20:42:57] sjuxax: I don't think the mediawiki/extensions repo has the branch you need [20:43:11] you might need to edit the submodule config by hand [20:44:03] the UW link is https://github.com/wikimedia/mediawiki-extensions-UploadWizard/tree/wmf/1.23wmf22 if you prefer github [20:45:04] ok, I got it checked out from the wikimedia git server :) [20:46:11] thanks guys, that branch does work! appreciate the help [21:16:42] Trying to get some thumbnails happening from a svg and keep getting this error. Anybody able to help me with this? Using ImageMagick and MW 1.22.6 http://pastebin.com/3spcQ1Z3 [21:17:40] ImageMagick 6.8.9-3 [21:18:38] theding0: is that SVG image complex? it may be a memory issue [21:20:18] Could also be missing the rsvg-convert command if image magick was compiled to use it [21:27:32] theding0: Which could be fixed via apt-get install librsvg2-bin [21:39:11] I honestly don't know if it's complex. https://upload.wikimedia.org/wikipedia/commons/5/51/Attention_niels_epting.svg [21:40:36] theding0: Do you have shell access on the server? [21:40:42] I do [21:40:45] no, it very simple [21:41:30] theding0: Download the svg file to your current working directory, and run the command convert vector-file.svg output.png [21:41:38] assuming the svg is named vector-file.svg [21:41:52] and see if that command errors out, and if output.png looks like a valid png file [21:43:53] I got the error 'convert: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/535 along with no images defined `output.png' @ error/convert.c/ConvertImageCommand/3187 [21:59:45] theding0: So I think there's something wrong with the copy of image magick on your server. My reccomendation would be to try and re-install it [22:07:54] Yeah from what I gather I need some delegates installed. At least I'm on a path again lol [22:09:43] Well usually when image magick gets installed, all the needed parts get installed too [22:10:30] I checked the delegates and png is definitely not listed. I just installed the png delegate and I'm recompiling IM right now