Public feed
#377893
# OpenID extension
require_once("$IP/extensions/OpenID/OpenID.php");
#$wgTrustRoot = "http://www.domain.org/wiki/index.php/";
$wgOpenIDConsumerDenyByDefault = false;
#$wgMainCacheType = CACHE_ANYTHING;
$wgOpenIDConsumerStoreType = "file";
$wgOpenIDConsumerStorePath = "/var/tmp/wiki-openid-consumer.store";
$wgOpenIDServerStoreType = "file";
$wgOpenIDServerStorePath = "/var/tmp/wiki-openid-server.store";
/*
== Configuration ==
The administrator can configure these variables in the
LocalSettings.php file. Please read carefully.
* $wgTrustRoot -- This is an URL that identifies your site to OpenID
servers. Typically, it's the "root" url of the site, like
"http://en.wikipedia.org/" or "http://wikitravel.org/it/". If this is
not set, the software will make a half-hearted guess, but it's not
very good and you should probably just set it.
* $wgOpenIDConsumerDenyByDefault -- The administrator can decide which
OpenIDs are allowed to login to their server. If this flag is
true, only those OpenIDs that match one of the $wgOpenIDConsumerAllow
and not one of the $wgOpenIDConsumerDeny patterns will be allowed to
log in. If it is false, all OpenIDs are allowed to log in, unless
they are matched by an $wgOpenIDConsumerDeny pattern and not an
$wgOpenIDConsumerAllow. Typically you'll set this to true for
testing and then false for general use.
* $wgOpenIDConsumerAllow -- an array of regular expressions that match
OpenIDs you want to allow to log in. For example,
"@^(http://)?wikitravel.org/@" will allow OpenIDs from the Wikitravel
domain.
* $wgOpenIDConsumerDeny -- an array of regular expressions that match
OpenIDs you want to deny access to. This is mostly useful for
servers that are known to be bad. Example: "#^(http://)?example.com/#".
* $wgOpenIDServerForceAllowTrust -- an array of regular expressions
that match trust roots that you want to skip trust checks for when
the user logs in from those sites. A typical example would be a
closely federated cluster of sites (like Wikimedia, Wikia, or
Wikitravel) where the personal data is available to the trusting
server ''anyways''. Be very careful using this across organizational
boundaries.
* $wgOpenIDConsumerStoreType and $wgOpenIDServerStoreType -- strings
denoting the type of storage to be used to store OpenID assocation
data when acting as an OpenID relying party (consumer) and server,
respectively. Valid values are "file" and "memc". If the value for
one or both is "file", $wgOpenIDConsumerStorePath or
$wgOpenIDServerStorePath must be set, respectively (see below). If
either of these variables is set to an invalid value, an error page
will be displayed.
* $wgOpenIDConsumerStorePath and $wgOpenIDServerStorePath -- strings
specifying the paths where OpenID assocation data should be stored
when acting as a relying party (consumer) or server, respectively.
Each of these need only be set if the store type settings (above)
are set to "file", respectively. These strings, if both are set,
MUST NOT be equal.
*/