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:
70b54c5
)
Fix bug http://bugzilla.wikipedia.org/show_bug.cgi?id=270
author
Antoine Musso
<hashar@users.mediawiki.org>
Fri, 3 Sep 2004 15:10:05 +0000
(15:10 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Fri, 3 Sep 2004 15:10:05 +0000
(15:10 +0000)
PHPTal skins would not let an user watch a non existent page.
includes/SkinPHPTal.php
patch
|
blob
|
history
diff --git
a/includes/SkinPHPTal.php
b/includes/SkinPHPTal.php
index
5a961a7
..
f265f78
100644
(file)
--- a/
includes/SkinPHPTal.php
+++ b/
includes/SkinPHPTal.php
@@
-450,7
+450,7
@@
class SkinPHPTal extends Skin {
}
}
- if ( $wgUser->getID() != 0 and $action != '
edit' and $action != '
submit' ) {
+ if ( $wgUser->getID() != 0 and $action != 'submit' ) {
if( !$wgTitle->userIsWatching()) {
$content_actions['watch'] = array('class' => ($action == 'watch' or $action == 'unwatch') ? 'selected' : false,
'text' => wfMsg('watch'),