43 lines
721 B
Markdown
43 lines
721 B
Markdown
# Windows Installation (No Docker)
|
|
|
|
## 1. Install prerequisites
|
|
|
|
- Git
|
|
- Node.js 20+
|
|
- PHP 8.1+ with required extensions for MediaWiki
|
|
- One database option:
|
|
- SQLite for fast local tests, or
|
|
- MariaDB/MySQL for production-like behavior
|
|
|
|
## 2. Install project dependencies
|
|
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
## 3. Fetch MediaWiki source
|
|
|
|
```bash
|
|
npm run mw:init
|
|
```
|
|
|
|
Default branch is REL1_43 in scripts/mw-init.ps1. Adjust if needed.
|
|
|
|
## 4. Start local server
|
|
|
|
```bash
|
|
npm run dev
|
|
```
|
|
|
|
Open http://127.0.0.1:8080 and complete the MediaWiki web installer.
|
|
|
|
## 5. Save LocalSettings.php
|
|
|
|
After installer completion, place generated LocalSettings.php in mediawiki/.
|
|
|
|
## 6. Run accessibility checks
|
|
|
|
```bash
|
|
npm run a11y:all
|
|
```
|