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:
c1b858e
)
Reorder conditions from Werdna's previous commit; shortcut if not a user CSS/JS subpa...
author
Rob Church
<robchurch@users.mediawiki.org>
Sun, 21 Jan 2007 13:47:11 +0000
(13:47 +0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Sun, 21 Jan 2007 13:47:11 +0000
(13:47 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
aa4727c
..
62080d8
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1148,7
+1148,7
@@
class Title {
return false;
}
- if ( $doExpensiveQueries &&
$this->isCascadeProtected() && !$this->isCssJsSubpage
() ) {
+ if ( $doExpensiveQueries &&
!$this->isCssJsSubpage() && $this->isCascadeProtected
() ) {
# We /could/ use the protection level on the source page, but it's fairly ugly
# as we have to establish a precedence hierarchy for pages included by multiple
# cascade-protected pages. So just restrict it to people with 'protect' permission,