Index: trunk/phase3/includes/installer/WebInstaller.php |
— | — | @@ -238,7 +238,7 @@ |
239 | 239 | /** |
240 | 240 | * Get the value of session.save_path |
241 | 241 | * |
242 | | - * Per http://www.php.net/manual/en/ref.session.php#ini.session.save-path, |
| 242 | + * Per http://www.php.net/manual/en/session.configuration.php#ini.session.save-path, |
243 | 243 | * this might have some additional preceding parts which need to be |
244 | 244 | * ditched |
245 | 245 | * |
— | — | @@ -803,7 +803,7 @@ |
804 | 804 | } |
805 | 805 | } |
806 | 806 | |
807 | | -class WebInstallerPage { |
| 807 | +abstract class WebInstallerPage { |
808 | 808 | function __construct( $parent ) { |
809 | 809 | $this->parent = $parent; |
810 | 810 | } |
— | — | @@ -863,15 +863,7 @@ |
864 | 864 | return array_search( $this->getName(), $this->parent->pageSequence ); |
865 | 865 | } |
866 | 866 | |
867 | | - function execute() { |
868 | | - if ( $this->parent->request->wasPosted() ) { |
869 | | - return 'continue'; |
870 | | - } else { |
871 | | - $this->startForm(); |
872 | | - $this->addHTML( 'Mockup' ); |
873 | | - $this->endForm(); |
874 | | - } |
875 | | - } |
| 867 | + abstract function execute(); |
876 | 868 | |
877 | 869 | function getVar( $var ) { |
878 | 870 | return $this->parent->getVar( $var ); |
Index: trunk/phase3/includes/installer/LocalSettingsGenerator.php |
— | — | @@ -7,7 +7,7 @@ |
8 | 8 | private $installer; |
9 | 9 | |
10 | 10 | /** |
11 | | - * Construtor. |
| 11 | + * Constructor. |
12 | 12 | * @param $installer Installer subclass |
13 | 13 | */ |
14 | 14 | public function __construct( Installer $installer ) { |
— | — | @@ -263,4 +263,4 @@ |
264 | 264 | \$wgCacheEpoch = max( \$wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) ); |
265 | 265 | "; |
266 | 266 | } |
267 | | -} |
\ No newline at end of file |
| 267 | +} |