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:
e0deba7
)
fix crash when trying to edit a protected namespace
author
Ilmari Karonen
<vyznev@users.mediawiki.org>
Tue, 7 Aug 2007 16:12:14 +0000
(16:12 +0000)
committer
Ilmari Karonen
<vyznev@users.mediawiki.org>
Tue, 7 Aug 2007 16:12:14 +0000
(16:12 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
70628c8
..
2281fa8
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1096,6
+1096,7
@@
class Title {
* @return array Array of arrays of the arguments to wfMsg to explain permissions problems.
*/
private function getUserPermissionsErrorsInternal( $action, $user, $doExpensiveQueries = true ) {
+ global $wgContLang;
$fname = 'Title::userCan';
wfProfileIn( $fname );