piwind/flarum-quiet-edits 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

piwind/flarum-quiet-edits

Composer 安装命令:

composer require piwind/flarum-quiet-edits

包简介

Do not mark posts as Edited based on some conditions.

README 文档

README

MIT license Latest Stable Version Total Downloads

这个插件是为了扩展 piwind/flarum-diff 的功能,使得在一定条件下(短间隔时间、仅大小写、仅空格差异)的编辑帖子动作不会产生编辑记录。

About This Fork

就改了个名字,暂时别用。

Features

Edits made within the grace period immediately after posting will not be considered as formal edits. You can also ignore whitespace and case differences independently from the grace period.

  • And again, it's based on @jfcherng's diff repository.
  • It raises new events for developers, called PostWasRevisedQuietly & PostWasRevisedLoudly

Settings

Requirements

php ext-iconv

You can check your php version by running php -v and check if iconv is installed by running php --ri iconv (which should display iconv support => enabled).

Installation & Updating

Install with composer:

composer require piwind/flarum-quiet-edits

Updating:

composer update piwind/flarum-quiet-edits
php flarum cache:clear

Usage

Enable the extension. The grace period is 120 seconds, whitespace and case differences will be ignored by default.

Links

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-28