Jump to content

Extension:CountingMarker

本頁使用了標題或全文手工轉換
From mediawiki.org
This page is a translated version of the page Extension:CountingMarker and the translation is 72% complete.
MediaWiki扩展手册
CountingMarker
发行状态: 稳定版
实现 数据库 , 提取数据, 特殊页面
描述 添加一些特殊页面,用于查看和分配计数标记。
作者 WikiMANNia (WikiForMen留言)
最新版本 0.6.3 (2024-02-02)
MediaWiki 1.35+ (REL1_35 branch, 7.3.19 ≤ PHP ≤ 8)

1.25-1.35 (REL1_25 branch, 5.6 ≤ PHP ≤ 7)

1.23-1.35 (REL1_23 branch, 5.6 ≤ PHP ≤ 7)
数据库更改
countingmarker_author
countingmarker_counter
countingmarker_extension
countingmarker_marker
countingmarker_page
许可协议 COPYRIGHTED
下載 無連結
About
示例 vgwort.wikimannia.org/Special:CountingMarker
  • $wmCountingMarkerStatus
  • $wmDefaultCountLimitVGWort1
  • $wmDefaultCountLimitVGWort2
  • $wmDefaultCountThreshold1
  • $wmDefaultCountThreshold2
  • $wmDefaultTextLengthVGWort1
  • $wmDefaultTextLengthVGWort2
  • $wmDefaultTextThreshold1
  • $wmDefaultTextThreshold2
  • $wmDefaultServerSubdomain
  • $wmCountingMarkerRemoveLinkMarks
  • $wmCountingMarkerRemoveRefs
  • $wmCountingMarkerRemoveSeeAlso
  • $wmCountingMarkerRemoveWeblinks
  • $wmCountingMarkerContactURL
  • $wmCountingMarkerVgwortURL
  • $wmVgwortServerSubdomains
  • $wmVgwortStatusCategories
  • $wmDefaultBatchSize
  • $wmExportPagelistLimit
novgwort
countingmarker_admin, countingmarker_assign, countingmarker_import, countingmarker_report, countingmarker_save, countingmarker_statistic

CountingMarker扩展提供某些功能,可讓wiki透過著作權集體管理團體VG WORT而貨幣化。

描述

凡是著作权集体(Verwertungsgesellschaft Wort)的成员,如果想参与METIS计划,即注册其在线文本以实现货币化,就会面临一些问题。

METIS 是“互联网网页文本报告系统”(Meldesystem für Texte auf Internet­seiten)的缩写。 VG Wort 规定了文章的最低长度和最低浏览量("点击量"),这必须通过在文章页面上安装 “计数像素”来证明。 为了安装这些像素,您可以向 VG Wort 订购“计数标记”,每个标记由一组公钥和私钥以及 VG Wort 服务器上计数像素的UR 组成。

本手册附有一段 HTML 代码,说明如何在 HTML 页面中加入该计数器。 对于那些由自制的HTML网页所组成的1980年代的网页,簡單的方法就是复制和粘贴将这些HTML代码插入网页的HTML代码中即可。 但是,如何能将这些以非常复杂的方式将数据库查询、模板和皮肤组装成最终交付给读者的页面的计数器,集成到现代的内容管理系统中?

这项工作,還有计数器的管理、为物品分配计数器和向VG Wort提交年度报告,都属于这一強化功能的范疇。

安裝

  • 下载文件,并将其放置在您extensions/文件夹中的CountingMarker目录内。
  • 将下列代码放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'CountingMarker' );
    
  • 运行更新脚本,它将自动创建此扩展必须依赖的数据库表。
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。

Since MediaWiki 1.25 the extension HitCounters should be installed to use the full range of functions. However, there is a basic version in which the HitCounters extension is not required.

已测试

The branches REL1_23 and REL1_25 were tested with MediaWiki versions: 1.23, 1.25, (1.27), 1.31, (1.33), 1.35.14

REL1_35分支已通过MediaWiki版本的测试: 1.35.14, (1.36), (1.37), (1.38), 1.39.6, 1.40.2, 1.41.0

本地化

扩展以"de", "en", "es"提供。

版本的功能范围
功能 基础版本 单作者版本 多作者版本
从 CSV 文件上传计数标记 Yes Yes Yes
Manage counting markers and assign to articles Yes Yes Yes
Change assignment of counting markers Yes Yes Yes
建立報告 Yes Yes Yes
<novgwort> tags supported Yes Yes Yes
测试模式 Yes Yes Yes
Statistical functions
(in connection with the extension “HitCounters”)
No Yes Yes
Save and archive count readings No Yes Yes
Extrapolate page views up to the end of the year No Yes Yes
Switch off the counting markers individually No Yes Yes
Block counting markers No Yes Yes
Author management (assign articles and counting markers to an author) No No Yes
Assign contribution type
(draft, article, poetry)
No No Yes

版本历史

Version 0.2.0
MediaWiki v1.23-1.33
首次公开发佈
Version 0.2.3/0.3.3
添加了多作者支持,以及定义了个人权限的用户组。
Version 0.4.0
MediaWiki v1.35+
Adaptations regarding MediaWiki 1.37.
Added the ability for the author to select his articles in the statistics table.
Version 0.5.0
Add a ‎<novgwort> tag.
Version 0.5.1/0.5.2/0.5.3/0.5.4/0.5.5/0.5.6/0.5.7/0.6.1
See Change log
Version 0.5.8
添加钩子GetPreferences ,为用户提供自定义设置。
Version 0.5.9
Changed the prefix of the configuration variables from default to wm.
Changed "configuration schema", replaced manifest version 1 with version 2. (REL1_35 branch only)
Replaced class “CountingMarkerHooks” (extends “Hooks”) with “HookHandler” with implementation of interfaces. (REL1_35 branch only)
Version 0.6.0
New database support for “sqlite”.
Version 0.6.2
Avoid a warning with MediaWiki 1.41.x. (REL1_35 branch only)
Version 0.6.3
Changing user rights: “AddGroups” and “RemoveGroups” added in “extension.json”. (Version “Multi-author” only)

已知的问题

其他问题

If you run a Wiki农场 and manage the extensions centrally (via soft links), you have the problem that the 维护脚本 of this extension are not found. Currently, to solve this problem, these maintenance scripts can be copy & paste into the maintenance folders of the MediaWiki installations.

向后兼容

REL1_23
This branch (current version 0.6.1) is compatible up to MediaWiki 1.35.x with PHP versions 5.6-7.x.
This branch in all its versions is fully backwards compatible with MediaWiki 1.24, and except for a helping function even compatible with MediaWiki 1.23.
REL1_25
This branch (current version 0.6.1) is compatible up to MediaWiki 1.35.x with PHP versions 5.6-7.x.
Removed backward compatibility with versions prior to MediaWiki 1.25 is removed.
REL1_35
This branch (current version 0.6.2) is tested up to MediaWiki 1.41.0 with PHP versions 8.2.
Removed backward compatibility with versions prior to MediaWiki 1.35.3 is removed.

外部链接