dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddcfd82
)
Fix fatal error. Logged on WM but exact cause uncertain.
author
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 19 Jun 2009 03:27:04 +0000
(
03:27
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 19 Jun 2009 03:27:04 +0000
(
03:27
+0000)
includes/SkinTemplate.php
patch
|
blob
|
history
diff --git
a/includes/SkinTemplate.php
b/includes/SkinTemplate.php
index
6c5dd53
..
1631cfd
100644
(file)
--- a/
includes/SkinTemplate.php
+++ b/
includes/SkinTemplate.php
@@
-707,7
+707,7
@@
class SkinTemplate extends Skin {
);
// adds new section link if page is a current revision of a talk page or
- if ( ( $wgArticle->isCurrent() && $istalk ) || $wgOut->showNewSectionLink() ) {
+ if ( ( $wgArticle
&& $wgArticle
->isCurrent() && $istalk ) || $wgOut->showNewSectionLink() ) {
if ( !$wgOut->forceHideNewSectionLink() ) {
$content_actions['addsection'] = array(
'class' => $section == 'new' ? 'selected' : false,