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:
08d29e0
)
Also checking if the user can create the page if not exist, not only if he can edit...
author
Rotem Liss
<rotem@users.mediawiki.org>
Sat, 1 Jul 2006 12:07:47 +0000
(12:07 +0000)
committer
Rotem Liss
<rotem@users.mediawiki.org>
Sat, 1 Jul 2006 12:07:47 +0000
(12:07 +0000)
includes/SkinTemplate.php
patch
|
blob
|
history
diff --git
a/includes/SkinTemplate.php
b/includes/SkinTemplate.php
index
ce24659
..
6657d38
100644
(file)
--- a/
includes/SkinTemplate.php
+++ b/
includes/SkinTemplate.php
@@
-622,7
+622,7
@@
class SkinTemplate extends Skin {
true);
wfProfileIn( "$fname-edit" );
- if ( $this->mTitle->userCanEdit() ) {
+ if ( $this->mTitle->userCanEdit()
&& ( $this->mTitle->exists() || $this->mTitle->userCanCreate() )
) {
$istalk = $this->mTitle->isTalkPage();
$istalkclass = $istalk?' istalk':'';
$content_actions['edit'] = array(