mediawiki/semantic-forms-multi-edit 问题修复 & 功能扩展

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

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

mediawiki/semantic-forms-multi-edit

Composer 安装命令:

composer require mediawiki/semantic-forms-multi-edit

包简介

Add multiedit parser function to Semantic Forms

README 文档

README

Add multiedit parser function to Semantic Forms

// Max number of pages than can be created at once

$GLOBALS['wgSFMEMaxPages'] = 100;

Example Syntax

{{#multiedit:target=Sample:XXX_|form=Sample|query string=Sample[Batch name]=Mybatch&Sample[Request Reference]={{FULLPAGENAME}}&Sample[Creation date]={{CURRENTMONTHABBREV}} {{CURRENTDAY2}} {{CURRENTYEAR}} {{CURRENTTIME}}:{{CURRENTSECOND}}|start=0|end=10|digits=2|overwrite=0|link text='''Add samples'''|ok text=Samples created|reload|mail={{{User_Name|}}}|checkbase=\d{6}_S_\D{4}|origin={{FULLPAGENAME}}}}}}|All samples are created}}

Parameters

  • target: Base name of the base
  • form: Form to be used
  • query_string: Data to be passed to the form
  • start: First iteration number
  • end: Last iteration number
  • digits: Number of digits of the iteration numbers
  • link text: Text of the link generated
  • ok text: Text once pages are successfully created
  • reload: Whether to reload hosting page once done
  • mail: ... TODO ...
  • checkbase: Extra check for avoiding pages to be created that do not follow the given regex
  • origin: Reference for origin pages

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-07-03