[00:00:20] that stuff needs to go after the if you have a ?> at the end of the file, delete that [00:00:29] it's not needed [00:01:18] Got it. I put the error reporting lines in the right place. [00:01:37] hmm [00:01:37] And deleted ?>. [00:01:46] now every page is erroring [00:05:12] I'm going to revert the error reporting lines in LocalSettings.php. They don't seem to help. [00:07:16] I am willing to try the upgrade to 1.27.1, as Skizzerz recommends. [00:07:39] how are you editing LocalSettings.php, out of curiousity? [00:07:48] like, with what program? [00:08:09] My host offers a web-based editing utility through cPanel. [00:08:18] I see [00:08:43] if using cPanel, ensure you use the "Code Editor" thing (if that's still a button, been a long time since I've used cPanel/WHM) [00:09:21] It is still a button. I was not doing that. I'll try again. [00:09:58] First, regarding the upgrade: The new server is a shared server. I'm not sure how to "run" anything on a shared server. Is it feasible? [00:10:08] so step 1 is backups [00:10:18] make a backup of both the files and the database [00:10:39] your cPanel should hopefully have something that lets you do that, if not your host may take their own backups but I've learned to never rely on those to work [00:11:12] step 2 is after backing up the files, delete all of the existing mediawiki files or move them to some subfolder [00:11:35] step 3 is uploading and extracting the tarball with the 1.27.1 files [00:12:03] I put the error reporting lines back, this time using Code Edit. Doing so has the same effect as before. [00:12:04] step 4 is running the upgrade, which you can do by going to http://eucalyptusgrove.matsonconsulting.com/mw-config after you perform step 3 [00:12:59] Excellent. It was the last step I was uncertain about. [00:13:01] in the setup program there, ensure you use exactly the same database name, credentials, and prefix as your existing database. If you specify all the same stuff, it'll upgrade your old database. If you typo something, it may create a new one instead of keeping your old content and users [00:13:32] if you have SSH access, you can also perform the upgrade over SSH, but the web-based version may be easier for you to use [00:13:51] if you're comfortable with SSH, then you'd cd to your wiki's maintenance directory and run php upgrade.php [00:14:16] doing that requires having a LocalSettings.php already in place, though, whereas the web installer will create a new one for you [00:14:48] quite a few things changed since 1.13, so a fresh LocalSettings.php is probably a good idea [00:14:56] Did someone mention earlier that if I upgrade, I will have to reconfigure skins or something? [00:15:06] if you use the tarball version, you'll be fine [00:15:31] if you download via git, you'll need to grab dependencies like the vendor libraries and skins yourself [00:15:45] Understood. [00:16:28] I will attempt the upgrade later this evening. I'm late for a workout now. Thanks for the help everyone. [03:50:59] Hi all [03:51:27] I got a problem for my mediawiki [03:51:33] any help? [03:54:03] hi? [03:56:24] i am newbie [03:56:29] but i might be able to help [03:57:28] hi [03:57:46] I just give a try from here [03:58:11] all my page titles are gone [03:58:39] for every page, only content shows up, but no title and frame [03:58:53] I don't know what I did to cause this [03:59:34] The only possible reason is that I add a new template page named "-" [04:00:02] I'm not sure, maybe it's a unavailable page title character.... [04:00:20] anyone knows? [04:01:36] - used to be kind of a special name [04:01:41] Used for auto-generated css, a long time ago [04:01:43] I think [04:02:18] err, nevermind, I just looked at the logs, and - should definitely not cause that [04:02:26] JHK: Do you have a link to your wiki? [04:02:41] O.o [04:03:11] sorry it's a internal wiki for cmpany so I cant offer link [04:03:24] could u pls explain more for CSS issue? [04:04:04] JHK: The css thing is unrelated. I joined the channel half way through and only got the end part of what you wrote [04:04:09] pretend I didn't say the css thing [04:04:22] JHK: So you get no ui at all [04:04:24] ? [04:04:29] yes [04:04:40] all my pages got only content [04:04:46] e.g. it looks like https://en.wikipedia.org/wiki/Dog?action=render [04:04:47] no page title, no frame [04:05:09] not exactly [04:05:26] Could you take a screenshot so I could see? [04:05:35] i still have sidebar and upper toolbar [04:05:40] just page title missed [04:06:23] looks like first class page title is deleted [04:06:25] Sometimes people add javascript to remove the page title from the Main page. Did you recently copy js or css from a different site [04:06:35] ? [04:06:57] I copied css and js from wikipedia, but it's working [04:07:15] no problem like this until today [04:07:25] but i didn't change any css or js [04:07:33] Are you sure that some of the stuff you copied didn't also remove the main page title? [04:08:57] I'm not sure since I never notice about page title, But seems like there's no title for main page since beginning [04:09:19] but all titles for every page is fine [04:09:56] the only possible reason is that I just add a new template page named "-" [04:10:11] i guess this special title cause some layout problem [04:10:16] is it possible? [04:10:51] i just copied this template page from wikipedia [04:11:06] it's working for wikipedia however [04:11:16] In Wikipedia, the MediaWiki:Vector.css does have code to remove the Main Page title [04:12:23] how do i check if I hide main page title? [04:12:56] Is there a line like .action-view.page-Main_Page .firstHeading { in mediawiki:Vector.js [04:13:24] Or really look for ".page-Main_Page" anywhere, as that means do something specific only to the Main Page [04:13:40] I just check Vector.css [04:13:44] no any content [04:13:50] just one line comment [04:14:03] I just copied common.css from wiki [04:16:05] One thing strange is.... I copied css and js from wiki couple month ago, and everything is working fine [04:16:22] I never changed both of them [04:16:34] But I got this page title problem until today [04:17:11] Sometimes you can encounter weird caching bugs where things take a while to take affect [04:17:16] Or something else could have changed [04:17:57] well...i hope it's just a caching bug [04:18:09] I have tried reboot, nothing changed [04:18:23] If you know how to use the developer console, you could load the page in debug mode (?debug=true) and then use the inspector to see what css rules apply to the h1.firstHeading, and see where they come from [04:19:04] The other possible cause of something like that is {{DISPLAYTITLE:..}}, but it would be very difficult to accidentially use it to hide the title (especially in default config) [04:20:38] I never use {{DISPLAYTITLE}} [04:21:14] I will give a try to check css just like u say [04:21:48] But I'm also thinking maybe I can try to delete template "-" from database? [04:22:05] thought I don't know how to do it [04:22:24] But it can prove if that "-" page to cause this problem [04:22:31] There should be a tab labeled delete on the template [04:22:45] if you have the right to delete it (i.e. You are an Admin) [04:22:54] yes, but it still in database [04:23:01] I mean to delete from SQL [04:23:18] There is no way that having it on wiki but deleted would be able to affect anything [04:23:19] im not sure, just guess another possible solution [04:24:12] so ... it's not a good idea [04:25:02] I never found similar situation by google, that's really terrible for me [04:27:35] Thanks anyway, I will stay here until I find solution [04:28:52] Sorry, I could probably offer more advice if I could see the site in question, but without that I'm just making wild gueses [05:19:27] Following-up on a discussion of ~5 hours ago: I want to report that I followed Skizzerz advice and upgraded to MediaWiki 1.27.1. For the most part, everything went smoothly and the site works now. The only setback is that I lost the navigation box on the left side of the screen. I'll try to puzzle that out on my own before I come back for help. Thanks again, Skizzerz; you saved me a lot of time on this. [05:20:49] Guest48443: That's a weird thing to lose... [05:25:14] On closer inspection, I see now that all I lost is, literally, the navigation box. The links are all there; they are just no longer in a box. [05:51:29] Is there something in the 1.27 release that would cause JobQueueRedis to stop working? [05:53:53] Trela: I'm not aware of anything [05:54:09] * Trela nods. [05:54:31] Configuration didn't change. Updated to 1.27 - Now JobQueueRedis never updates queues. [05:55:15] Trela: what did you update from? [05:55:21] 1.26 [05:56:15] The jobrunner service is the latest as well from 2015.(There was an update a couple months ago I put in today, but it was a small fix for something I have never seen happen.) [05:58:06] hmm, skimming through git log https://gerrit.wikimedia.org/r/#/c/252608/ looks like the only major change in 1.27 [05:59:39] Yep, that is what I am seeing as well. No huge changes that look like it should break anything. [06:01:46] Ohhhhhh... jobqueue:s-queuesWithJobs is getting two keys set into Redis. One with a global prefix and one without. [06:04:15] legoktm: bawolff: Thank you. Seeing the note about the new Redis key may solve the issue. [06:04:39] awesome :) [06:06:54] There is another piece in the(our) stack creating a RedisConnectionPool with a Redis prefix. My assumption right now is that is affecting the stored connections($this->conn) and using the wrong one incorrectly. [06:08:40] yeah, there were changes to how cache keys are created [06:11:25] Found it! We do indeed have a connection being created with Redis::OPT_PREFIX on 127.0.0.1:9000. However, the job queue is using 127.0.0.1:9000 without a prefix. RedisConnectionPool only keys off server and port for existing connections. [06:12:10] aha, nice find :) [06:13:20] We have an unused redis server on a different port so I'll just switch it to that as a work around until I can work in a code patch for our stuff. [07:37:42] Hello, is there up-to-date extension with functionality of CategorySubscriptions and NotifyCategoryTalkOnEdit extensions? These two seem to be outdated. I need functionality to "subscribe" users to categories - i.e. notify them about changes in all pages in the category or add/remove this category to some page. [08:17:14] As a follow up: In MW 1.26 running redisJobRunnerService was sufficient. In 1.27 it is required to run redisJobChronService as well to make the former work. [09:03:03] Heya [09:03:10] where do i find the logic behind "Special:Upload"? [09:17:57] Xatenev https://github.com/wikimedia/mediawiki/blob/master/includes/specials/SpecialUpload.php and https://github.com/wikimedia/mediawiki/tree/master/includes/upload [09:18:39] Alphos: Thanks, damn your everywhere lol [09:18:58] Sadly your IRC Client doesn't expose all channels your in. :/ [09:19:26] Xatenev i do what i can :p [13:06:48] hi, is it possible to use markdown as mark up language for mediawiki? [13:09:45] diverdude: no [13:10:20] Nemo_bis, mmm ok...will it ever be supported? It seems much more elegant than the strange mediawiki syntax [13:11:46] diverdude: There seem to be a bunch of extensions mostly unmaintained: https://www.mediawiki.org/wiki/Category:Markdown_extensions [13:12:16] I don't think there are any plans for native support. [13:13:00] thats really to bad [13:13:12] are there other wiki systems which uses markdown? [13:14:33] http://www.wikimatrix.org/ may know [13:25:58] how do i change the page title of a page? i dont want to change the name, just the title which appears with large font in top of the page [13:30:38] diverdude: https://www.mediawiki.org/wiki/Help:Magic_words#Displaytitle [13:32:25] Vulpix, adding {{DISPLAYTITLE:title}} did not make a difference [13:32:58] did you read the documentation? [16:47:19] hey all, anyone here been working with MediaWiki with CirrusSearch before? [16:47:46] i'm pretty sure that everything already been setup properly on my side, however i got this error when I try to search something [16:47:55] Fatal error: Undefined class constant 'FT_QUERY_INDEP_PROFILE_TYPE' in /var/www/html/extensions/CirrusSearch/includes/CirrusSearch.php on line 351 [16:48:17] anyone know abt this error and how to solve it? thx in advance [16:48:56] ardnet: I think it's a version mismatch between mediawiki core and CirrusSearch [16:49:43] oh ic, my MW is on 1.27.0 and CirrusSearch is on 0.2 [16:51:16] ardnet: did you fetch cirrus from git? [16:52:13] well, seems no, i got it from snapshot instead [16:53:08] dcausse ^ [16:53:54] ooo... wait a minute [16:55:49] i'm not sure which version previously i used, but just now i downloaded this one from the snapshot: CirrusSearch-REL1_27-dcb0cf9.tar.gz [16:55:52] now seems working fine [16:55:59] probably cache or something [16:56:09] ok [16:56:19] well, anyway, thx anyway dcausse for the respond [16:56:25] yw :) [16:58:33] hi, i have set max upload size in php.ini to 10000M and in Localsettings.php i have set $wgUploadSizeWarning = 2147483647; $wgMaxUploadSize = 2147483647; and reloaded my nginx server...but still when i try to upload file larger than 2MB it says its not allowed. What am I missing? [17:09:51] anyone in here? [17:10:28] diverdude: what's the exact error message? [17:10:54] Vulpix, "This file is bigger than the server is configured to allow." [17:12:02] diverdude: apparently, the limit is in the PHP configuration [17:12:28] see the upload_max_filesize and post_max_size PHP configuration options [17:13:42] Vulpix, but i already set post_max_size = 10000M and upload_max_filesize = 10000M in /etc/php/7.0/fpm/php.ini [17:14:23] check with phpinfo() that those settings are really applied [17:17:43] Vulpix, in phpinfo it says 2M...why has it not been applied after i changed it in php.ini? [17:18:05] Vulpix, i did run sudo systemctl restart nginx [17:18:38] check in phpinfo that you edited the correct php.ini, just in case, and that setting isn't being overridden somewhere else [17:20:10] Vulpix, it is the correct ini.... /etc/php/7.0/fpm/php.ini it says in phpinfo() which is the one i have altered....where would it override that setting? [17:20:35] further down in that same file, or who knows where else... [17:21:57] i did not alter any code in the mediawiki...and i am the only person using this system.....and the only php system running is the mediawiki...so there is not really any place it could get overridden [17:22:15] i will try to reboot the entire machine [17:28:30] Vulpix, ok...rebooting the entire machine made it work. weird [17:28:48] that usually works in computers lol [17:29:36] lol yes [17:35:37] Vulpix, ack..i spoke to hastely :( now i am getting: File extension ".pdf" does not match the detected MIME type of the file (image/vnd.wap.wbmp) [17:35:52] Vulpix, but its just a standard pdf i am trying to upload [17:36:18] fix the mime type of the file? :P [17:36:33] andre__, its just a standard pdf file [17:38:03] Any "standard' file can have an incorrect mime type not fitting its ".whatever" file extension. [17:38:30] file --mime-type an_243.pdf shows: an_243.pdf: application/octet-stream [17:41:45] the mime type can be detected in either the client (browser) sending the file (which along the file name it sends its "detected" mime type), and the server. You'll have to dig which one is misinterpreting it [17:42:16] firefox developer tools (F12) can inspect what's sent to the server [17:45:19] hello [17:45:30] anyone know that error? Script error: Lua error: Internal error: The interpreter has terminated with signal "127". [17:45:51] some day ago, i got the same error but with 0 as number [17:46:12] today, i decided to download scribunto from git [17:46:22] and it worked better than i though aside that error [18:58:33] I just install media wiki on my RHEL 7 box with this link https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Red_Hat_Linux [18:58:50] but I am still having trouble connecting to the http://server/mediawiki [18:59:25] can anyone help? [19:02:10] that is because you didn't add your site name [19:02:15] or localhost [19:04:40] it should be like www.yoursite.com/mediawiki or http://localhost/mediawiki [19:05:46] okay ill try that [19:05:48] thanks [19:06:02] np [19:07:11] im still getting a 404 not found [19:07:20] but i dont remember declaring a servername anywhere [19:07:32] so i would image it would be localhost like you suggester [19:07:37] suggested [19:08:05] yes and make sure you use xamp software to run it [19:08:15] xamp? [19:08:49] why xamp on a linux machine? [19:08:51] it's a software that will make your computer that will act like a virtual internet [19:09:24] nevermind, it's lamp [19:09:40] xamp is for windows XD; [19:10:40] ill download that and try again [19:11:19] and like i said, you need to run Lamp [19:11:32] downloading :) [19:11:49] and make sure you read fully the manual that you wanted to run your mediawiki [19:47:23] good day [19:51:50] I was told people here are working on how to solve https://phabricator.wikimedia.org/T120238 [19:52:35] it seems indeed to be a problem with the template [19:53:27] https://en.wikipedia.org/wiki/User:Lbertolotti/test_page [19:53:37] nobody is working on that task, apparently. If the issue is solved you can close it [19:53:58] See how the mobile view is bugged [19:54:17] last comment in the task reads: "The portal pages are now displaying better on my cellphone. Maybe this issue can be solved now..." [19:54:59] hello vulpix [19:55:05] I wrote that [19:55:12] hi [19:55:15] it was a lot worse back then [19:55:31] dod ypu remember the problem with the error on lua ? [19:55:54] i managed to make it work by downloading the last version of scribunto [19:56:00] from git [19:56:12] but now i have this : Script error: Lua error: Internal error: The interpreter has terminated with signal "127". [19:56:30] instead of signal "0" [19:59:23] so, do you know the problem? [20:00:40] allaze-eroler: set an error log and see if there's something interesting there [20:01:02] http://www.allaze-eroler.com/w/hata/error_log empty [20:01:15] which it's weird [20:03:28] anyone? [20:04:40] they're probably checking your link [20:05:45] Signal 127 is command not found I think [20:05:49] See the bash man page [20:06:06] where can i found that? [20:06:15] yeah, 127 means command not found. So Lua binary is probably missing [20:06:20] From command line type [20:06:22] man bash [20:06:29] humm [20:06:32] But actually don't, since its really long and mostly not relavent [20:06:49] The main point is, that is where its documented what error code 127 is [20:07:02] But that man page is like 50 pages long, so I don't really reccomend reading it [20:08:01] or just search for it by typing /127 (enter) [20:10:52] {| width="100%" |
'''[[Portal:Business and economics/Selected quote|...Archive]]'''
||
'''[[Portal:Business and economics/Selected quote/Suggest|Suggest]]''' || |} [20:11:03] this code is bugging as a mobile view [20:34:15] back [20:34:26] sorry, i was distracted by star trek movie [20:34:39] old star trek movie to be exact XD [20:35:11] for bash, it's with putty? [20:36:04] yes [20:36:12] ok [20:36:30] Although honestly I probably shouldn't have mentioned it, its really not important to your issue [20:36:48] for the 127 thing? [20:36:49] In putty, if you type [20:36:51] man intro [20:37:08] It will give you a quick introduction to how unix command line works [20:37:25] The 127 thing just means MediaWiki is trying to run a program that doesn't exist [20:37:59] i see [20:38:04] that is weird [20:38:11] humm [20:38:19] i will try something [20:38:55] hum [20:39:25] before doing it, it's fine if i get the lastest version of mediawiki from git or something? [20:40:09] so far it's 1.27.1 [20:41:58] 1.27.1 is the latest stable version [20:42:16] from the site indeed but about git? [20:43:22] nevermind, i think i will not try that [20:47:00] If you're having trouble with the stable release, switching to alpha versions is probably not a good idea [20:47:18] hummm [20:47:37] i guess i will simply wait the next release then [20:48:03] allaze-eroler: Is there a specific feature you're interested in? [20:48:23] The issues you've described so far have nothing to do with what version your on [20:48:28] aside trying to make the scribunto working, that os what i need [20:49:03] http://www.allaze-eroler.com/w/index.php?title=Special:Version here the version so far [20:49:20] All your scribunto issues are issues with either misconfiguration or missing dependencies. Changing your mediawiki version is not going to change that [20:49:33] i see [20:50:14] i fixed the pcntl problem thank to one small portion of code from gerrit [20:53:09] i think someone need to take some test with OVH as web hosting [20:55:35] one thing i found really weird is that on my computer, the lua version is 5.1.4 but on my site, it's 5.1.5 [20:56:36] even though it's strictely same folder i uploaded it [20:59:50] can anyone help me with this code? [21:00:07] https://en.m.wikipedia.org/w/index.php?title=User:Lbertolotti/test_page&mobileaction=toggle_view_mobile#/editor/0 [21:00:31] it's bugging on mobile view [21:03:30] nevermind, i will wait until we get new version ^^; [21:12:37] interesting, the version 1.28 is not yet ready to be available on your site [21:12:51] might be a beta version [21:14:26] 1.28 is the current alpha version [21:14:39] It will not be stable for probably about 5 months [21:14:43] so it does [21:14:47] i see [21:15:06] hello [21:16:42] Hi lbertolotti. If you don't get any response here, you can also try #wikimedia-mobile [21:17:04] ^ [21:17:10] bawolf, have you seen template coding? [21:18:43] {| width="100%" |
'''[[Portal:Business and economics/Selected quote|...Archive]]'''
||
'''[[Portal:Business and economics/Selected quote/Suggest|Suggest]]''' || |} [21:19:05] *bawolff [21:19:31] I have. Probably I would suggest avoiding tables [21:19:46] So how would you write that? [21:21:18] bawolff, on mobile view this code is not working correctly [21:21:35]
”'[[Portal:Business and economics/Selected quote/Suggest|Suggest]]”'
”'[[Portal:Business and economics/Selected quote|...Archive]]”'

