[06:17:58] guys, hi. i'm trying to migrate servers, but i'm getting this error. any ideas? MediaWiki 1.27 internal error Installing some external dependencies (e.g. via composer) is required. [06:55:10] hi Ed_WikiRio [06:55:25] Ed_WikiRio: see https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries [07:15:07] I think files are missing. its not a new installation... just a server migration... [07:19:00] Ed_WikiRio: if it says external dependencies are missing, you're missing the "vendor" directory [12:57:00] hi there! I am running mediawiki internally for documentation and some howtos. right now i am trying to upload a certificate with a special file ending used for androids internal ca store... its .0 [12:57:17] i did allow the fileextension in localsettings [12:57:29] however it complains about the mime type [12:58:14] What about it? [12:58:16] it says something like "file extension does not match the mimetype text/plain [12:58:17] A mismatch? [12:58:18] Blacklisted? [12:58:43] right now i am struggeling to map the file extension to a mimetype [12:59:14] so that i could tell mediawiki to expect the mimetype text/plain for .0 files [13:00:11] how can i accomplish this? [13:00:24] You can set $wgVerifyMimeType to false... [13:00:26] Or. [13:02:36] ...yes :) i am keen about the or ;) [13:02:57] I'm just looking at the mime files we keep [13:03:07] take your time [13:03:18] thanks for your time and effort :) [13:03:19] I got distracted noticing they'd been moved, but the references to them hadn't been [13:19:29] The issue T94001 there are two differernt directories mediawiki_api and mediawiki_selenium both of them have git remote configured to different ssh I have to push a patch consists of a file in selenium and a file in api to gerrit can anyone say me how to do this? [13:19:29] T94001: Ruby gem documentation should state license - https://phabricator.wikimedia.org/T94001 [13:21:53] Do both seperately? [13:23:39] So... gonna try this again [13:24:46] I'm getting some parsing problems with html tags as seen in http://i.imgur.com/ruCvbYn.png, this happens only in math mode ... the source code for that is here https://bpaste.net/show/3d9fe447b161 [13:24:51] any ideas what might be happening? [13:24:58] it's mediawiki 1.28 [13:25:46] mefistofeles: What is NumBlk doing? [13:25:54] You might try {{#tag:math| ...}} ? [13:26:21] Or, actually, [13:26:27] might be the equals sign. [13:26:36] {{NumBlk|:| U(\mathbf{r},t)=Ae^{-i(\omega t - \mathbf{k \cdot r})} |{{EquationRef|2.1a}}}} [13:26:41] You could try changing that to... [13:26:48] {{NumBlk|1=:|2= U(\mathbf{r},t)=Ae^{-i(\omega t - \mathbf{k \cdot r})} |3={{EquationRef|2.1a}}}} [13:26:56] Using explicit parameter/argument naming instead of implicit. [13:27:59] Yvette: that produces the same result [13:29:01] mefistofeles: You tried both? [13:29:47] @reedy is it possible to do both seperately to same task [13:30:00] yeah [13:30:05] just mention the same task in the commit summary [13:30:16] Yvette: I don't understand how to try the #tag:math one [13:31:06] first time I do it normally in second time should I use git commit -amend command to push it ? [13:32:41] How can you amend it if it's on a different repository? [13:34:13] okay yes I got it thanks :) [13:37:00] Reedy: did you find what you were looking for? [13:37:23] friendlyguy: Unfortunately not. I got dragged down rabbit holes looking at other things that are wrong [13:37:50] What mime type does your machine reckon the file is? [13:40:00] text/plain [13:40:49] I think the file you need is the mime.types [13:40:57] But I'm not sure how you actually add to that, without modifying the core file [13:41:00] Which is daft [13:41:51] Yvette: sorry, I'm kinda lost [13:42:44] friendlyguy: aha [13:42:44] https://www.mediawiki.org/wiki/Manual:Hooks/MimeMagicInit [13:43:27] btw, how do I do a line jump/break inside a math environment? // seems to be not doing it for me [13:43:41] mefistofeles: With {{#tag:math|{{{2}}} }} in the template, probably. [13:43:53] But it might break existing uses of the NumBlk template. [13:44:12] And I'm not sure if it would fix your issue. It's difficult to diagnose without being able to see the wiki. [13:44:16] Yvette: I'm using the exact same template from wikipedia, it works there, no idea how... [13:44:37] Oh, hmm. [13:44:42] mefistofeles: Do you have Tidy enabled? [13:44:48] It could some stupid Tidy thing. [13:44:50] Yvette: I don't think so [13:44:51] could be * [13:44:53] Try enabling that? [13:44:57] is that an extension? [13:45:04] friendlyguy: What if you add https://phabricator.wikimedia.org/P5273 to your localsettings? [13:45:12] !tidy [13:45:13] HTML Tidy is an external application that cleans up HTML for XHTML compliance (such as bad user input like
). Prior to the new preprocessor in 1.12 it was also needed for distributed, transcluded, or conditional HTML, or mixed HTML and wikitables, but newer versions allow it without Tidy. See [13:45:38] Yvette: thanks, going to check that one [13:45:50] I've gotta run. Good luck. [13:45:55] Reedy can prolly help you. [13:46:55] Yvette: thanks, take care [13:53:06] Yvette: wow, it was that! thanks! [14:08:39] Reedy: sadly your magic didnt work [14:08:53] i put it in the localsettings.php [14:09:14] :q [14:10:31] bleugh [14:18:15] @reedy I have pushed the first change and how to push the second change as if i run git review -s it generates a different changeid [15:20:46] Reedy: thanks for the help with REL1_28 extensions [15:21:48] Im getting the error message from https://phabricator.wikimedia.org/T157890 but I have confirmed that the affected paths are writable. anyone able to help me troubleshoot how to fix it? [15:27:20] nvm I installed SMW too soon [15:53:56] rammanoj_: Different change id is fine for different changes [16:40:37] guys, anyone here with RevisionDelete right on mediawiki.org? [16:41:03] some removal of my wiki/Project:Sandbox history from yesterday would be quite helpful to me [16:41:18] somehow I thought changes there would be local only [17:05:35] ^ resolved. [17:11:38] quiddity: need any assistance with datacenter notifications, i've already done some notifying [17:15:19] Zppix, no thank you, we have it covered, with a set list of channels that need it, and people with assigned tasks to do so. [17:16:07] Alright, i've already told Sherry i'd be lending a hand in #wikimedia-tech on april 19th and then when we switch back to eqiad so ya. Let me know though.