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:
e95815d
)
Only start new session for anon users on submit, not edit
author
Tom Gilder
<tomgilder@users.mediawiki.org>
Tue, 18 Jan 2005 11:51:25 +0000
(11:51 +0000)
committer
Tom Gilder
<tomgilder@users.mediawiki.org>
Tue, 18 Jan 2005 11:51:25 +0000
(11:51 +0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
58a794b
..
dcfbed9
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-151,11
+151,13
@@
if( !$wgDisableInternalSearch && !is_null( $search ) && $search !== '' ) {
require_once( "includes/Credits.php" );
showCreditsPage( $wgArticle );
break;
- case "edit":
case "submit":
if( !$wgCommandLineMode && !$wgRequest->checkSessionCookie() ) {
+ # Send a cookie so anons get talk message notifications
User::SetupSession();
}
+ # Continue...
+ case "edit":
require_once( "includes/EditPage.php" );
$editor = new EditPage( $wgArticle );
$editor->submit();