承接 mediawiki/semantic-image-caption 相关项目开发

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

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

mediawiki/semantic-image-caption

Composer 安装命令:

composer require mediawiki/semantic-image-caption

包简介

Complementary extension to Semantic MediaWiki to support the generation of image captions from annotations.

README 文档

README

CI Latest Stable Version Total Download Count codecov

Semantic Image Caption (a.k.a. SIC) is a Semantic MediaWiki extension to support the generation of image captions from annotations.

Requirements

  • PHP 8.1 or later
  • MediaWiki 1.43 or later
  • Semantic MediaWiki 7.0 or later

Installation

The recommended way to install Semantic Image Caption is using Composer with MediaWiki's built-in support for Composer.

Note that Semantic MediaWiki must be installed first according to the installation instructions provided.

Step 1

Change to the base directory of your MediaWiki installation. If you do not have a "composer.local.json" file yet, create one and add the following content to it:

{
	"require": {
		"mediawiki/semantic-image-caption": "~2.0"
	}
}

If you already have a "composer.local.json" file add the following line to the end of the "require" section in your file:

"mediawiki/semantic-image-caption": "~2.0"

Remember to add a comma to the end of the preceding line in this section.

Step 2

Run the following command in your shell:

php composer.phar update --no-dev

Note if you have Git installed on your system add the --prefer-source flag to the above command.

Step 3

Add the following line to the end of your "LocalSettings.php" file:

wfLoadExtension( 'SemanticImageCaption' );

Usage

Create a schema with the IMAGECAPTION_RULE_SCHEMA type to identify the default_rule and possible other rules to match a specific requirement for the generation of caption information.

Add caption annotations to images with a Text or Monolingual text type property (which is assigned to the caption_property in the schema).

Depending on the rules defined, properties used, and captions provided, embedded images will show captions generated from image page annotations.

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.

Tests

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

License

GNU General Public License 2.0 or later

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 10
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2020-05-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固