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:
8d41084
)
Don't bother including the ajax watch localizations for anon users. Should save a...
author
Brion Vibber
<brion@users.mediawiki.org>
Thu, 5 Jul 2007 17:51:37 +0000
(17:51 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Thu, 5 Jul 2007 17:51:37 +0000
(17:51 +0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
05dd7d2
..
3feb583
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-335,7
+335,7
@@
class Skin extends Linker {
$vars['wgLivepreviewMessageError'] = wfMsg( 'livepreview-error' );
}
- if($wgUseAjax && $wgAjaxWatch) {
+ if($wgUseAjax && $wgAjaxWatch
&& $wgUser->isLoggedIn()
) {
$msgNames = array( 'watch', 'unwatch', 'watching', 'unwatching' );
$msgs = (object)array();
foreach ( array( 'watch', 'unwatch', 'watching', 'unwatching' ) as $msgName ) {