JJMC89 created this task. JJMC89 added projects: Pywikibot, Pywikibot-Scripts. JJMC89 created this object with edit policy "Members of Project: Trusted-Contributors". Restricted Application added subscribers: pywikibot-bugs-list, Liuxinyu970226, Aklapper.
TASK DESCRIPTION @JJMC89 wrote a Python script using #pywikibot <https://phabricator.wikimedia.org/tag/pywikibot/> and mwparserfromhell <https://github.com/earwig/mwparserfromhell>. It does not cover 1A (below), but that syntax is not common. Questions --------- 1. Is this something that will be useful to keep around for the long term? 2. Given 1, should it be published in #Pywikibot-scripts <https://phabricator.wikimedia.org/tag/pywikibot-scripts/> or elsewhere? [[ https://www.mediawiki.org/wiki/Extension:SyntaxHighlight | SyntaxHighlight ]] deprecations --------------------------------------------------------------------------------------------- 1. The `<source>` tag is deprecated. `<syntaxhighlight>` should be used instead. 1. `{{#tag:source|...}}` → `{{#tag:syntaxhighlight|...}}` too 2. The `enclose` parameter is deprecated. If set to "none" it, should be replaced by the `inline` parameter. Otherwise, it should be removed. ---- - Deprecation announcement: - https://meta.wikimedia.org/wiki/Tech/News/2020/16 - https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html - T237267: Decide the fate of <source> <https://phabricator.wikimedia.org/T237267> - T241636: Syntaxhighlight: Add tracking category when `enclose` is used <https://phabricator.wikimedia.org/T241636> TASK DETAIL https://phabricator.wikimedia.org/T250459 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, bd808, Liuxinyu970226, pywikibot-bugs-list, JJMC89, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
