Extension:DoubleWiki/ru

From mediawiki.org
This page is a translated version of the page Extension:DoubleWiki and the translation is 50% complete.
Languages:
Справка по расширениям MediaWiki
DoubleWiki
Статус релиза: стабильно
Реализация Пользовательский интерфейс
Описание Расширение DoubleWiki отображает статью и её перевод в двух колонках одной и той же страницы.
Автор(ы) ThomasVобсуждение
Политика совместимости Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki >= 1.35.0
Лицензия GNU General Public License 2.0 или позднее
Скачать
Пример http://fr.wikisource.org/wiki/Criton_(trad._Cousin)?match=en
  • $wgDoubleWikiCacheTime
Quarterly downloads 1 (Ranked 177th)
Переведите расширение DoubleWiki, если оно доступно на translatewiki.net
Проблемы Открытые задачи · Сообщить об ошибке

DoubleWiki allows you to compare wikis in two separate languages side by side.

For an example, see http://fr.wikisource.org/wiki/Criton_(trad._Cousin)?match=en. See Wikisource:DoubleWiki Extension for more information.

Использование

Appending ?match=<lang code> (or &match=<lang code> ) to a url allows you to see a side by side comparison of a page with the same page in another language.

You can use an empty div with a title attribute (for example <div title="some title"/>) to force certain sections to line up.

This extension was made especially for Wikisource (see also bugzilla:4104). For full information on this extension, it is recommended you read the page at wikisource - oldwikisource:Wikisource:DoubleWiki Extension Comments/questions/etc should go on the Wikisource page.

Установка

  • Скачайте и распакуйте файл(ы) в папку с названием DoubleWiki в вашей папке extensions/.
  • Добавьте следующий код внизу вашего LocalSettings.php :
    wfLoadExtension( 'DoubleWiki' );
    
  • Yes Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.

Для использующих MediaWiki 1.24 или более ранние версии:

В приведенных выше инструкциях описывается новый способ установки этого расширения с использованием wfLoadExtension(). Если вам нужно установить это расширение на более ранние версии (MediaWiki 1.24 и более ранние), вместо wfLoadExtension( 'DoubleWiki' );, вам необходимо использовать:

require_once "$IP/extensions/DoubleWiki/DoubleWiki.php";

Параметры конфигурации

This extension has no configuration parameters, but expects interlanguage links to be configured appropriately. See Interlanguage links and Manual:Interwiki#Interwiki links to other languages. You should ensure all your interlanguage (not interwiki) links are to websites you control, as this extension will load pages from these other language links.