* @return string
*/
public function execute() {
- if ( $this->parent->request->wasPosted() ) {
- if ( $this->getVar( '_Environment' ) ) {
- return 'continue';
- }
+ if ( $this->parent->request->wasPosted() && $this->getVar( '_Environment' ) ) {
+ return 'continue';
}
$this->parent->output->addWikiTextAsInterface( wfMessage( 'config-welcome' )->plain() );
$status = $this->parent->doEnvironmentChecks();
if ( $status->isGood() ) {
$this->parent->output->addHTML( '<span class="success-message">' .
wfMessage( 'config-env-good' )->escaped() . '</span>' );
- $this->parent->output->addWikiTextAsInterface( wfMessage( 'config-copyright',
- SpecialVersion::getCopyrightAndAuthorList() )->plain() );
+ $this->parent->output->addWikiTextAsInterface(
+ wfMessage( 'config-welcome-section-copyright',
+ SpecialVersion::getCopyrightAndAuthorList(),
+ wfExpandUrl( $this->parent->getDocUrl( 'Copying' ) )
+ )->plain()
+ );
$this->startForm();
$this->endForm();
} else {