게시판:자유게시판의 토론 주제

2번째 줄: 2번째 줄:


parsoid는 위키문법과 HTML을 변환해주는 서비스인데요, 이전까지 0.5.3 버전을 쓰다가 10월 25일 목요일 오전 2시 0.9.0으로 업그레이드 했습니다.
parsoid는 위키문법과 HTML을 변환해주는 서비스인데요, 이전까지 0.5.3 버전을 쓰다가 10월 25일 목요일 오전 2시 0.9.0으로 업그레이드 했습니다.
이전에 쓰던 0.5.3은 현재 페미위키의 미디어위키 버전인 1.31과는 호환이 아슬아슬하게 되고 있던 상태여서 간혹 예기치 않은 문제가 생겼는데요, 이번 업그레이드로 이런 문제들이 해결됐을 것으로 기대합니다.


변경 사항은 다음을 참고해주세요(영문).  
변경 사항은 다음을 참고해주세요(영문).  


{{글 숨김}}
{{글 숨김}}  
0.9.0 / 2018-03-23
= 0.9.0 / 2018-03-23 =
*Notable wt -> html changes
Notable wt -> html changes
** Parsoid HTML version bumped to 1.6.1
* Parsoid HTML version bumped to 1.6.1
** T114072: Add <section> wrappers to Parsoid output
* T114072: Add wrappers to Parsoid output
** T118520: Use figure-inline instead of span for inline media
* T118520: Use figure-inline instead of span for inline media
** Update Parsoid to generate modern HTML5 IDs w/ legacy fallback
* Update Parsoid to generate modern HTML5 IDs w/ legacy fallback
** T58756: External links class= now setting free, text and autonumber
* T58756: External links class= now setting free, text and autonumber
** T45094: Replace <span> with <sup> for references
* T45094: Replace with for references
** T97093: Use mw:WikiLink/Interwiki for interwiki links
* T97093: Use mw:WikiLink/Interwiki for interwiki links
** Permit extension tags in xmlish attribute values
* Permit extension tags in xmlish attribute values
** A number of bug fixes and crasher fixes
* A number of bug fixes and crasher fixes
*Notable html -> wt changes:
Notable html -> wt changes:
** Preserve original transclusion's parameter order
* Preserve original transclusion's parameter order
** T180930: Selser shouldn't reuse orig sep for autoinserted tags
* T180930: Selser shouldn't reuse orig sep for autoinserted tags
*Infrastructure:
Infrastructure:
** This release requires clients (VE, etc.) to return a 1.6.0 and
* This release requires clients (VE, etc.) to return a 1.6.0 and greater HTML version string in the header. If not, Parsoid will return a HTTP 406. This can be fixed by updating VE (or relevant clients) to a more recent version.
greater HTML version string in the header. If not, Parsoid will
* T66003: Make strictSSL configurable per wiki as well
return a HTTP 406. This can be fixed by updating VE (or relevant
* Use pure compute workers for the request processing
clients) to a more recent version.
* T123446: Bring back request timeouts
** T66003: Make strictSSL configurable per wiki as well
* Lots of changes to wikitext linting code including new linter categories.
** Use pure compute workers for the request processing
Extensions
** T123446: Bring back request timeouts
* Match core's parsing of gallery dimensions
** Lots of changes to wikitext linting code including new
* Added and extension handling.
linter categories.
Performance fixes:
*Extensions
* Don't process token attributes unnecessarily
** Match core's parsing of gallery dimensions
* T176728: Use replaceChild instead of insertBefore
** Added <nowiki><section> and <indicator> extension handling.</nowiki>
* Performance fixes to domino, the html + dom library used in Parsoid
*Performance fixes:
Dependencies:
** Don't process token attributes unnecessarily
* Upgrade eslint, domino, service-runner, request and many other dev and non-dev dependencies
** T176728: Use replaceChild instead of insertBefore
Cleanup:
** Performance fixes to domino, the html + dom library used in Parsoid
* Get rid of the handleUnbalancedTables DOM pass
*Dependencies:
* The <code>normalize</code> post processor isn't needed any more
** Upgrade eslint, domino, service-runner, request and many other
* More use of arrow functions, promises, async/yield, ES6 classes in the codebase
dev and non-dev dependencies
* Switch from jsduck to jsdoc3 for documentation and use new jsdoc-wmf-theme for documentation
*Cleanup:
 
