On Wed, Oct 22, 2008 at 4:37 PM, 65s.mg@atlas.cz wrote:
It's $_SERVER['HTTP_REFERRER'] or something like that in PHP I guess. You can always try print_r($_SERVER);
You mean "HTTP_REFERER", right? Spelling counts on the web, but not necessarily *correct* spelling. :P
I think $wgRequest->getHeader( 'referer' ) should get what you want, although it seems to have a bunch of extra logic that probably you don't need.