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:
7bfebad
)
Follow up r70498. Actually remove the quickUserCan().
author
Platonides
<platonides@users.mediawiki.org>
Thu, 5 Aug 2010 14:46:14 +0000
(14:46 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Thu, 5 Aug 2010 14:46:14 +0000
(14:46 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
6efa1f2
..
961974b
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-3701,12
+3701,6
@@
class Parser {
$doNumberHeadings = $this->mOptions->getNumberHeadings();
-
- # Do not call quickUserCan unless necessary
- if ( $showEditLink && !$this->mTitle->quickUserCan( 'edit' ) ) {
- $showEditLink = 0;
- }
-
# Inhibit editsection links if requested in the page
if ( isset( $this->mDoubleUnderscores['noeditsection'] ) ) {
$showEditLink = 0;