Extension:CountingMarker
CountingMarker 发行状态: 稳定版 |
|
---|---|
实现 | 数据库 , 提取数据, 特殊页面 |
描述 | 添加一些特殊页面,用于查看和分配计数标记。 |
作者 | WikiMANNia (WikiForMen留言) |
最新版本 | 0.7.0 (2024-10-07) |
MediaWiki | 1.35+ (REL1_35 branch, 7.3.19 ≤ PHP ≤ 8) 1.25-1.35 (REL1_25 branch, 5.6 ≤ PHP ≤ 7) |
数据库更改 | 是 |
表 | countingmarker_author countingmarker_counter countingmarker_extension countingmarker_marker countingmarker_page |
许可协议 | COPYRIGHTED |
下載 | 無連結 About |
示例 | vgwort.wikimannia.org/Special:CountingMarker |
|
|
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 Internetseiten)的缩写。 VG Wort 规定了文章的最低长度和最低浏览量("点击量"),这必须通过在文章页面上安装 “计数像素”来证明。 为了安装这些像素,您可以向 VG Wort 订购“计数标记”,每个标记由一组公钥和私钥以及 VG Wort 服务器上计数像素的UR 组成。
本手册附有一段 HTML 代码,说明如何在 HTML 页面中加入该计数器。 对于那些由自制的HTML网页所组成的1980年代的网页,簡單的方法就是复制和粘贴将这些HTML代码插入网页的HTML代码中即可。 但是,如何能将这些以非常复杂的方式将数据库查询、模板和皮肤组装成最终交付给读者的页面的计数器,集成到现代的内容管理系统中?
这项工作,還有计数器的管理、为物品分配计数器和向VG Wort提交年度报告,都属于这一強化功能的范疇。
安裝
- 下载文件,并将其放置在您
extensions/
文件夹中的CountingMarker
目录内。 - 将下列代码放置在您的LocalSettings.php 的底部:
wfLoadExtension( 'CountingMarker' );
- 运行更新脚本,它将自动创建此扩展必须依赖的数据库表。
- 完成 – 在您的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.39.10, 1.41.2, 1.42.3
本地化
扩展以"de", "en", "es"提供。
版本历史
- 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)
- Version 0.6.4
- Compatibility with MediaWiki 1.42.x. (REL1_35 branch only)
- Version 0.6.5
- Refacturing (all branches)
- Version 0.7.0
- Maintenance for database issues on 'countingmarker_page' table (all branches)
已知的问题
其他问题
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.5) 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.5) 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.5) is tested up to MediaWiki 1.42.1 with PHP versions 7.3-8.2.
- Removed backward compatibility with versions prior to MediaWiki 1.35.3 is removed.
外部链接
- 安装到了实例页面: vgwort.wikimannia.org
- 下載MediaWiki补丁: webarchiv.wikimannia.org/mediawiki/patches/
- The patches apply to the export functions of the MediaWiki core.
- 描述(带有屏幕截图)
- Stable extensions/zh
- Database extensions/zh
- Data extraction extensions/zh
- Special page extensions/zh
- Extensions with unknown license/zh
- Extensions which add rights/zh
- GetPreferences extensions/zh
- LoadExtensionSchemaUpdates extensions/zh
- SkinAddFooterLinks extensions/zh
- SkinBuildSidebar extensions/zh
- PageSaveComplete extensions/zh
- ParserAfterParse extensions/zh
- SpecialStatsAddExtra extensions/zh
- All extensions/zh
- Pages using deprecated NoteTA template