定制 mediawiki/semantic-watchlist 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

mediawiki/semantic-watchlist

Composer 安装命令:

composer require mediawiki/semantic-watchlist

包简介

A Semantic MediaWiki extension that allows users to use a watchlist for semantic properties.

README 文档

README

Build Status Code Coverage Latest Stable Version Packagist download count

Semantic Watchlist is an extension to Semantic MediaWiki that enables users to watch semantic properties by adding a new watchlist page (Special:SemanticWatchlist) that lists changes to these properties.

Requirements

Semantic Watchlist 1.3:

  • PHP 7.3 or above
  • MediaWiki 1.35 or above
  • Semantic MediaWiki 3.0 - 4.0
  • MySQL 5+ or SQLite 3

Semantic Watchlist 1.2:

Semantic Watchlist 1.1:

  • PHP 5.3+, including PHP 7 and HHVM
  • MediaWiki 1.19 - 1.26
  • Semantic MediaWiki 2.x (and 1.9.x)
  • MySQL 5+ or SQLite 3

Installation

The recommended way to install Semantic Watchlist is by using Composer with an entry in MediaWiki's composer.json.

{
	"require": {
		"mediawiki/semantic-watchlist": "~1.0"
	}
}
  1. From your MediaWiki installation directory, execute composer require mediawiki/semantic-watchlist:~1.0
  2. Run php maintenance/update.php from your MediaWiki installation directory to create the required database tables.
  3. Navigate to Special:Version on your wiki and verify that the package have been successfully installed.

For configuration, see the configuration documentation on MediaWiki.org.

Usage

Users can choose to follow one or more watchlist groups, which are administrator defined, and cover a set of properties and a set of pages (category, namespace, or SMW concept). Notification of changes to watched properties is also possible via email.

Features

  • A watchlist page (Special:SemanticWatchlist) listing changes to properties watched by the user.
  • Per-user optional email notification per edit that changes properties.
  • Integration with user preferences to allow users to specify which watchlist groups they want to follow, and if they want to receive emails on changes.
  • Special:WatchListConditions as administration interface for watchlist groups.
  • API module to query property changes grouped by edit for a single user.
  • API modules to add, modify and delete the watchlist groups.

Find more detailed usage documentation on MediaWiki.org. Recent changes can be found in the release notes.

Contribution and support

If you have remarks, questions, or suggestions, please send them to semediawiki-users@lists.sourceforge.net. You can subscribe to this list here.

If you want to contribute work to the project please subscribe to the developers mailing list and have a look at the contribution guildline. A list of people who have made contributions in the past can be found here.

Extending Semantic Watchlist

Semantic Watchlist is in part a workflow extension, which makes it important for other SMW/MW extensions and tools to interact with it. This is possible via the hooks and API modules Semantic Watchlist provides:

API modules

  • addswlgroup an API module to add semantic watchlist groups.
  • deleteswlgroup an API module to delete semantic watchlist groups.
  • editswlgroup an API module to modify semantic watchlist groups.
  • semanticwatchlist returns a list of modified properties per page for a persons semantic watchlist.

Hooks

  • SWLBeforeEmailNotify
  • SWLBeforeEditInsert
  • SWLAfterEditInsert
  • SWLBeforeChangeSetInsert
  • SWLAfterChangeSetInsert

Tests

This extension provides unit and integration tests that are run by a continues integration platform but can also be executed using composer phpunit from the extension base directory.

License

GNU General Public License 3.0 or later

mediawiki/semantic-watchlist 适用场景与选型建议

mediawiki/semantic-watchlist 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5.73k 次下载、GitHub Stars 达 9, 最近一次更新时间为 2015 年 01 月 30 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

围绕 mediawiki/semantic-watchlist 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 5.73k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 10
  • 点击次数: 19
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 17
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2015-01-30