Thanks, that worked!
On Fri, Jan 27, 2012 at 3:50 PM, Platonides <Platonides(a)gmail.com> wrote:
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... :)
______________________________**_________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/**mailman/listinfo/wikitech-l<https://lists.…