** Get rid of the handleUnbalancedTables DOM pass
= 0.8.0 / 2017-10-24 =
** The `normalize` post processor isn't needed any more
Notable wt -> html changes:
** More use of arrow functions, promises, async/yield, ES6 classes
* T43716: Parse and serialize language converter markup
in the codebase
* T64270: Support video and audio content
** Switch from jsduck to jsdoc3 for documentation and use
* T39902, T149794: Markup red links, disambiguation links in Parsoid HTML
new jsdoc-wmf-theme for documentation
* T122965: Support HTML5 elements in older browsers
0.8.0 / 2017-10-24
* T173384: Improve handling of tokens in parser function targets
*Notable wt -> html changes:
* T153885: Handle templated template names
** T43716: Parse and serialize language converter markup
* T151277: Handle <nowiki>[[Media:Foo.jpg]]</nowiki> syntax correctly
** T64270: Support video and audio content
* Generalize removal of useless p-wrappers
** T39902, T149794: Markup red links, disambiguation links in Parsoid HTML
* More permissive attribute name parsing
** T122965: Support HTML5 elements in older browsers
** match PHP parser's attribute sanitizer
** T173384: Improve handling of tokens in parser function targets
* Remove dependence on native parser functions
** T153885: Handle templated template names
* Stop using usePHPPreProcessor as a proxy for an existing mw api to parse extensions
** T151277: Handle [//upload.wikimedia.org/wikipedia/commons/0/06/Foo.jpg Media:Foo.jpg] syntax correctly
* Several bug fixes
** Generalize removal of useless p-wrappers
Notable html -> wt changes:
** More permissive attribute name parsing
* T135667, T138492: Use improved format specifier for TemplateData enabling templates to control formatting of transclusions after VE edits
* + match PHP parser's attribute sanitizer
* T153107: Fix unhandled detection of modified link content
** Remove dependence on native parser functions
* T136653: Handle interwiki shortcuts
** Stop using usePHPPreProcessor as a proxy for an existing mw api to parse extensions
* T177784: Update reverse interwiki map to prefer language prefixes over others
** Several bug fixes
* Cleanup in separator handling in the wikitext serializer
*Notable html -> wt changes:
* Several bug fixes
** T135667, T138492: Use improved format specifier for TemplateData enabling templates
API:
to control formatting of transclusions after VE edits
* Remove support for pb2html in the http api
** T153107: Fix unhandled detection of modified link content
Extensions:
** T136653: Handle interwiki shortcuts
* Cite:
** T177784: Update reverse interwiki map to prefer language prefixes over others
** T159894: Add support for Cite's <code>responsive</code> parameter
** Cleanup in separator handling in the wikitext serializer
* Gallery:
** Several bug fixes
** Remove inline styling for vertical alignment in traditional galleries
*API:
** All media should scale in gallery
** Remove support for pb2html in the http api
Dependencies:
*Extensions:
* Upgrade service-runner, mediawiki-title
** Cite:
* Use uuid instead of node-uuid
*** T159894: Add support for Cite's `responsive` parameter
* Upgrade several dependencies to deal with security advisories
** Gallery:
* Limit core-js shimming to what we need
*** Remove inline styling for vertical alignment in traditional galleries
Infrastructure:
*** All media should scale in gallery
* Migrate from jshint to eslint
*Dependencies:
Notable wikitext linting changes:
** Upgrade service-runner, mediawiki-title
* Move linter config properties to the linter config object
** Use uuid instead of node-uuid
* Only lint pages that have wikitext contentmodel
** Upgrade several dependencies to deal with security advisories
* Lint multiple colon escaped links (incorrect usage)
** Limit core-js shimming to what we need
* Add an API endpoint to get lint errors for wikitext
*Infrastructure:
* Turn off ignored-table-attr output
** Migrate from jshint to eslint
* Add detection for several wikitext patterns that render differently in Tidy compared to a HTML5 based parser (Parsoid, RemexHTML). This is only relevant if you want to fix pages before replacing Tidy or if you want to use Parsoid HTML for non-edit purposes.
*Notable wikitext linting changes:
Other:
** Move linter config properties to the linter config object
* Add code of conduct file to the repo
** Only lint pages that have wikitext contentmodel
 
** Lint multiple colon escaped links (incorrect usage)
= 0.7.1 / 2017-04-05 =
** Add an API endpoint to get lint errors for wikitext
No changes. New release to update nodejs dependency in the deb package.
** Turn off ignored-table-attr output
 
** Add detection for several wikitext patterns that render differently
= 0.7.0 / 2017-04-04 =
in Tidy compared to a HTML5 based parser (Parsoid, RemexHTML).
wt -> html changes:
*  This is only relevant if you want to fix pages before replacing
* T102209: Assign ids to H[1-6] tags that match PHP parser's assignment
Tidy or if you want to use Parsoid HTML for non-edit purposes.
* T150112: Munge link fragments and element ids as in the php parser
*Other:
* T59603: T133267: Escape extlink content when containing ] anywhere
** Add code of conduct file to the repo
* T156296: Update cached wiki configs for several wikimedia wikis
0.7.1 / 2017-04-05
* T50900: Improved error output for extensions, missing images
*No changes. New release to update nodejs dependency in the deb package.
* T109897: Remove implicit_table_data_tag rule
0.7.0 / 2017-04-04
* T98960: Accept entities in extlink href and url links
*wt -> html changes:
* T113044: Complete templatearg representation in spec
** T102209: Assign ids to H[1-6] tags that match PHP parser's assignment
* T104523: Prevent infinite recursion in template expansion
** T150112: Munge link fragments and element ids as in the php parser
* T104662: Allow nested ref tags only in templates
** T59603: T133267: Escape extlink content when containing ] anywhere
* Support extension tags which shadows "block level" HTML elements
** T156296: Update cached wiki configs for several wikimedia wikis
* A bunch of cleanup and edge case fixes in the PEG tokenizer
** T50900: Improved error output for extensions, missing images
* Don't accept pipe unconditionally in extlink
** T109897: Remove implicit_table_data_tag rule
* Percent-encode modules link in the HEAD section
** T98960: Accept entities in extlink href and url links
* Update CSS modules in HEAD section
** T113044: Complete templatearg representation in spec
* Remove special-case non-void semantics for SOURCE
** T104523: Prevent infinite recursion in template expansion
* Fixup redirect-detecting regular expressions in multiple places
** T104662: Allow nested ref tags only in templates
* Edge case bug fixes to title handling code
** Support extension tags which shadows "block level" HTML elements
* Edge case bug fixes in aynsc token transformation pipeline
** A bunch of cleanup and edge case fixes in the PEG tokenizer
* Several fixes to the linting code to support the PHP Linter extension
** Don't accept pipe unconditionally in extlink
html -> wt changes:
** Percent-encode modules link in the HEAD section
* T149209: Handle newlines in TD and TH cells
** Update CSS modules in HEAD section
* T160207: Fix serializing multi-line indent-pre w/ sol wt syntax
** Remove special-case non-void semantics for SOURCE
* T133267: Escape extlink content when containing ] anywhere
** Fixup redirect-detecting regular expressions in multiple places
* T152633: Fix crasher from ConstrainedText
** Edge case bug fixes to title handling code
* T112043: Handle anchors without hrefs
** Edge case bug fixes in aynsc token transformation pipeline
* Fix and cleanup domdiff annotations which fixes some edge case bugs
** Several fixes to the linting code to support the PHP Linter extension
Extensions:
*html -> wt changes:
* T110910: Implement gallery extension natively inside Parsoid
** T149209: Handle newlines in TD and TH cells
* T58381, T108216: Treat NOWIKI and html PRE as extension tags
** T160207: Fix serializing multi-line indent-pre w/ sol wt syntax
* Cite: T102134: Fix hrefs to render properly
** T133267: Escape extlink content when containing ] anywhere
* Cite: Escape cite ids with Sanitizer.escapeId
** T152633: Fix crasher from ConstrainedText
* Move section handling to the LST extension
** T112043: Handle anchors without hrefs
* Extension API improvements for the ProofreadPage extension
** Fix and cleanup domdiff annotations which fixes some edge case bugs
* Normalize all extension options
*Extensions:
Infrastructure changes:
** T110910: Implement gallery extension natively inside Parsoid
* Update parser tests syncing scripts to let us sync PHP extension tests from to/from Parsoid.
** T58381, T108216: Treat NOWIKI and html PRE as extension tags
* Several fixes to parserTests scripts to improve output and processing of test options, among other things.
** Cite: T102134: Fix hrefs to render properly
* Bump domino, service-runner, minor versions of some deps, and some dev deps.
** Cite: Escape cite ids with Sanitizer.escapeId
* Switch to npm@3
** Move section handling to the LST extension
API changes:
** Extension API improvements for the ProofreadPage extension
* In dev-api mode, add ?follow_redirects=true support to wt2html API end points to get Parsoid to return a HTTP 302 response for redirect pages. This lets 302-following clients to render the target page.
** Normalize all extension options
Other fixes:
*Infrastructure changes:
* T153797: ApiRequest: Clone the request options before modifying them
** Update parser tests syncing scripts to let us sync PHP extension tests
* T150213: Suppress logs for known unknown contentmodels
from to/from Parsoid.
* Code cleanup and refactoring for upcoming audio/video support.
** Several fixes to parserTests scripts to improve output and processing of
* Code cleanup and refactoring in template handling for upcoming support for templated template names. This also fixes some edge case bugs.
test options, among other things.
 
