Skip to content

Conversation

@Atmois
Copy link
Collaborator

@Atmois Atmois commented Nov 26, 2025

Summary by Sourcery

Restructure the MediaWiki deployment into a generic, env‑driven containerized wiki image with modular configs and task automation, and document how to deploy and operate it.

New Features:

  • Add comprehensive deployment, environment variable, directory layout, and just-command documentation for running the wiki in local, staging, and production environments.
  • Introduce modular Justfile structure with commands for environment setup, container lifecycle management, MediaWiki initialization, schema updates, status checks, and OpenSearch indexing workflows.
  • Add configurable integrations for S3-backed file storage, Cloudflare Turnstile CAPTCHA, Discord notifications, OpenID Connect SSO, CirrusSearch/OpenSearch search backend, and other MediaWiki extensions.

Enhancements:

  • Refactor Dockerfile and file layout to use a unified /var/www/wiki structure, php-extension-installer, additional system dependencies, and improved sitemap/cache handling.
  • Generalize core MediaWiki configuration to use environment variables for SMTP, HTTPS behaviour, cache directories, diff engine, and CDN/IP handling, and switch Redis references to Valkey.
  • Rename and reorganize configuration, composer, and NGINX files under wiki/, and update project metadata and licensing headers to reflect All Things Linux and contributors.
  • Add PHPCS configuration to enforce PSR-12 on wiki PHP code and improve minor PHP style/lint issues across config files.

Build:

  • Add a Docker Build GitHub Actions workflow to ensure the MediaWiki image builds successfully on pull requests.

CI:

  • Add GitHub Actions workflows to lint PHP with PHPCS/PHPCBF, lint Python with Pylint, and lint the Dockerfile with Hadolint, including automatic fixing and commit of PHPCS issues on non-fork PRs.

Documentation:

  • Replace the placeholder README with detailed deployment instructions, environment variable reference, project layout diagrams, just-command reference, administrator notes, and upstream dependency attribution.

coderabbitai[bot]

This comment was marked as outdated.

@Atmois Atmois marked this pull request as ready for review January 9, 2026 12:27
sourcery-ai[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as outdated.

coderabbitai[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as outdated.

coderabbitai[bot]

This comment was marked as outdated.

coderabbitai[bot]

This comment was marked as outdated.

coderabbitai[bot]

This comment was marked as outdated.

@Atmois Atmois merged commit 7570a11 into main Jan 11, 2026
6 checks passed
@Atmois Atmois deleted the 1.2 branch January 11, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants