[04:46:09] Hey guys, all of a sudden my MediaWiki installation (1.27.3) is causing a "504 Gateway Timeout". How can I debug this? [05:43:23] strace [05:47:07] Kidding? :-/ [09:19:19] hi guys [09:26:59] Combined2857: hi ladies [09:27:15] ;) [12:06:25] Hi. I have the following issue with https login to my mediawiki installation: when I go to my wiki via https://mywiki and then log-in, directly after login, I get redirected to the main page but with http protocol. Since it is a private wiki, there is only the message "please log in" (If I try to do that, I come to the login page with an unsecure connection and the login fails). But if I manually go to https://mywiki again, I am [12:08:47] Setting $wgServer to a https adress or protocol relative solves the problem. But is the described behaviour a bug or intended? [12:15:17] marccreal: $wgServer will respect the protocol, so use https in $wgServer if you have to [12:15:21] !wg Server [12:15:21] https://www.mediawiki.org/wiki/Manual:%24wgServer [12:29:49] Thank you. Read the $wgServer documentation before but wasn't quite sure. [14:28:12] I am presently working on mediawiki 1.29 and I run the command git pull origin master it successfully got updated but after getting updated I tried to open my mediawiki localhost but it displays a blank page I have prevoisly made few edits but I erased them and even moved to master branch but it doesnot display anything i think some internal error has occured but it displays nothing [14:28:56] !blank [14:28:56] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [14:29:17] also be sure you ran update.php [14:29:49] plus composer [14:42:29] it displays a blankpage with no error [14:43:11] Look at the How to debug link above [14:44:21] I have not run update.php running now it displays error and just now running composer update [14:45:30] What error? [14:45:57] MediaWiki 1.30.0-alpha Updater [14:45:57] oojs/oojs-ui: 0.21.0 installed, 0.22.3 required. [14:45:57] wikimedia/composer-merge-plugin: 1.4.0 installed, 1.4.1 required. [14:45:58] Error: your composer.lock file is not up to date. Run "composer update" to install newer dependencies [14:46:24] this is the error and I am running composer update [14:57:15] @reedy and @vulpix thanks it got worked I think it has been upgraded from the version mediawiki-1.29 alpha to mediawiki 1.30 so that there are some dependencies which are to be updated and forgot running update.php and when run it gave an error above [14:57:55] greetings ya all from rural Utah! i want to get an earlier version of https://www.mediawiki.org/wiki/Extension:MsUpload that actually works, the current version is absolute shit. Where on git do i find an earlier version? say from 2 years ago? [15:00:10] moscowamerican_: what do you mean that MsUpload is "absolute shit"? [15:00:18] I doubt an older version is likely to work with newer MW [15:00:18] The extension had worked fine for me [15:00:29] ^ [15:01:23] Also, if it is absolutely shit.. Report a bug :) [15:01:48] moscowamerican_: can you provide a screenshot of the error you get when you try to upload files? [15:02:11] (1) The extension no longer works at all for 1.27. (2) It no longer works without WikiEditor (3) If you have mediawiki 1.25 or before, the extension no longer works. I upgraded from mediawiki 1.19 just to use this extension [15:02:44] First of all, you need WikiEditor [15:02:49] thank you catalan. no error, it just does not appear. I love this extension so much. [15:02:58] check your browser console [15:03:01] It's possibly a js error [15:03:07] Like I said, you need the WikiEditor extension in order for the extension to work [15:03:29] Also, I would recommend upgrading MediaWiki one version further to 1.28 [15:03:43] That's the version that most extensions now work best with [15:03:49] i have the extension. let me provide screenshot. I cannot upgrade to 1.28 in softulous. [15:04:07] Yeah, damn softulous [15:04:11] I hate that service [15:04:51] http://imgur.com/a/A8VMe [15:05:26] i never have cared for wikieditor, but installed it just to get my beloved msupload [15:05:52] if i originally upgraded to 1.29 or 1.28 with softulous, it would have been possible - but i choose 1.27 [15:06:04] Huh, you're right [15:06:12] The "Upload arrow" button is missing [15:06:27] I would file a bug report on Phabricator [15:06:40] i received an response from someone who created the extension. [15:07:02] Did you try to use it on an article? [15:07:10] I'm not sure if the extension works on user and user talk pages [15:07:25] What did the creator say? [15:07:27] i think it needs to be reversed, the entire extension. before wikieditor was required. [15:07:33] good suggestion! your smart : [15:07:35] :) [15:07:39] but yes, i think i did [15:08:25] I used to run my own wiki and therefore I know quite a bit about MediaWiki. Unfortunately, the database crashed and I wasn't [15:08:33] Able to recover it [15:08:50] moscowamerican_: I would file a bug on https://phabricator.wikimedia.org [15:08:58] http://imgur.com/a/Ul3Dp [15:09:22] no, it appears like it still does not work [15:09:50] Oh, you already filed a task and it got closed as resolved a month ago [15:10:14] i removed the two tabs (discussion and page) in the mediawiki css page - maybe that is effecting the extension? [15:10:37] https://phabricator.wikimedia.org/T139341 [15:10:50] No, that wouldn't do it [15:11:27] yes, creator responded with: https://www.mediawiki.org/wiki/Special:ExtensionDistributor/MsUpload [15:11:44] thank you catalan - i havent worked with you before. thank you i will let you know what happens [15:12:39] Also, have you tried uninstalling and then re-downloading the extension? [15:13:11] damn - he just redirected me to the Special:ExtensionDistributor/MsUpload page [15:13:32] I know other people are having the same issues. I just want an older version that works. [15:13:50] Like Reedy said, older versions likely don't work with newer MediaWiki [15:14:01] I would suggest completely uninstalling the extension [15:14:06] And then re-downloading it [15:14:40] I can post my successes on the main and talk page. Which version should I download and install? master, 1.27, 1.28 or 1.29 [15:14:59] i think this is a halil mary solution - but I am desperate [15:15:03] so i will tryi t [15:15:04] it [15:15:21] Download the version corresponding to your MediaWiki version [15:15:39] So if you're running MediaWiki 1.27, download the version of the extension that is designed for 1.27 [15:15:50] yes version 1.27.3 [15:16:16] Okay, first you need to uninstall the extension from your wiki [15:16:58] To do this, remove the text that looks like this: [15:17:00] wfLoadExtension( 'MsUpload' ); [15:17:07] From your LocalSettings.php file [15:20:59] i simply deleted everything in the extensions/msupload folder. downloaded the 1.27 zip file, created a new folder on my desktop, unzipped the information to that new folder, then dragged the new information to the extensions/msupload folder. no changes. [15:21:13] i will erase then add back wfLoadExtension( 'MsUpload' ); [15:21:21] Actually, no [15:21:29] Just remove the text and then download the extension again [15:21:49] Also remove any configuration variables for the extension [15:24:24] i did both, i removed wfLoadExtension( 'MsUpload' ); including removing all variables for wfLoadExtension( 'MsUpload' ); I saved the LocalSettings.php file. I then added back only wfLoadExtension( 'MsUpload' ); I refreshed the page using shift+ctrl+r no changes. let me move the line wfLoadExtension( 'MsUpload' ); in LocalSettings.php to below the wikieditor line. probably will make no difference anyway [15:25:07] If it still doesn't work, then I can't help you further [15:25:19] i had require_once "$IP/extensions/MsUpload/MsUpload.php"; in there - from a legacy - old version of mediawiki i removed that [15:25:30] Okay, try now [15:25:40] Does Special:Version still list MsUpload [15:26:54] yes - http://imgur.com/a/2J3mj still no changes. [15:27:23] If you don't mind me asking, what is the name of your wiki (URL)? [15:27:42] moscowamerican.com [15:27:45] MediaWiki:Common.css [15:28:51] i hid the sidebar too [15:29:06] i dont think that would have any effect, along with hiding the discussion and page tabs [15:29:10] Y'know, hiding the sidebar and tabs really breaks the interface [15:29:25] I don't think it has any effect on the extension but it makes the wiki hard to navigate [15:29:53] yes - i know [15:30:05] mediawiki doesnt look as professional. [15:30:17] so eventually i want it to look like a standard webpage [15:30:27] http://moscowamerican.com/index.php?title=Special:Contributions/Admin [15:31:10] i think getting an earlier git version is my best bet, talking about hail mary moves. [15:31:17] I think you may have an error somewhere in your config - I can't create an account [15:31:30] It says "you are not allowed to execute the action you have requested" [15:31:35] no - i blocked new account creation [15:31:46] People, hello. [15:31:56] well, you completely blocked it so now no one can create accounts [15:31:58] Including admins [15:32:01] because when you have a new wiki - within one week, the bots are relentless [15:32:06] yes. [15:32:07] ViChyavIn: hello [15:32:09] I have a question. [15:32:14] ViChyavIn: yes? [15:32:14] i hate that - but the bots are so terrible [15:32:19] hello vihyavin [15:32:42] moscowamerican_: you could've done $wgGroupPermissions['sysop']['createaccount'] = true; [15:32:50] This would limit account creation to only admins [15:33:07] Let me do something. [15:33:25] ok catalan [15:33:33] I erased all the permission blocks [15:33:33] ViChyavIn: you said you have question. Can I help you/ [15:33:52] i will add this one line after you create account [15:34:53] i love the idea that anyone can edit a wiki, but the bots are ruthless. this is the biggest failure of mediawiki as a program - out of the box, there is no captcha and bots soon overwhelm the site [15:35:04] moscowamerican_: I would also recommend installing the ConfirmEdit extension - this will add a CAPTCHA to prevent spambots from spamming [15:35:17] i have used all of the past extensions [15:35:21] https://mediawiki.org/wiki/Extension:ConfirmEdit [15:35:43] This implements a CAPTCHA when creating accounts, adding external links, etc to prevent bots from spamming [15:35:52] i wish this was standard and active when a person creates a mediawiki site. yes, I have used it in the past. [15:36:47] I am sure the confirmedit extension is better now then it was a few years ago. unless it was ruined like msupload was [15:36:52] The extension comes with newer versions automatically [15:37:08] But since you upgraded from 1.19 the extension doesn't come that early [15:37:33] I would also recommend shortening your $wgSitename variable - the current name is really long [15:38:09] ok - good idea! [15:39:04] $wgSitename = "Moscow American"; $wgMetaNamespace = "Moscow_American"; [15:39:58] Yeah, that'll be better [15:40:11] Also, I have confirmed that the MsUpload button is missing for me too [15:40:14] This is a bug [15:40:57] instead of preventing access, i will download Extension:ConfirmEdit [15:41:03] Good idea [15:41:18] And I would recommend assigning the "skipcaptcha" userright to admins [15:41:35] Or, change the threshold for users to become "autoconfirmed" [15:41:59] I was Autoconfirmed immediately after account creation - you can change this so that users have to exist for a certain period of time and make a certain number of edits before they are Autoconfirmed = [15:42:15] If you do this, you can assign skipcaptcha to the autoconfirmed group [15:45:02] back to MsUpload: you said you tried the version for 1.27, did you try the latest version instead? A lot of extensions do *not* backport bugfixes to older releases, so if the bug has already been fixed the only way to get it is by grabbing the latest version of the extension [15:45:25] ^ [15:45:34] (where by "a lot of" I mean "the vast, vast majority of, like 99.5%" [15:51:41] i jsut added #only admins can create accounts. $wgGroupPermissions['sysop']['createaccount'] = true; $wgGroupPermissions['*']['edit'] = false; [15:52:25] That prevents anons from editing, but not from registering [15:52:29] the captcha thing is just to complicated for now. I spent days working on it with my public wikis which had hundreds of editors. not worth it right now [15:52:36] oh [15:52:48] You need to use $wgGroupPermissions['*']['createaccount']=false; [15:53:47] thank you, I did just that [15:53:55] tested it and it worked :) [15:54:32] if i could make one suggestion to the maintainers of mediawiki - it is to have a robust captcha program pre-installed [15:54:32] Alternatively, if you want everyone to be able to REQUEST an account, but require all accounts to be approved by admins/bureaucrats, you can use https://mediawiki.org/wiki/Extension:ConfirmAccount [15:54:43] Disclaimer: ConfirmAccount is very complicated to configure [15:55:48] thanks for your comment at https://phabricator.wikimedia.org/T139341 [15:56:01] Np [15:56:22] do you know anything about GIT? If i could get a version before that is my best bet i think. [15:56:35] i have done it before - but it has been years [15:57:28] Unfortunately I don't know much about Git [15:57:33] Only GitHub [15:58:32] Github is mirroring WMF repositories [15:58:41] !e MsUpload [15:58:41] https://www.mediawiki.org/wiki/Extension:MsUpload [15:58:52] https://github.com/wikimedia/mediawiki-extensions-MsUpload [15:59:21] Peolple, can I remove certain cell restrictor of the table? [15:59:43] Here: https://minecraft-ru.gamepedia.com/%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:ViChyavIn/%D0%9F%D0%B5%D1%81%D0%BE%D1%87%D0%BD%D0%B8%D1%86%D0%B0_5 [16:01:17] hello vulpix [16:01:19] thank you! [16:01:35] i am adding screenshot to msupload from one of the creators on how it is supposed to look [16:02:28] People, can I remove certain cell restrictor of the table? [16:03:16] ViChyavIn: what do you mean? [16:05:20] Vulpix thank you, so how do i find an older version that I can download? [16:06:54] moscowamerican_: switch branch and download that version [16:07:23] I mean a line that restricts cells of the table. English isn't my native language so I don't know if there is a special term of this. [16:07:39] hmmm... okay. branch master button! brilliant [16:12:53] version 1.22 broke my site - sigh. no suprise there [16:12:57] People? [16:13:33] I need to know that [16:13:38] moscowamerican_: did you try the very latest version yet? [16:13:45] i.e. "master" [16:14:18] i can try [16:14:36] i think i did already. let me break my site again with 1.24 first [16:15:32] yep 1.24 doesnt work either - probably because of the new extension lines required in 1.27? [16:15:38] hello catalan! worried you left! [16:15:48] Sorry, my connection failed [16:15:53] Catalan, can you help me? [16:16:19] ViChyavIn: with what? [16:17:00] I asked you there above. [16:17:35] --------------------------- Confirm --------------------------- Overwrite remote file '.gitignore'? Destination directory already contains file '.gitignore'. Choose, if you want to overwrite the file or skip this transfer and keep existing file. New: 77 bytes, 6/13/2017 7:10:32 PM Existing: 35 bytes, 11/18/2014 4:20:46 AM --------------------------- Newer only New name Cancel Help ---------------------- [16:17:40] hmmm... [16:17:48] What do you mean by "remove the cell restrictor" ViChyavIn [16:18:11] i dont understand either vichyavin - i dont think anyone does [16:18:16] I mean the line that restricts cells of the table. English isn't my native language so I don't know if there is a special term of this. [16:18:32] a line that restricts cells in a table? [16:18:40] yes. [16:18:43] what do you mean by "restrict" [16:18:48] hides? [16:18:57] limit? [16:19:20] circumscribe [16:19:24] Oh, in a spreadsheet or something [16:19:29] give a coding example? [16:19:50] a vi gaveriti pa-ruski! [16:20:01] Да. [16:20:06] atcudavi? [16:20:13] where are you from? [16:20:24] From Russia, of course. [16:20:31] lol - what city [16:20:40] katori gorad? [16:20:58] What city? Emm... Ufa. [16:21:32] ufa? interestna. ya jel odin goud moskva. 2015-2016 [16:21:43] lablu russiya [16:21:55] Glad to hear that. [16:22:20] How did you know I was a Russian? [16:22:28] Ufa is the capital city of the Republic of Bashkortostan, Russia, and the industrial, economic, scientific and cultural center of the republic. As of the 2010 Census, its population was 1,062,319, making it the eleventh most populous city in Russia. [16:22:31] your website [16:22:45] Bashkortostan? never heard of it : [16:22:48] :) [16:22:54] ya lablu putin [16:23:12] I think all the foreigners love him. [16:23:26] no - most foreigners hate him [16:23:38] at least western and american people [16:23:50] They are not a majority. [16:23:54] you live in BFE. [16:23:56] yes, they are [16:24:07] i can only speak for 100% certainty for americans [16:24:11] but we hate him [16:24:13] as a people [16:24:26] BFE = butt fucking egypt [16:24:48] It sounds like racism. [16:25:04] it is not [16:25:11] I hope so. [16:25:30] https://english.stackexchange.com/questions/13372/what-is-the-etymology-of-bfe [16:25:39] definition [16:25:59] Okay. [16:26:04] you live ""out in the middle of nowhere." [16:26:30] I find it finny, isn't it? [16:26:36] funny* [16:27:06] Skizzerz downloaded master - my webpage works again, but the extension does not work. as Catalan confirmed [16:27:13] yes it is funny [16:27:33] vichyavin - - i am fairly familar with templates in mediawiki - but i do not know what you are asking [16:28:02] 1.27, 1.28, 1.29 master, 1.22 and 1.24 do not work [16:28:09] Sorry, got to go. [16:28:26] See you later. [16:28:37] And ask you later, hopfully. [16:32:42] Skizzerz 1.25 works perfectly once I got rid of worthless wikieditor [16:33:50] how do i edit Download MediaWiki extension special page? https://www.mediawiki.org/wiki/Special:ExtensionDistributor/MsUpload how do i add back older versions? [16:39:26] Hey guys, all of a sudden my MediaWiki installation (1.27.3) is causing a "504 Gateway Timeout". How can I debug this? [16:56:38] Mayzie: 504 Gateway Timeout is returned by a proxy server in front of your MediaWiki installation. Maybe the server executing MediaWiki is down... [16:57:24] Vulpix: I know that. It's not. It's still serving other PHP scripts just fine [16:57:40] It's _only_ when accessing MediaWiki. [16:58:00] Note, this only just started happening, too (noticed it today - the wiki has been running for months) [16:58:02] !debug [16:58:02] For information on debugging (including viewing errors), see https://mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging Also see https://mediawiki.org/wiki/Manual:Errors_and_symptoms [16:58:23] set up a debug log and see where it stops logging [16:58:24] I read all of that, too. No errors. [16:58:48] Just has "Request ended normally" [17:03:26] Eh, looking at more stuff now, it could be a problem with PHP-FPM. Although, I don't really understand why because it serves other requests just fine. [17:03:48] Assuming that "Request ended normally" means that MediaWiki has no more operations. [17:14:29] Does anyone have the SimpleMathJax and VisualEditor extensions working together? [17:14:39] Okay, switching from a UNIX socket to 127.0.0.1 for fast CGI resolved the issue... Even though it was working perfectly fine just two days ago. The heck?