jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/386040 )
Change subject: Fix pronunciation parsing ...................................................................... Fix pronunciation parsing Needs updating as a result of a template update: https://en.wikipedia.org/w/index.php?title=Template%3AIPA_audio_link&type=revision&diff=806709058&oldid=783985633 Bug: T178828 Change-Id: I941e17a6a8d81d804d959dc1fa2e5c73ca2e3edf --- M lib/parseProperty.js 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Mobrovac: Looks good to me, but someone else must approve BearND: Looks good to me, approved jenkins-bot: Verified diff --git a/lib/parseProperty.js b/lib/parseProperty.js index 4e49ac5..b5c7d6e 100644 --- a/lib/parseProperty.js +++ b/lib/parseProperty.js @@ -21,7 +21,7 @@ } function parsePronunciation(doc, page) { - const mediaLinkAnchorAfterIPA = 'span.IPA+small.metadata a[rel=mw:MediaLink]'; + const mediaLinkAnchorAfterIPA = 'span.IPA+small a[rel=mw:MediaLink]'; const pronunciationAnchor = doc.querySelector(mediaLinkAnchorAfterIPA); const url = pronunciationAnchor && pronunciationAnchor.getAttribute('href'); page.pronunciation = url && { url }; -- To view, visit https://gerrit.wikimedia.org/r/386040 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I941e17a6a8d81d804d959dc1fa2e5c73ca2e3edf Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/services/mobileapps Gerrit-Branch: master Gerrit-Owner: Mholloway <mhollo...@wikimedia.org> Gerrit-Reviewer: BearND <bsitzm...@wikimedia.org> Gerrit-Reviewer: Dbrant <dbr...@wikimedia.org> Gerrit-Reviewer: Fjalapeno <cfl...@wikimedia.org> Gerrit-Reviewer: GWicke <gwi...@wikimedia.org> Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org> Gerrit-Reviewer: Mhurd <mh...@wikimedia.org> Gerrit-Reviewer: Mobrovac <mobro...@wikimedia.org> Gerrit-Reviewer: Ppchelko <ppche...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits