r97156 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r97155
|
r97156
|
r97157
>
Date:
15:04, 15 September 2011
Author:
ialex
Status:
ok
Tags:
Comment:
Use local context instead of global variables
Modified paths:
/trunk/phase3/includes/specials/SpecialWithoutinterwiki.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/specials/SpecialWithoutinterwiki.php
—
—
@@ -35,8 +35,8 @@
36
36
}
37
37
38
38
function execute( $par ) {
39
- global $wgRequest;
40
- $this->prefix = Title::capitalize( $wgRequest->getVal( 'prefix', $par ), NS_MAIN );
39
+ $this->prefix = Title::capitalize(
40
+ $this->getRequest()->getVal( 'prefix', $par ), NS_MAIN );
41
41
parent::execute( $par );
42
42
}
43
43
Follow-up revisions
Revision
Commit summary
Author
Date
r97173
Merged revisions 97087,97091-97092,97094,97096-97098,97100-97101,97103,97136,...
dantman
16:19, 15 September 2011
Status & tagging log
15:04, 15 September 2011
😂
(
talk
|
contribs
)
changed the
status
of r97156
[
removed:
new
added:
ok]