r86043 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r86042
|
r86043
|
r86044
>
Date:
11:58, 14 April 2011
Author:
nikerabbit
Status:
ok (
Comments
)
Tags:
Comment:
Fix regression introduced in
r82451
. Only happens when getAllHeaders was not called before LanguageSelector hook was executed, not sure in which conditions this happens or not.
Modified paths:
/trunk/phase3/includes/WebRequest.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/WebRequest.php
—
—
@@ -734,6 +734,7 @@
735
735
* @param $name String: case-insensitive header name
736
736
*/
737
737
public function getHeader( $name ) {
738
+ $this->initHeaders();
738
739
$name = strtoupper( $name );
739
740
if ( isset( $this->headers[$name] ) ) {
740
741
return $this->headers[$name];
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r82451
Merged retrieval of request URL and header from WebRequest and Setup.php to a...
ialex
13:09, 19 February 2011
Comments
#
Comment by
IAlex
(
talk
|
contribs
)
12:10, 14 April 2011
Thanks for the fix!
Status & tagging log
01:00, 21 June 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r86043
[
removed:
new
added:
ok]