r70020 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r70019
|
r70020
|
r70021
>
Date:
17:23, 27 July 2010
Author:
siebrand
Status:
ok
Tags:
Comment:
Partial revert of
r69883
. Broke page deletion because of missing global.
Nikerabbit suggested complete revert of
r69883
.
Modified paths:
/trunk/phase3/includes/Article.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Article.php
—
—
@@ -2913,6 +2913,8 @@
2914
2914
2915
2915
// If the page has a history, insert a warning
2916
2916
if ( $hasHistory && !$confirm ) {
2917
+ global $wgLang;
2918
+
2917
2919
$skin = $wgUser->getSkin();
2918
2920
$revisions = $this->estimateRevisionCount();
2919
2921
//FIXME: lego
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r69883
Mark used $wgUser as global....
platonides
17:56, 25 July 2010
Status & tagging log
09:56, 21 November 2010
Hashar
(
talk
|
contribs
)
changed the
status
of r70020
[
removed:
new
added:
ok]