Extension:ParserMigration/pl

Category:Public domain licensed extensions/pl
Podręcznik rozszerzeń MediaWiki
ParserMigration
Status wydania: stabilneCategory:Stable extensions/pl
Realizacja Interfejs użytkownikaCategory:User interface extensions/pl
Opis Provides an interface for migrating article text to new versions of the MediaWiki parser
Autor(zy)
Ostatnia wersja Continuous updates
Polityka zgodności Snapshots releases along with MediaWiki. Master nie jest kompatybilny wstecznie.
Zmiany w bazie danych Nie
Licencja Creative Commons Zero v1.0 Universal
Pobieranie Category:Extensions in Wikimedia version control/pl
  • $wgParserMigrationCompactIndicator
  • $wgParserMigrationEnableParsoidArticlePages
  • $wgParserMigrationUserNoticeDays
  • $wgParserMigrationEnableQueryString
  • $wgParserMigrationUserNoticeVersion
  • $wgParserMigrationEnableParsoidDiscussionTools
  • $wgParserMigrationEnableParsoidMobileFrontendTalkPages
  • $wgParserMigrationEnableParsoidMobileFrontend
Quarterly downloads 18 (Ranked 96th)
Przetłumacz rozszerzenie ParserMigration jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd
Category:All extensions/pl

The ParserMigration extension provides an interface for comparing article rendering with a new non-default version of the MediaWiki parser, thus serving as a parser migration tool.

It was deployed on the Wikimedia production cluster until 2018 to compare Tidy-based output with a RemexHTML-based output. RemexHTML was the replacement for Tidy. In 2023 it was redeployed in order to compare legacy wikitext parser output with output generated by the Parsoid wikitext parser.

The availability of the tool can be controlled by a user via the "parsermigration" preference option.

Using the extension

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

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie ParserMigration w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserMigration
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'ParserMigration' );
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Configuration

This extension 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 Parsoid wikitext parser to render article pages.

If the user chooses to follow the wiki default, the use of Parsoid will be 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.

Zobacz też

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

Category:Extensions used on Wikimedia/pl#ParserMigration/pl
Category:All extensions/pl Category:ArticleParserOptions extensions/pl Category:Extensions in Wikimedia version control/pl Category:Extensions included in Miraheze/pl Category:Extensions used on Wikimedia/pl Category:GetPreferences extensions/pl Category:ParserOutputPostCacheTransform extensions/pl Category:Public domain licensed extensions/pl Category:SidebarBeforeOutput extensions/pl Category:Stable extensions/pl Category:User interface extensions/pl