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:
eec0845
)
Ignore cascading protection for user CSS/JS subpages, as it's obvious that they were...
author
Andrew Garrett
<werdna@users.mediawiki.org>
Sun, 21 Jan 2007 12:43:07 +0000
(12:43 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Sun, 21 Jan 2007 12:43:07 +0000
(12:43 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
205a20f
..
aa4727c
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1148,7
+1148,7
@@
class Title {
return false;
}
- if ( $doExpensiveQueries && $this->isCascadeProtected() ) {
+ if ( $doExpensiveQueries && $this->isCascadeProtected()
&& !$this->isCssJsSubpage()
) {
# 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,