User talk:Liangent

Rendered with Parsoid
From Wikitech
Latest comment: 9 years ago by Negative24 in topic MediaWiki hosting on tools

Completing project documentation

This is regarding the announcement (http://lists.wikimedia.org/pipermail/labs-l/2014-July/002762.html) if you have missed it.

We have added some fields in addition to description field which is already there on your projects. Please click "Edit Documentation" in your project page/projects pages and fill the blanks. It will only take few minutes from your valuable time.

If you have any comments or suggestion on the form please let me know.Thanks in advance!--Sandaru (talk) 16:59, 24 July 2014 (UTC)Reply

MediaWiki hosting on tools

I am trying to figure out how to get MediaWiki to work on tools and I heard you had an instance running successfully. Could you give a little info on how you did it? Reply here when you get the chance. Thanks, -24Talk 20:29, 4 August 2014 (UTC)Reply

-24: Installing a standalone MediaWiki would be straightforward. I assume you want your MediaWiki installation connected to the replicated database. In my installation, https://github.com/liangent/mediawiki-extensions-Labs (and some patches against MediaWiki, primarily to add hooks and to disable unusable stuff) is the core. If you want to take it as a reference and build your own, go for it; if you just want to use it, maybe I can post some more detailed instructions later. liangent (talk) 17:21, 10 August 2014 (UTC)Reply
Liangent: Actually we're getting hung up on a php error. It seems that whenever a LocalSettings.php gets uploaded, the index.php page only shows a blank screen. Refer to this bug. -24Talk 21:31, 10 August 2014 (UTC)Reply
-24: It appears http://tools.wmflabs.org/custom-utils/mediawiki/index.php?title=Main_Page is working except for one issue that the port is not detected correctly (try setting $wgServer to fix). liangent (talk) 03:38, 11 August 2014 (UTC)Reply
Liangent: I was just using the auto config settings that were set in the MW install. What port should I set it to. The regular http port? -24Talk 14:37, 11 August 2014 (UTC)Reply
Liangent: It seems that setting $wgServer without a port fixed it. Now I have to figure out what in MW set it to 4066. -24Talk 14:41, 11 August 2014 (UTC)Reply
-24: Because your webservice IS running on a webserver using that port (and on a webgrid node every user is using a unique port). From the internal side, your webservice is at http://tools-webgrid-02:4066/ and the proxy at http://tools.wmflabs.org/ forwards requests there if /custom-utils is requested. liangent (talk) 15:03, 11 August 2014 (UTC)Reply
Liangent Good to know. Thanks for the help. I'll write some documentation on this. -24Talk 15:11, 11 August 2014 (UTC)Reply