Wikipedia:Bar/Discussioni/Passaggio da Tidy a RemexHTML: c'è del lavoro da fare: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Riga 479:
::{{Ping|Sakretsu}} Looks like it is a PHP parser bug that Tidy covers up but Remex does not. But, since the output from Tidy is not the same as the markup anyway, one option is for us to flag when this kind of table nesting is present in lists and the markup can be fixed. [https://it.wikipedia.org/api/rest_v1/page/html/Federico_II_di_Svevia Parsoid does not have this bug] but for now, the simplest fix would be fix the markup unless we find a quick fix for the PHP parser bug. We can add a linter category to detect this pattern. [[Utente:SSastry (WMF)|SSastry (WMF)]] ([[Discussioni utente:SSastry (WMF)|msg]]) 19:23, 6 dic 2017 (CET)
::{{Ping|Sakretsu}}, {{Ping|Daimona Eaytoy}}, The Parsoid and Linter extension patches have been merged. I've also created the help pages and linked them to [[mw:Help:Extension:Linter]]. The code will be deployed next week and the categories will start populating from Thursday. For all Remex-deployed wikis, we'll also run a script to process all pages and initialize these new categories. I'll notify you all here when that completes. [[Utente:SSastry (WMF)|SSastry (WMF)]] ([[Discussioni utente:SSastry (WMF)|msg]]) 17:34, 8 dic 2017 (CET)
:::::{{Ping|SSastry (WMF)}} Regarding [[:mw:Help:Extension:Linter/multiple-unclosed-formatting-tags|multiple unclosed tags]], it is true that only the effects of small and big tags can stack up, but whenever unclosed tags are two (or four, six, and so on), Tidy interprets them as pairs. This means that when we have, let's say, four start tags, we get a completely [https://it.wikipedia.org/w/index.php?title=Utente:Sakretsu/Sandbox&oldid=93083253&action=parsermigration-edit different result]. As in the example, Remex always underlines everything until the end of the page, whereas Tidy only underlines what is included in each pair. The same goes for the other tags (I've just noticed it thanks to a report from the user Ignazio Cannata about the help page [[Aiuto:Lua#Richiamare_un_modulo_Lua]]). But beware, we get such behaviour only when Tidy can read exactly <open tag>text<open tag>, hence cases like [https://it.wikipedia.org/w/index.php?title=Utente:Sakretsu/Sandbox&oldid=93083663&action=parsermigration-edit this one], [https://it.wikipedia.org/w/index.php?title=Utente:Sakretsu/Sandbox&oldid=93083690&action=parsermigration-edit this one], or [https://it.wikipedia.org/w/index.php?title=Utente:Sakretsu/Sandbox&oldid=93083756&action=parsermigration-edit this one] are safe. Hope it helps.--[[Utente:Sakretsu|Sakretsu]] ([[Discussioni utente:Sakretsu|炸裂]]) 00:02, 9 dic 2017 (CET)
:::{{ping|Sakretsu}} Mi è stato fatto notare che gli archivi degli autoverificati da [[Wikipedia:Autoverificati/Abilitazioni/Archivio/2013-2|qui]] in puoi soffrono di rimpicciolimento. Dando un'occhiata ho visto che mancano puntualmente i tag small di chiusura nelle intestazioni (dopo il link ai blocchi). Al momento non ho modo di indagare se il problema è riconducibile alle casistiche segnalate qui sopra, né posso preparare subito un XML per correggerli, comunque intanto ti segnalo la cosa, evitando di scomodare il buon SSastry per quel che potrebbe essere un problema minore ;-) --[[Utente:Daimona Eaytoy|<span style="color:#696969;font-weight:bold;font-family:Segoe Print">Daimona Eaytoy</span>]] [[Discussioni Utente:Daimona Eaytoy|<span style="color:#000000;font-size:small;font-family:cursive, serif;">(Scrivimi!)</span>]] 10:03, 7 dic 2017 (CET)
::::Direi che sia un comportamento riconducibile a quello degli small segnalati sopra. Per risolvere, si può sostituire <nowiki>{{Utente/Link|*nome utente*|blocchi}})</span> con {{Utente/Link|*nome utente*|blocchi}}</small>)</span></nowiki>.--[[Utente:Sakretsu|Sakretsu]] ([[Discussioni utente:Sakretsu|炸裂]]) 11:29, 7 dic 2017 (CET)