A Wikipedia clone for mathematics with advanced features for collaborative editing, authority-based content management, and source verification.
- Nix (for development environment)
- MariaDB/MySQL
- PHP 8.1+
- Composer
-
Enter Nix shell:
nix-shell
-
Setup database:
./setup-mediawiki.sh
-
Start PHP server:
./start-mediawiki.sh
-
Complete MediaWiki installation:
- Open http://localhost:8080 in your browser
- Follow the installation wizard
- Database credentials:
- Host: 127.0.0.1
- Database: wikidb
- User: wikiuser
- Password: wikipass
-
Setup database tables for extensions:
mysql -u wikiuser -pwikipass wikidb < setup-database.sql -
Enable extensions in LocalSettings.php: The extensions are already configured in LocalSettings.php
mathspedia/
├── mediawiki/ # MediaWiki installation (created during setup)
│ ├── extensions/ # Custom extensions
│ └── LocalSettings.php # Configuration
├── setup-database.sql # Database schema
├── docker-compose.yml # Docker setup (optional)
└── shell.nix # Nix development environment
GPL-2.0-or-later