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:
6136b2f
)
Use the shinier $wgTitle->isTalkPage(), not the suckier ns/2 thing
author
Rob Church
<robchurch@users.mediawiki.org>
Mon, 1 May 2006 22:39:04 +0000
(22:39 +0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Mon, 1 May 2006 22:39:04 +0000
(22:39 +0000)
skins/Standard.php
patch
|
blob
|
history
diff --git
a/skins/Standard.php
b/skins/Standard.php
index
40fe624
..
30d1a05
100644
(file)
--- a/
skins/Standard.php
+++ b/
skins/Standard.php
@@
-220,7
+220,7
@@
class SkinStandard extends Skin {
}
# "Post a comment" link
- if( ( $
tns % 2
|| $wgOut->showNewSectionLink() ) && $action != 'edit' && !$wpPreview )
+ if( ( $
wgTitle->isTalkPage()
|| $wgOut->showNewSectionLink() ) && $action != 'edit' && !$wpPreview )
$s .= '<br />' . $this->makeKnownLinkObj( $wgTitle, wfMsg( 'postcomment' ), 'action=edit§ion=new' );
#if( $tns%2 && $action!='edit' && !$wpPreview) {