dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First version of Page Language selector
[lhc/web/wiklou.git]
/
includes
/
Setup.php
diff --git
a/includes/Setup.php
b/includes/Setup.php
index
6003305
..
783ef3f
100644
(file)
--- a/
includes/Setup.php
+++ b/
includes/Setup.php
@@
-388,6
+388,11
@@
if ( $wgNewUserLog ) {
$wgLogActionsHandlers['newusers/autocreate'] = 'NewUsersLogFormatter';
}
$wgLogActionsHandlers['newusers/autocreate'] = 'NewUsersLogFormatter';
}
+if ( $wgPageLanguageUseDB ) {
+ $wgLogTypes[] = 'pagelang';
+ $wgLogActionsHandlers['pagelang/pagelang'] = 'PageLangLogFormatter';
+}
+
if ( $wgCookieSecure === 'detect' ) {
$wgCookieSecure = ( WebRequest::detectProtocol() === 'https' );
}
if ( $wgCookieSecure === 'detect' ) {
$wgCookieSecure = ( WebRequest::detectProtocol() === 'https' );
}