Extension:CountingMarker/ru

From Linux Web Expert

Справка по расширениям MediaWiki
CountingMarker
Статус релиза: стабильно
Реализация База данных , Извлечение данных, Служебная страница
Описание Adds special pages to view and assign the counting markers
Автор(ы) WikiMANNia (WikiForMentalk)
Последняя версия 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
Ежеквартальные загрузки Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Использование общедоступными вики Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

The CountingMarker extension provides functionality for monetising a wiki with the Verwertungs­gesellschaft Wort (Copyright collective).

Описание

Anyone who is a member of the Verwertungs­gesellschaft Wort (Copyright collective) and operates a wiki faces several problems when they want to participate in the METIS programme, i.e. registering their online texts for monetization.

METIS stands for „Meldesystem für Texte auf Internet­seiten“ (“Reporting System for Texts on Internet Pages”). VG Wort requires a minimum length of the texts as well as a minimum number of article views (“hits”), which must be proven by the installation of “counting pixels” on the article page. For the installation of these pixels you can order “counting markers” from VG Wort, each of which consists of a set of public and private keys and a URL to a counting pixel on a VG Wort server.

A snippet of HTML code on how to include this counter in an HTML page is included. For web pages from the 1980s, which consisted of self-made HTML pages, it is a simple matter to insert this HTML code via copy and paste into the HTML code of the page. But how can these counters be integrated into modern content management systems, which in a very complex way assemble the pages finally delivered to the reader from database queries, templates and skins?

This task, as well as the administration of the counter marks, the assignment of the counter marks to the articles and the annual report to VG Wort are part of the functional scope of this enhancement.

Установка

  • <translate> Download and place the file(s) in a directory called <tvar name=name>CountingMarker/ru</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'CountingMarker/ru' );
    
  • <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

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.

Tested

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

Расширение было протестировано с MediaWiki $1. 1.35.14, (1.36), (1.37), (1.38), 1.39.6, 1.40.2, 1.41.0

Локализация

The extension is provided in "de", "en", "es".

<translate> Functional scope of the versions</translate>
<translate> Function</translate> <translate> Basic version</translate> <translate> Single-author version</translate> <translate> Multi-author version</translate>
<translate> Upload counting markers from CSV file</translate> title=Yes title=Yes title=Yes
<translate> Manage counting markers and assign to articles</translate> title=Yes title=Yes title=Yes
<translate> Change assignment of counting markers</translate> title=Yes title=Yes title=Yes
<translate> Create annual report</translate> title=Yes title=Yes title=Yes
<translate> <novgwort> tags supported</translate> title=Yes title=Yes title=Yes
<translate> Test mode</translate> title=Yes title=Yes title=Yes
<translate> Statistical functions</translate>
<translate> (in connection with the extension “HitCounters”)</translate>
title=No title=Yes title=Yes
<translate> Save and archive count readings</translate> title=No title=Yes title=Yes
<translate> Extrapolate page views up to the end of the year</translate> title=No title=Yes title=Yes
<translate> Switch off the counting markers individually</translate> title=No title=Yes title=Yes
<translate> Block counting markers</translate> title=No title=Yes title=Yes
<translate> Author management</translate> <translate> (assign articles and counting markers to an author)</translate> title=No title=No title=Yes
<translate> Assign contribution type</translate>
<translate> (draft, article, poetry)</translate>
title=No title=No title=Yes

История версий

Version 0.2.0
MediaWiki v1.23-1.33
First public release
Version 0.2.3/0.3.3
Multi-author support added und user groups with individual rights defined.
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
Add hook GetPreferences , offering custom settings to the user.
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 family/ru 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.

External links