Extension:ParserMigration

This page is a translated version of the page Extension:ParserMigration and the translation is 82% complete.
MediaWiki manüel uzantıları
ParserMigration
Sürüm durumu: kararlı
Uygulama Kullanıcı arayüzü
Açıklama Madde metnini MediaWiki ayrıştırıcısının yeni sürümlerine taşımak için bir arayüz sağlar
Yazar(lar)
En son sürüm Continuous updates
Uyumluluk politikası MediaWiki ile birlikte anlık görüntüler yayımlanır. Master geriye dönük olarak uyumlu değil.
MediaWiki >= 1.42
Veritabanı değişiklikleri Hayır
Lisans Creative Commons Zero v1.0 Universal
İndir
  • $wgParserMigrationEnableParsoidArticlePages
  • $wgParserMigrationEnableQueryString
  • $wgParserMigrationUserNoticeVersion
  • $wgParserMigrationEnableParsoidDiscussionTools
  • $wgParserMigrationUserNoticeDays
Quarterly downloads 9 (Ranked 129th)
Translatewiki.net adresinde mevcutsa, ParserMigration uzantısını çevirin
Sorunlar Açık görevler · Hata bildir

ParserMigration uzantısı gerrit:296182 içinde tanıtıldı. Madde oluşturma işlemini MediaWiki parser varsayılan olmayan yeni bir sürümüyle karşılaştırmak için bir arayüz sağlar ve böylece ayrıştırıcı geçiş aracı olarak işlev görür.

Tidy tabanlı çıkışı RemexHTML tabanlı çıkışıyla karşılaştırmak için 2018 yılına kadar Wikimedia üretim kümesinde konuşlandırıldı. RemexHTML , Tidy yerine geçer. In 2023 it was redeployed in order to compare legacy wikitext parser output with output generated by the Parsoid wikitext parser.

Aracın kullanılabilirliği bir kullanıcı tarafından "parsermigration" tercih seçeneği ile kontrol edilebilir.

Using the extension

See Help:Extension:ParserMigration and the extension's README file.


Kurulum

  • Dosyaları indirin ve extensions/ klasörünüzdeki ParserMigration adlı dizine yerleştirin.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserMigration
  • LocalSettings.php dosyanızın altına aşağıdaki kodu ekleyin:
    wfLoadExtension( 'ParserMigration' );
    
  • This extension also adds a dropdown under 'Developer tools' at the bottom of the 'Editing' options for a user, which allows the user to opt-in, opt-out, or follow the wiki defaults for the use of the new Parsoid wikitext parser to render article pages.
    "Follow the wiki default" uses Parsoid based on two configuration options:
    • $wgParserMigrationEnableParsoidDiscussionTools if set to true will use Parsoid for all pages in the talk namespace, but not for other pages. This is intended for use with the DiscussionTools extension, which is already powered by Parsoid and enabled by default on some wikis.
    • $wgParserMigrationEnableParsoidArticlePages if set to true will use Parsoid for all pages in the main article namespace, but not for other pages.
  •   Yapıldı – Uzantının başarıyla yüklendiğini doğrulamak için vikinizde Special:Version seçeneğine gidin.

Ayrıca bakınız

For the 2018-era deployment of the ParserMigration tool, see: