[01:52:48] My options [11:17:36] wooooooooooooo [12:01:26] Hello. [12:01:56] I have submitted a patch to the issue the jekins bot review 's it correct but there is a message at the strategy option "cannot merge" ,when I hover over it it gives me "The change cannot be merged due to a patch conflict rebase the change and upload the rebased change for review" can anyone say me how to rebase the code? [12:02:52] Not me. I can't get the Math Extension to work on MediaWiki :-(. [12:03:16] I get "MWException" error. [12:06:35] rammanoj_, pull the latest code and adapt your changes? [12:06:46] nicole: https://www.mediawiki.org/wiki/Manual:How_to_debug [12:07:27] enable $wgShowExceptionDetails [12:08:42] The Math Extension shows as installed on http://www.nicolesharp.net/wiki/Special:Version but I get broken pages at http://www.nicolesharp.net/wiki/Special:MathStatus and http://www.nicolesharp.net/wiki/sandbox (same code as is at http://www.mediawiki.org/wiki/user:Nicole_Sharp/sandbox ). [12:13:06] what does "broken pages" mean? [12:13:58] I just added ShowExceptionDetails, if you reload the pages again, you will see a lot of technical information now instead of the error messages. [12:14:23] Special:MathStatus and [[sandbox]] [12:14:25] I don't on http://www.nicolesharp.net/wiki/NikkiWiki:Sandbox [12:14:33] because I'm not logged in, I guess. [12:14:46] Oh. Maybe. That is good for security I guess. [12:14:55] I can copy and paste it but it is a lot. [12:15:01] On an unrelated note you probably want to upgrade your installation. 1.28.0 is vulnerable to security issues. [12:15:08] let me stick it in the sandbox [12:15:15] nicole, if you post it to some pastebin that would be helpful [12:15:23] and then link to that pastebin entry here [12:17:37] I uploaded the error content to: https://www.mediawiki.org/wiki/User:Nicole_Sharp/sandbox [12:18:45] it needs a RestbaseURL apparently, not sure what is [12:21:17] I added "$wgMathFullRestbaseURL= 'https://api.formulasearchengine.com/';" but still have some errors [12:23:34] nicole, https://www.mediawiki.org/wiki/Extension:Math/Restbase [12:24:15] I don't have Mathoid. Is that required to use the Math Extension? [12:25:28] Or RestBase. I am not sure what either are. I doubt I can install them either unless they are PHP applications. [12:28:56] This is the error I am getting now when attempting to display math in the sandbox: https://www.mediawiki.org/wiki/User:Nicole_Sharp/sandbox#second_error [12:44:21] I tried deleting and re-uploading the extension, but no changes. Special:MathStatus indicates that the extension should be working, but I still get a broken page when attempting to open the sandbox page with . It redirects to [[Database error]]. [12:46:16] andre__ , I have pulled the code to the master branch should I commit the change which I have made from same or I have to make the other branch and commit the change? [12:52:00] rammanoj_: please amend [12:52:05] https://www.mediawiki.org/wiki/Gerrit/Tutorial#Amending_a_change_.28your_own_or_someone_else.27s.29 [13:03:35] andre__ , it is even giving me the same thing there is no change even I made a new commit [13:03:56] rammanoj_, which commands did you execute? [13:05:49] I executed "git pull origin master" in the master branch and then went to the branch which I have previously made the commit and amended the commit with "git commit --amend" and run "git commit" and then git review -R" [13:10:10] I can't view, edit, or preview the wikipage if it has any Math tags in it. If I go to the page history, I can only preview the page from versions before I added the sample Math to the page. [13:10:45] The only thing I can think of is maybe because I don't have a Mathoid server? I wouldn't think that to be necessary though? [13:15:43] Wow. OK. I got it fixed. I turned off the Math Extension and uploaded instead the SimpleMathJax extension. That works: http://www.nicolesharp.net/wiki/sandbox Not sure why the Math Extension doesn't though :-(. [15:08:57] hey guys... I read endless hours of tutorials and stuff, but I dont even get a simple test working... would be so nice if someone could help me.. (I'll publish a howto myself if it gets to work) [15:09:40] can someone post me the LDAP part of the LocalSettings.php needed for connection with, lets say, this testservice: http://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/ [15:11:25] mediawiki just keeps telling me, the password is wrong, i dont even manage to get debug access to the ldap requests it is (seems) submitting [15:12:42] What to you want MediaWiki and LDAP to do? [15:13:46] I have a plain install of wikimedia (not public) and the ldap extension installed. I want to login with one of those username/pw combinations from ldap directory. [15:14:02] type: mediawiki [15:14:22] which ldap extension? [15:14:23] https://www.mediawiki.org/wiki/Extension:LDAP_Authentication ? [15:14:30] which MediaWiki version is that? [15:15:37] mediawiki-1.28.2.tar.gz and LdapAuthentication-REL1_28-770c89e.tar.gz [15:17:22] see the link I provided? :) [15:17:29] or well... [15:17:38] did you disable AuthManager? [15:17:42] (to ask explicitly) [15:20:39] I dont think so. How do I do this? Do I need to activate uselocal again to login via loca admin and uncheck that AuthManager somewhere? I dont have a dir "AuthManager" in the extensions directory... [15:25:50] DefaultSettings.php has $wgAuthManagerConfig = null; but i figure this is not enough to disable? [15:32:04] btw. I want to use LdapAutoAuthentication but LdapAuthentication [15:32:13] aaaarg, other way round [15:32:28] btw. I DONT want to use LdapAutoAuthentication but LdapAuthentication [15:37:36] ... i'lltry the whole thing with mediawiki-1.23.17 .. lets see if I get somewhere there [15:39:22] frnk: I strongly recommend against using 1.23 [15:39:48] frnk: it is an unsupported ancient version which likely has security vulnerabilities by now. [15:40:21] frnk: oh wait - ok, it is still supported (hence no security issues), but not for long anymore [15:41:04] yeah, this is the last month of support of 1.23: https://www.mediawiki.org/wiki/Version_lifecycle [15:41:22] ok, perhaps by the the ldap extension is ready for 1.27+ and authmanager... at least I might be able to get my ldap config straight with 1.23... [19:54:02] hello, i need some help with rootpages and the translate extension [19:54:18] i have an infobox that has a title section that pulls a name from {{ROOTPAGENAME}} [19:54:43] i don't have subpages enabled, so the pages the Translate extension creates can be buggy in that regard [19:56:06] this makes it to where the Infobox title displays the language of the page ("/en", "/jp", etc) regardless of root/subpage settings [19:56:42] ex, going on Example/en would display Example/en instead of just Example [19:57:36] the most logical thing to do would be to enable universal subpages, but a lot of my pages use the / in titles [19:59:06] what would be the best course of action? [20:01:28] seems like https://www.mediawiki.org/wiki/Extension:Subpage_Fun would be able to fix this issue [20:40:40] selamlar [20:42:48] Hi [20:51:30] I have a question about collapse [21:00:09] ahmet: please go ahead and just ask. [21:00:24] i probably can't help, but be patient, someone may see your question and respond later. [21:00:28] !ask [21:00:28] 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. :) [21:01:43] https://en.wikipedia.org/wiki/Wikipedia:Help_desk#Collapse my question [21:02:29] ahmet: use different values in the id attributs [21:03:10] each section should use a different id/class: mw-customtoggle-foo, mw-customtoggle-bar, mw-customtoggle-quux [21:09:04] Thank you @DanielK_WMDE [21:09:36] it's ok well ;) [21:16:35] ahmet: glad it worked! [22:25:00] hello [22:27:08] Plz let me know if anyone here is able to help w/ MW setup. Facing weird bugs [22:28:18] !ask | Calnation [22:28:18] Calnation: 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. :) [22:31:23] cool. MW 1.28, PHP 7.1, mysql 5.7. Used the maintenance/install.php, went okay but instead of a wiki I'm only seeing a page with warnings [22:32:45] "Deprecated: Function mcrypt_create_iv()..", the rest are "Cannot modify header information - headers already sent by..." [22:33:41] The latter is likely causing your sites breakage, we probably want to know about that "by ..." part. [22:34:36] At least that's my guess. [22:36:02] that's the page's content https://dpaste.de/b6QF/raw [22:41:01] btw, I didn't add any extension to the installation. not sure if that matters [22:51:01] still need your help guys. what could be wrong? [22:51:10] Calnation: Maybe run maintenance/update.php and see if that helps with anything. [22:52:34] good night / day everyone [22:55:36] ran the update, sadly nothing changed [22:57:40] Calnation: Hmm, did you change LocalSettings.php at all? [22:57:58] is 7.1 supported? [22:58:36] Calnation: anyway you can turn off deprecation warnings in your php.ini [22:58:37] well, yes quite a lot. I thought you have to do that to setup name, db, etc. [23:00:02] E_ALL ^ E_DEPRECATED you need [23:00:07] and turn off display_errors [23:00:16] just log PHP errors to a file [23:00:21] hi Niharika [23:02:03] ... and the bug number is https://phabricator.wikimedia.org/T143788 [23:02:08] Calnation: You do. (I had mw-vagrant on my mind). Hmm, I'm not sure what's going on. [23:02:16] Hi saper. [23:02:20] Thanks for that. :) [23:06:30] just turn off the warning and displaying of errors [23:06:44] redirect them to a file and see what happens then - it should not break more [23:18:55] in php.ini, I changed the line to "error_reporting = E_ERROR" and sadly no change [23:19:29] not sure if that's the line you intended [23:19:49] display_errors = Off [23:21:03] already there [23:21:26] "display_startup_errors = Off" too [23:22:49] sorry display_errors is now a string [23:23:28] do you have it set? [23:23:37] display_errors "stderr" is now what's needed [23:23:50] display_startup_errors is a different settings and defaults to Off [23:24:39] or display_errors "0" [23:26:42] i put display_errors = "0", sadly it's the same page [23:28:36] is this mainly cuz of php7.1? [23:29:03] yes [23:29:07] only [23:29:21] well check if you are editing right php.ini file [23:30:11] restarting the interpreter (fpm) or the webserver (module) [23:30:53] that's my php.ini https://dpaste.de/7nXs [23:32:12] and I almost always restart fpm and nginx (using docker not that it should matter I think) [23:32:29] when you put a syntax error there, does it break completely? [23:32:58] people have things broken in docker many times so no guarantee here [23:37:18] weird, it didn't [23:37:37] you are editing wrong file [23:38:03] darn it, where's the right file [23:45:41] "php --ini" certainly thinks it's the correct file [23:46:49] naaah [23:47:04] web and CLI PHP have different php.ini [23:47:46] put that ^ into webroot and open in browser [23:48:16] don't forget to delete afterwards [23:48:18] MaxSem: thats for taking over, need to go [23:50:14] put it in a new file? name? [23:52:05] sorry as I have no real experience w/ php world (obvious I'm sure) [23:52:16] any filename.php [23:55:56] my env isn't local, it's in a docker container, so what how about rename index.php to whatever and then create new index.php with that content? [23:57:32] works [23:57:35] Calnation: You can put "phpinfo();" in index.php and open it in browser. [23:58:02] I thought docker was supposed to make things easier? :P [23:58:40] so worked, and showing lots of info. among them "Loaded Configuration File /usr/local/etc/php/php.ini " [23:59:14] which is what I was editing as php.ini [23:59:58] and docker does make things "relatively" easier :b