Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1172798?usp=email )
Change subject: Fix: add 'application/vue+xml' to MediaWikiKnownTypesTestCase
......................................................................
Fix: add 'application/vue+xml' to MediaWikiKnownTypesTestCase
Bug: T400537
Change-Id: I4b3470b1df436f1f06f1d3830c0ca3494e4aa70d
---
M tests/paraminfo_tests.py
1 file changed, 5 insertions(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/tests/paraminfo_tests.py b/tests/paraminfo_tests.py
index a89bdcd..388c036 100755
--- a/tests/paraminfo_tests.py
+++ b/tests/paraminfo_tests.py
@@ -119,6 +119,7 @@
'text/css',
'text/plain',
]
+
if self.site.mw_version >= '1.36.0-wmf.2':
base.extend([
'application/octet-stream',
@@ -127,6 +128,10 @@
'text/unknown',
'unknown/unknown',
])
+
+ if self.site.mw_version >= '1.45.0-wmf.11':
+ base.append('application/vue+xml') # T400537
+
if isinstance(self.site, DataSite):
# It is not clear when this format has been added, see T129281.
base.append('application/vnd.php.serialized')
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1172798?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I4b3470b1df436f1f06f1d3830c0ca3494e4aa70d
Gerrit-Change-Number: 1172798
Gerrit-PatchSet: 3
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]