Hi Marco,
try this:
global $wgRequest; $foobar = $wgRequest->getVal('test'); echo $foobar;
Cheers, Jimmy
-----Ursprüngliche Nachricht----- Von: MediaWiki announcements and site admin list mediawiki-l@Wikimedia.org Gesendet: 27.09.06 21:52:07 An: mediawiki-l@Wikimedia.org Betreff: [Mediawiki-l] http get parameters in mediawiki extensions
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello at all,
I searched a lot to get a answer, but I didn't found it.
Is it possible to get the HTTP GET parameters directly to a self made mediawiki extension which is installed in ./extensions?
Something like http://www.domain.tld/wiki/index.php/Mainpage?test=myvalue
Any other solution to get the parameter into the extension?
Greetings from Bern Marco Balmer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFGtZS8JLvhlgYtaoRAit5AJ0dDgWBY/bjHQDyaUaQXE3h6YiWaQCfdrvT WmUlQT57TtIi8yCny5OkBjQ= =J+s0 -----END PGP SIGNATURE----- _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l