[21:21:37] Maybe [21:21:42] but I don't really have time to debug [21:22:52] bawolff, that's a lot better [21:46:52] bawolf, I've wrote it like that [21:46:59] https://en.wikipedia.org/wiki/User:Lbertolotti/test_page [21:47:16] bawolff [22:14:07] bawolff, are you there? [22:14:24] I'm here, but I can't help you [22:14:38] Does anyone knows template editing? [22:16:23] note me [22:16:28] not* [22:17:46] join @wikimedia-mobile [22:25:21] add / before join word ^^, [22:25:30] like this /join [22:35:04] bawolff, well I've wrote it myself https://en.wikipedia.org/wiki/User:Lbertolotti/test_page [22:35:24] it displays nice on my Nexus 5 [22:38:20] Can anyone else test this on their phone? [22:38:52] IanKelling: I'll take a look [22:39:02] I mean lbertolotti [22:42:42] i.imgur.com/s8trZVF.png [22:42:48] imgur.com/s8trZVF.png [22:42:57] www.imgur.com/s8trZVF.png [22:43:06] Well thats what it is coming up as [22:43:07] So [22:43:09] Yeah [22:43:45] yeah, that's fine for me [22:44:00] That was on Galaxy S6 Active [22:44:35] a lot better this https://en.wikipedia.org/wiki/Portal:Business_and_economics [22:45:01] I will correct the template on the portal pages so display like my test page