Any chance that this extension is going to be updated to be compatible with MW 1.27+
Extension talk:SSLClientAuthentication
Appearance
Debugging the issue with:
$pageDesc=$page->getDescription();
if (gettype($pageDesc)!="string") {
wfErrorLog( "page description is: ".$pageDesc.":".gettype($pageDesc)."\n", '/tmp/wfWikiDebug.log' );
} else {
$groups[$group][(string)$pageDesc] = array(
$page->getPageTitle(),
$page->isRestricted(),
$page->isCached()
);
shows:
page description is: SSL-Client-Authentifizierung aktivieren:object
so we need to modify getDescripton to return a string an not an object:
/source/php/mediawiki/extensions/SSLClientAuthentication>git diff SpecialClientSSL.php
diff --git a/extensions/SSLClientAuthentication/SpecialClientSSL.php b/extension
index df5c8ff..5f12a5e 100644
--- a/extensions/SSLClientAuthentication/SpecialClientSSL.php
+++ b/extensions/SSLClientAuthentication/SpecialClientSSL.php
@@ -93,7 +93,7 @@ class SpecialClientSSL extends FormSpecialPage {
function getDescription() {
// Give grep a chance to find the usages: sslauth-title-enable,
$action = $this->enabled ? 'disable' : 'enable';
- return $this->msg( "sslauth-title-$action" );
+ return (string)$this->msg( "sslauth-title-$action" );
}
To use this extension, SSL standard variables are needed on the Web server. I is easy for Apache, but I didn’t find a equivalent for nginx, so I created this interface layer on https://github.com/Seb35/nginx-ssl-variables. It adds the variables needed for this extension (SSL_CLIENT_*) and all other variables which can be accessed thanks to nginx + Lua-OpenSSL.
There are no older topics