[01:13:22] FlorianSW: the Android app has this in SuggestionsTask which extends the full text search functionality. The exact query can be found in there. We prepend the "morelike:" prefix to the search term in this case to get better results. [01:14:05] bearND|afk: found it alone, but again: big thanks for your answer! :) [01:14:32] wow, you're up late [08:56:07] Hey, I am configuring MobileFrontend extension. I have configured $wgAutoDetectMobileView = true [08:56:26] But now I can only see header [08:57:06] What else should I do so that I can also view other contents of the Mobile on desktop site [08:57:27] Can someone help? [15:18:42] bearND|afk: to your "you're up late" :D Yeah, I had vacation the last two weeks and my sleep rythm is a bit messed up, because of... reasons :P [16:41:49] I have MobileFrontend extension installed in mediawiki/extensions and also configured below lines in LocalSettings.php: [16:41:51] " require_once "$IP/extensions/MobileFrontend/MobileFrontend.php"; [16:41:52] $wgMFAutodetectMobileView = true; " [16:41:54] What else should I do as I can only see header and other content is not visible in Mobile view? [16:42:45] adisha: Welcome! What do you mean with no other content? Is your wiki public? Do you get any error message (JavaScript console, webserver error log)? [16:43:02] I will let you know when I see asadpsalman around here [16:43:02] @notify asadpsalman [16:45:19] No I don't get any error [16:45:26] here is link to my wiki [16:45:35] http://128.199.192.113/mediawiki [16:47:59] adisha: the server response code is 500, so there is somewhere a problem. Please check the server log files for an error message please :) [16:48:18] ok [16:48:26] I will check [16:58:34] here is the error " PHP Fatal error: Call to undefined method ResourceLoader::makeInlineScript() in /var/lib/mediawiki/extensions/MobileFrontend/includes/skins/MinervaTemplate.php on line 344" [16:59:11] @FlorianSW please can you tell me how to solve it. [16:59:28] adisha: do you use the latest master branch of MobileFrontned? :o [16:59:43] which MediaWiki version do you use? [17:00:27] yes I use MobileFrontEnd extension which is specified for Wikimedia 1.25 [17:01:33] MobileFrontend(9cf84b6) [17:02:11] adisha: that doesn't seem to be correct. The line you mention was introduced in MobileFrontend 11 days ago (https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/commit/74394b6ce9f55e2975d97d7f891ce033f7380197) and can't be in the 1.25 release. Can you please download the 1.25 version of MobileFrontend, e.g. from here: https://www.mediawiki.org/wiki/Special:ExtensionDistributor/MobileFrontend [17:02:22] what is your MediaWiki version? I assume 1.25? [17:02:25] adisha: ^^ [17:02:30] yes its 1.25 [17:03:47] adisha: ok, please download MobileFrontend from the given link again (for the 1.25 release) and replace it with the current installed version of MobileFrontend [17:10:25] ok [17:27:06] It worked thanks@florianSW [17:27:08] :) [17:29:27] I am new to contribution in open source I have installed mediawiki and MobileFrontend extension [17:31:06] and I want to work on this bug https://phabricator.wikimedia.org/T103727 [17:31:16] How should I start [18:36:36] adisha: sorry that I haven't answered so far :) a good start is: https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker You need at least a developer access: https://www.mediawiki.org/wiki/Developer_access [18:36:58] I have a devloper access [18:37:15] I am confused a little with file structure [18:37:18] adisha: but for contributing to MediaWiki and/or MobileFrontend or any other extension, you should always work on the latest master branches of MediaWiki core and MobileFrontend :) [18:38:07] ok So I should re-install it? [18:38:18] And I will do it [18:38:39] yes, it should be enough if you: 1. backup your LocalSettings.php and remove the entire MediaWiki directory [18:38:59] According to me I think minerva skin is For mobilFrontend [18:39:00] ? [18:39:13] ok [18:39:22] adisha: yes, but the latest Mobilefrontend will only work for the latest mediawiki core version :) [18:39:47] Ok I am reinstalling it [18:40:02] Then look at https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/core (while you're logged in). You will see a git clone command line. Make sure you have "SSH" selected and use the command to clone mediawiki [18:41:10] now copy back your LocalSettings.php to the root folder of MediaWiki and run the update script [18:42:27] now your mediawiki should be up again (without MobileFrontend). If so, cd to the extensions folder and clone MobileFrontend into it (look at https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/MobileFrontend for the git clone command) [18:43:27] Yes I did that [18:44:42] Actually my network is not that good it will take a little time in cloning [18:45:15] And as I mentioned I want to work on this bug https://phabricator.wikimedia.org/T103727 [18:45:24] adisha: no problem :) Just ping me, when you finished (please without @, simply write FlorianSW so I get notified) :) [18:45:35] ok [18:45:40] thanks [18:45:50] adisha: yes, but you need the latest MediaWiki core to work with the latest version of MobileFrontend, it's a bit confusing :P [18:46:11] yeah..:) [18:46:27] I am enjoying my first contribution actually.. [18:47:10] adisha: that's great! :) [19:40:08] FlorianSW : finally I have cloned to latest version.. :D [19:40:37] ok, so you've a running MediaWiki and you can switch to MobileFrontend, yes? [19:40:46] yes [19:41:36] ok, so, now you should create a new local branch, we normally use the task as a name for it, in your case: cd to your MobileFrontend directory and run: git checkout -b bug/T103727 origin/master [19:42:51] ok I did that [19:43:50] now, any change you make to the files will be tracked in this branch. Now you can start to fix the problem. [19:44:49] Ok thanks [19:44:49] in your case, firstly I would find out, what css class is assigned to the element. You could use the Chrome dev tools to investigate the element, e.g. [19:45:43] if you've any question, feel free to ping me :) [19:46:15] Sure.. and thanks for making process so easy for me.. :D [20:15:49] FlorianSW : https://phab.wmfusercontent.org/file/data/bpgcfnhc3nwbfvmnuudf/PHID-FILE-7nvj3tmxxaktgozgdkyu/qv2ogeilpca6xem2/Screenshot_from_2015-08-24_01%3A38%3A13.png [20:15:51] I think the bug is solved. [20:16:08] Please have a look. [20:16:20] adisha: File Link Has Expired :/ Can you send me the File number (FXXXX)? [20:16:33] ok. [20:19:10] https://drive.google.com/file/d/0B16C1BWsjffGd1d2SnV3OEVQODQ/view?usp=sharing [20:19:47] Actually I dont know how to get file number. [20:20:40] FlorianSW [20:21:02] adisha: it's ok so, thanks :) But that's what I see in Chrome: http://i.imgur.com/0sl02nU.png [20:21:50] I actually only changed locallly. [20:22:34] And I am reading how to submit a patch [20:22:38] ah, ok, now I understand, what you mean, sorry. I thought, that it was already fixed in latest master :D [20:23:04] den I will submit it. [20:23:15] yeah, submitting is easy. First you should commit your change locally. To do that you need to add the files you changed with "git add --all" [20:24:30] now you can run "git commit" to commit the changed files (you need to describe the what you changed in a commit message. The first line will be used as a header/title for the change in gerrit, so keep it short, but informative, the next line should be empty and all other lines will be a longer description, what you've changed and why. [20:25:11] After that you should leave one line blank and then add a line "Bug: TXXXX" where TXXXX is the task you fix with this change, in your case: "Bug: T103727" (without " ;)). [20:25:37] That will instruct gerritbot to mention your change in the task so anyone can see, that the task has a change for review :) [20:25:46] ok [20:25:48] unlike github I will not require to push the change [20:25:49] commiting itself will do it? [20:26:07] adisha: read https://www.mediawiki.org/wiki/Mobile_web/Coding_conventions#Commit_Messages for more infors about commit messages :) [20:26:32] adisha: not really :) After you commited the change you have to push it for review. Do you have git-review installed? [20:27:04] yes [20:27:57] great, then simply run "git review" and that should do anything else :) [20:31:38] adisha: any problems? :) [20:32:06] No. I think I will do it. [20:32:43] Else I will ping you... [20:33:03] great, just to say it now. If you have a change where you want to upload an update (e.g. to apply some comments from reviewers), you should follow https://www.mediawiki.org/wiki/Gerrit/Tutorial#Amending_a_change :) [20:33:42] BTW thanks a lot... :D [20:34:08] np :) [20:34:13] thanks for your help! [20:34:21] :D [21:42:29] FlorianSW : I ammended the change. [21:43:01] adisha: see it :) [21:43:26] adisha: there we go [21:43:57] :)