Le 22/05/13 21:36, Daniel Friesen a écrit :
What's your problem with WebRequest anyways?
My only problem is that it is MediaWiki specific. I am still hoping we
will slowly move to reuse third party components which will make it
easier for experienced developers to join us without having to learn
Hey,
I'd like to load MediaWiki from some PHP script and have not been able to
find a way to do this so far.
After someone suggested trying to do this as a maintenance script, I tried
http://pastebin.com/scKFxF2J
That however does not work as there is a check in doMaintenance.php
What exactly do you mean by load MediaWiki? What's the use case? Maybe
try making your own entry point?
*-- *
*Tyler Romeo*
Stevens Institute of Technology, Class of 2015
Major in Computer Science
www.whizkidztech.com | tylerro...@gmail.com
On Wed, May 22, 2013 at 11:16 AM, Jeroen De Dauw
Making entry points isn't straightforward (which is why I suggested
maintenance), but it can be done.
We really need to cleanup the bootstrap process.
-Chad
On May 22, 2013 8:48 AM, Tyler Romeo tylerro...@gmail.com wrote:
What exactly do you mean by load MediaWiki? What's the use case? Maybe
On Wed, 22 May 2013 08:50:51 -0700, Chad innocentkil...@gmail.com wrote:
Making entry points isn't straightforward (which is why I suggested
maintenance), but it can be done.
We really need to cleanup the bootstrap process.
Hey,
Making entry points isn't straightforward (which is why I suggested
maintenance), but it can be done.
We really need to cleanup the bootstrap process.
So you are saying it currently is not possible and that a new entry point
needs to be created?
If so, is there any way to get such a
On Wed, May 22, 2013 at 9:05 AM, Jeroen De Dauw jeroended...@gmail.com wrote:
Hey,
Making entry points isn't straightforward (which is why I suggested
maintenance), but it can be done.
We really need to cleanup the bootstrap process.
So you are saying it currently is not possible and that
Hey,
I hacked up something extremely evil which is now working for my usecase:
http://pastebin.com/WcT1MPNv
Clearly this is far from ideal since my code should not know about MW
internal at all, it should just include some entry point file.
One fun thing I had to do was stuff all local
http://www.mediawiki.org/wiki/File:Mediawiki-vagrant-screenshot.png
Does this help?
On Wed, May 22, 2013 at 10:17 PM, Jeroen De Dauw jeroended...@gmail.comwrote:
Hey,
I hacked up something extremely evil which is now working for my usecase:
http://pastebin.com/WcT1MPNv
Clearly this is
Hey,
Another problem with this current approach is that it will cause extensions
to be loaded, which I have no use for. This however seems hard to get
around due to LocalSettings both defining needed config and including the
extensions.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic.
On Wed, 22 May 2013 09:47:14 -0700, Jeroen De Dauw
jeroended...@gmail.com wrote:
Hey,
I hacked up something extremely evil which is now working for my usecase:
http://pastebin.com/WcT1MPNv
Looks like we just need to abstract most of WebStart.php and part of
doMaintenance into something
Le 22/05/13 17:57, Daniel Friesen a écrit :
On Wed, 22 May 2013 08:50:51 -0700, Chad innocentkil...@gmail.com wrote:
Making entry points isn't straightforward (which is why I suggested
maintenance), but it can be done.
We really need to cleanup the bootstrap process.
On Wed, May 22, 2013 at 1:12 PM, Daniel Friesen
dan...@nadir-seen-fire.comwrote:
Looks like we just need to abstract most of WebStart.php and part of
doMaintenance into something like includes/Start.php to support things that
are neither web nor maintenance.
Honestly, why don't we just move
On Wed, 22 May 2013 11:18:29 -0700, Tyler Romeo tylerro...@gmail.com
wrote:
On Wed, May 22, 2013 at 1:12 PM, Daniel Friesen
dan...@nadir-seen-fire.comwrote:
Looks like we just need to abstract most of WebStart.php and part of
doMaintenance into something like includes/Start.php to support
On Wed, 22 May 2013 11:17:13 -0700, Antoine Musso hashar+...@free.fr
wrote:
Le 22/05/13 17:57, Daniel Friesen a écrit :
On Wed, 22 May 2013 08:50:51 -0700, Chad innocentkil...@gmail.com
wrote:
Making entry points isn't straightforward (which is why I suggested
maintenance), but it can be
Hey,
* WebRequest does much more than routing
:(
so it's not going to disappear.
:((
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
On Wed, 22 May 2013 12:31:50 -0700, Jeroen De Dauw
jeroended...@gmail.com wrote:
Hey,
* WebRequest does much more than routing
:(
so it's not going to disappear.
:((
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--
What's your problem with WebRequest
On May 22, 2013 3:36 PM, Daniel Friesen dan...@nadir-seen-fire.com
wrote:
On Wed, 22 May 2013 12:31:50 -0700, Jeroen De Dauw jeroended...@gmail.com
wrote:
Hey,
* WebRequest does much more than routing
:(
so it's not going to disappear.
:((
Cheers
--
Jeroen De Dauw
18 matches
Mail list logo