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:
4360455
)
MediaWiki messages show content on view and edit even if they don't actually exist...
author
Platonides
<platonides@users.mediawiki.org>
Fri, 16 Apr 2010 22:29:11 +0000
(22:29 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Fri, 16 Apr 2010 22:29:11 +0000
(22:29 +0000)
includes/SkinTemplate.php
patch
|
blob
|
history
diff --git
a/includes/SkinTemplate.php
b/includes/SkinTemplate.php
index
86bcc8a
..
32b6474
100644
(file)
--- a/
includes/SkinTemplate.php
+++ b/
includes/SkinTemplate.php
@@
-703,7
+703,7
@@
class SkinTemplate extends Skin {
$istalkclass = $istalk?' istalk':'';
$content_actions['edit'] = array(
'class' => ( ( ( $action == 'edit' or $action == 'submit' ) and $section != 'new' ) ? 'selected' : '' ) . $istalkclass,
- 'text' =>
$this->mTitle->exists(
)
+ 'text' =>
( $this->mTitle->exists() || ( $this->mTitle->getNamespace() == NS_MEDIAWIKI )
)
? wfMsg( 'edit' )
: wfMsg( 'create' ),
'href' => $this->mTitle->getLocalUrl( $this->editUrlOptions() )