23 if ( !$status->isOK() ) {
26 $conn = $status->getDB();
28 $conn->query(
'CREATE EXTENSION IF NOT EXISTS plpgsql', __METHOD__ );
29 }
catch ( DBQueryError $e ) {
32 return Status::newGood();
Enable PL/pgSQL in the wiki's database if necessary.
execute()
Execute the task.
getName()
Get the symbolic name of the task.
A class containing constants representing the names of configuration variables.
const DBname
Name constant for the DBname setting, for use with Config::get()
Dependency bundle and execution context for installer tasks.