On 27/01/12 21:22, Vance - wrote:
Is there a way to look up the value of a variable defined in the 'LocalSettings.php' file ?
Inside an extension? Sure. global $wgDBpassword, $wgOut;
$wgOut->addHTML("The database password is $wgDBpassword");
If you mean from the wiki, no. You can't do {{#getMyVariable: $wgDBpassword}} and magically obtain the password.
You _could_ create an extension which did that, but it wouldn't be a good idea... :)