Hi all,
I want lo load in a mediawiki using extensions some mini aplications, but i have a problem:
One of my javascript file load a php file (path is definited in the javascript file). My aplication work standalone, but if i try to load in media wiki using an extension (made by me), don't work.
example:
all links are resul from Firebug:
standalone path is: http://localhost/test/php/load.php?action=initialLoad
extension mediawiki:
http://localhost/mediawiki/index.php/php/load.php?action=initialLoad
how can i make mediawiki to load something like that:
http://localhost/mediawiki/extensions/dht/php/load.php?action=initialLoad
Thanks all! Geo
George Alexandru Dudău wrote:
Hi all,
I want lo load in a mediawiki using extensions some mini aplications, but i have a problem:
One of my javascript file load a php file (path is definited in the javascript file). My aplication work standalone, but if i try to load in media wiki using an extension (made by me), don't work.
example:
all links are resul from Firebug:
standalone path is: http://localhost/test/php/load.php?action=initialLoad
extension mediawiki:
http://localhost/mediawiki/index.php/php/load.php?action=initialLoad
how can i make mediawiki to load something like that:
http://localhost/mediawiki/extensions/dht/php/load.php?action=initialLoad
Thanks all! Geo
Cosntruct an absolute path. You can guess from $wgScriptPath, make it a variable for our extension...
:) A friend told me RTFM.
So i read the manual and i found $wgAutoloadClasses.
Thanks all. Geo
Pe 16.05.2010 00:27, George Alexandru Dudău a scris:
Hi all,
I want lo load in a mediawiki using extensions some mini aplications, but i have a problem:
One of my javascript file load a php file (path is definited in the javascript file). My aplication work standalone, but if i try to load in media wiki using an extension (made by me), don't work.
example:
all links are resul from Firebug:
standalone path is: http://localhost/test/php/load.php?action=initialLoad
extension mediawiki:
http://localhost/mediawiki/index.php/php/load.php?action=initialLoad
how can i make mediawiki to load something like that:
http://localhost/mediawiki/extensions/dht/php/load.php?action=initialLoad
Thanks all! Geo
mediawiki-l@lists.wikimedia.org