** Bump domino, service-runner, minor versions of some deps,
= 0.6.1 / 2016-11-14 =
and some dev deps.
** Switch to npm@3
*API changes:
** In dev-api mode, add ?follow_redirects=true support to wt2html
API end points to get Parsoid to return a HTTP 302 response for
redirect pages. This lets 302-following clients to render the
target page.
*Other fixes:
** T153797: ApiRequest: Clone the request options before modifying them
** T150213: Suppress logs for known unknown contentmodels
** Code cleanup and refactoring for upcoming audio/video support.
** Code cleanup and refactoring in template handling for upcoming support
for templated template names. This also fixes some edge case bugs.
0.6.1 / 2016-11-14
* Fix broken 0.6.0 debian package
* Fix broken 0.6.0 debian package
0.6.0 / 2016-11-07
 
*wt -> html changes:
= 0.6.0 / 2016-11-07 =
** T147742: Trim template target after stripping comments
wt -> html changes:
** T142617: Handle invalid titles in transclusions
* T147742: Trim template target after stripping comments
** Handle caption-like text outside tables
* T142617: Handle invalid titles in transclusions
** migrateTrailingNLs DOM pass: Code simplifications and
* Handle caption-like text outside tables
some subtle edge case bug fixes
* migrateTrailingNLs DOM pass: Code simplifications and some subtle edge case bug fixes
** Handle HTML tags in attribute text properly
* Handle HTML tags in attribute text properly
** A bunch of cleanup and fixes in the PEG tokenizer
* A bunch of cleanup and fixes in the PEG tokenizer
*html -> wt changes:
html -> wt changes:
** T134389: Serialize content in HTML tables using HTML tags
* T134389: Serialize content in HTML tables using HTML tags
** T125419: Fix selser issues serializing first table row
* T125419: Fix selser issues serializing first table row
** T137406: Emit |- between thead/tbody/tfoot
* T137406: Emit |- between thead/tbody/tfoot
** T139388: Ensure that edits to content nested in elements
* T139388: Ensure that edits to content nested in elements with templated attributes is not lost by the selective serializer.
*          with templated attributes is not lost by the
* T142998: Fix crasher in DOM normalization code
*          selective serializer.
* Normalize all lists to not mix wikitext and HTML list syntax
** T142998: Fix crasher in DOM normalization code
* Always emit canonical wikitext for url links
** Normalize all lists to not mix wikitext and HTML list syntax
* Emit url-links where appropriate no matter what rel attribute says
** Always emit canonical wikitext for url links
Infrastructure changes:
** Emit url-links where appropriate no matter what rel attribute says
* T96195 : Remove node 0.8 support
*Infrastructure changes:
* T113322: Use the mediawiki-title library instead of Parsoid-homegrown title normalization code.
** T96195 : Remove node 0.8 support
* Remove html5 treebuilder in favour of domino's
** T113322: Use the mediawiki-title library instead of
* service-runner:
*          Parsoid-homegrown title normalization code.
** T90668 : Replace custom server.js with service-runner
** Remove html5 treebuilder in favour of domino's
** T141370: Use service-runner's logger as a backend to Parsoid's logger
** service-runner:
** Use service-runner's metrics reporter in the http api
*** T90668 : Replace custom server.js with service-runner
* Extensions:
*** T141370: Use service-runner's logger as a backend to
** T48580, T133320: Allow extensions to handle specific contentmodels
*            Parsoid's logger
** Let native extensions add stylesheets
*** Use service-runner's metrics reporter in the http api
* Lots of wikitext linter fixes / features.
** Extensions:
API changes:
*** T48580, T133320: Allow extensions to handle specific contentmodels
* T130638: Add data-mw as a separate JSON blob in the pagebundle
*** Let native extensions add stylesheets
* T135596: Return client error for missing data attributes
** Lots of wikitext linter fixes / features.
* T114413: Provide HTML2HTML endpoint in Parsoid
*API changes:
* T100681: Remove deprecated v1/v2 HTTP APIs
** T130638: Add data-mw as a separate JSON blob in the pagebundle
* T143356: Separate data-mw API semantics
** T135596: Return client error for missing data attributes
* Add a page/wikitext/:title route to GET wikitext for a page
** T114413: Provide HTML2HTML endpoint in Parsoid
* Updates in preparation for supporting version 2.x content in the future -- should be no-op for version 1.x content
** T100681: Remove deprecated v1/v2 HTTP APIs
* Don't expose dev routes in production
** T143356: Separate data-mw API semantics
* Cleanup http redirects
** Add a page/wikitext/:title route to GET wikitext for a page
* Send error responses in the requested format
** Updates in preparation for supporting version 2.x content
Performance fixes:
in the future -- should be no-op for version 1.x content
* Template wrapping: Eliminate pathological tpl-range nesting scenario
** Don't expose dev routes in production
* computeDSR: Fix source of pathological O(n^2) behavior
** Cleanup http redirects
Other fixes:
** Send error responses in the requested format
* Make the http connect timeout configurable
*Performance fixes:
* Prevent JSON.stringify circular refs in template wrapping trace/error logs
** Template wrapping: Eliminate pathological tpl-range nesting scenario
* Fix processing listeners in node v7.x
** computeDSR: Fix source of pathological O(n^2) behavior
*Other fixes:
** Make the http connect timeout configurable
** Prevent JSON.stringify circular refs in template wrapping
trace/error logs
** Fix processing listeners in node v7.x
{{글 숨김 끝}}
{{글 숨김 끝}}
감사합니다.
감사합니다.