On Sat, Mar 15, 2008 at 5:55 PM, <65s.mg(a)atlas.cz> wrote:
Hello all. I'd like to ask how can I globally set
global variable via a special page. When I use
$wgGlobalVar=$this->mRequest->getVal('name_of_field'); it's set only for
current session. How can I set it globally? Thanks for any suggestions. -MG
1) Add a line to LocalSettings.php (eek).
2) Store it in the database, and use a hook early on to do a database
query to retrieve the correct value and initialize the variable.