Last modified: 2010-05-15 15:56:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6291 - eliminate old $HTTP_SERVER_VARS
eliminate old $HTTP_SERVER_VARS
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.6.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-13 09:48 UTC by FrankSchweickert
Modified: 2010-05-15 15:56 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description FrankSchweickert 2006-06-13 09:48:13 UTC
One should replace in portal.php, line 14 and 15

if ( isset ( $HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"] ) )
	$userlang = $HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"] ;

by

if ( isset ( $_SERVER["HTTP_ACCEPT_LANGUAGE"] ) )
	$userlang = $_SERVER["HTTP_ACCEPT_LANGUAGE"] ;


Regards,
Frank
Comment 1 Brion Vibber 2006-06-13 18:46:59 UTC
There is no portal.php in MediaWiki.... or there shouldn't be. 
Where the hell did this come from?

Removed file entirely.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links