承接 professional-wiki/page-approvals 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

professional-wiki/page-approvals

Composer 安装命令:

composer require professional-wiki/page-approvals

包简介

Quality control for MediaWiki. Approve pages, assign approvers to categories, view your approval requests, and see the approval status of pages.

README 文档

README

GitHub Workflow Status Type Coverage Psalm level Latest Stable Version Download count

Quality control for your wiki. Mark pages as approved or request review from approvers. Read more in the Page Approvals documentation.

Table of Contents

Professional Wiki created this extension and provides MediaWiki Development, MediaWiki Hosting, and MediaWiki Consulting services.

Usage Documentation

See the Page Approvals usage documentation.

Image

Installation

Platform requirements:

  • PHP 8.1 or later (tested up to 8.3)
  • MediaWiki 1.39 or later (1.43 needed for the latest version, tested up to 1.45)

The recommended way to install the Page Approvals extension is with Composer and MediaWiki's built-in support for Composer.

On the command line, go to your wiki's root directory. Then run these two commands:

COMPOSER=composer.local.json composer require --no-update professional-wiki/page-approvals:~2.0
composer update professional-wiki/page-approvals --no-dev -o

Then enable the extension by adding the following to the bottom of your wikis LocalSettings.php file:

wfLoadExtension( 'PageApprovals' );

Run the update script, which will automatically create the necessary database tables that this extension needs.

You can verify the extension was enabled successfully by opening your wiki's Special:Version page.

PHP Configuration

Configuration can be changed via LocalSettings.php.

See the Page Approvals configuration reference.

Development

Run composer install in extensions/PageApprovals/ to make the code quality tools available.

Running Tests and CI Checks

You can use the Makefile by running make commands in the PageApprovals directory.

  • make ci: Run everything
  • make test: Run all tests
  • make phpunit --filter FooBar: run only PHPUnit tests with FooBar in their name
  • make phpcs: Run all style checks
  • make cs: Run all style checks and static analysis
  • make lint-docker: Run all JavaScript and CSS linting

Updating Baseline Files

Sometimes Psalm and PHPStan generate errors or warnings we do not wish to fix. These can be ignored by adding them to the respective baseline file. You can update these files with make stan-baseline and make psalm-baseline.

Inserting Test Data

INSERT INTO approver_config (ac_user_id, ac_categories)
VALUES (1, 'TestCat|TestCat2');

Release Notes

Version 2.2.0 - 2026-04-09

  • Added support for MediaWiki 1.45

Version 2.1.1 - 2025-08-28

  • Fixed an issue that caused the incorrect automatic unapproval of pages when using extensions like DisplayTitle

Version 2.1.0 - 2025-08-06

  • Added Admin Links integration
  • Added ability to add intro text to the Special:ManageApprovers page via MediaWiki:Ext-pageapprovals-manage-intro

Version 2.0.0 - 2025-08-01

  • Raided the minimum MediaWiki version from 1.39 to 1.43
  • Added support for MediaWiki 1.44
  • Improved approval UI
    • More integrated look-and-feel for the approval badge and dropdown (by using Codex components)
    • Timestamp moved into the tooltip for cleaner presentation
    • Always show a fully up-to-date timestamp (by generating it via JavaScript)
  • Improved handling for the Vector 2022 skin

Version 1.0.0 - 2024-10-28

  • Approval UI on regular wiki pages that shows the approval status and allows approvers to change said status
  • API endpoints to approve and unapprove pages
  • Automatic unapproval of pages when their displayed content changes
  • Detection of changes to displayed content via embedded constructs such as templates or SMW queries
  • Approver management page and associated MediaWiki right (Special:ManageApprovers)
  • Personalized list of pending approvals (Special:PendingApprovals)
  • Compatibility with MediaWiki 1.39 up to 1.43-dev
  • Compatibility with PHP 8.1 up to 8.3

professional-wiki/page-approvals 适用场景与选型建议

professional-wiki/page-approvals 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.15k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2024 年 08 月 07 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「mediawiki」 「verification」 「quality assurance」 「compliance」 「approvals」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 professional-wiki/page-approvals 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 professional-wiki/page-approvals 我们能提供哪些服务?
定制开发 / 二次开发

基于 professional-wiki/page-approvals 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 4.15k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 15
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 4
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2024-08-07