Page MenuHomePhabricator

Error: Unable to parse title
Closed, ResolvedPublicBUG REPORT

Description

16,264 errors in the last 7 days (meets criteria of holding train) starting on 31st August https://wikitech.wikimedia.org/wiki/Deployments/Holding_the_train

at Title https://en.m.wikipedia.org/w/load.php:687:596
at https://en.m.wikipedia.org/w/load.php:161:461
at PhonosButton https://en.m.wikipedia.org/w/load.php:159:487
at https://en.m.wikipedia.org/w/load.php:412:708
at https://en.m.wikipedia.org/w/load.php:410:460
at https://en.m.wikipedia.org/w/load.php:158:270
at each https://en.m.wikipedia.org/w/load.php:244:221
at init https://en.m.wikipedia.org/w/load.php:158:246
at add https://en.m.wikipedia.org/w/load.php:733:433
at ext.phonos.js https://en.m.wikipedia.org/w/load.php:158:315
at runScript https://en.m.wikipedia.org/w/load.php:11:831
at execute https://en.m.wikipedia.org/w/load.php:13:105
at doPropagation https://en.m.wikipedia.org/w/load.php:5:943
at https://en.m.wikipedia.org/w/load.php:22:700
	
tags

QA Results - Beta

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 955068 had a related patch set uploaded (by Samwilson; author: Samwilson):

[mediawiki/extensions/Phonos@master] Avoid linking to invalid filenames in error message

https://gerrit.wikimedia.org/r/955068

Samwilson subscribed.

Looks like we're trying to create a title while reporting an error with that same title. Instead, we'll catch that error and just show the title and not a link to it.

Change 955068 merged by jenkins-bot:

[mediawiki/extensions/Phonos@master] Avoid linking to invalid filenames in error message

https://gerrit.wikimedia.org/r/955068

Change 955048 had a related patch set uploaded (by Tim Starling; author: Samwilson):

[mediawiki/extensions/Phonos@wmf/1.41.0-wmf.25] Avoid linking to invalid filenames in error message

https://gerrit.wikimedia.org/r/955048

Change 955048 merged by jenkins-bot:

[mediawiki/extensions/Phonos@wmf/1.41.0-wmf.25] Avoid linking to invalid filenames in error message

https://gerrit.wikimedia.org/r/955048

Mentioned in SAL (#wikimedia-operations) [2023-09-06T05:28:11Z] <tstarling@deploy1002> Synchronized php-1.41.0-wmf.25/extensions/Phonos: Fix UBN client-side error from malformed Phonos tags T345672 (duration: 06m 51s)

I've deployed the fix on wmf.25 so the error should go away once this week's train deployment is complete.

The increase in errors was not caused by a train deployment, it was caused by 42e90fc565b6a0231a08138093088a2e0843c4ec.

It's best to avoid reverting that commit, since a revert would break content pages that use the new parser tag.

TheresNoTime lowered the priority of this task from Unbreak Now! to Needs Triage.Sep 6 2023, 10:33 AM
TheresNoTime subscribed.

As fix is deployed

GMikesell-WMF moved this task from QA 🐛 to Done 🏁 on the Community-Tech (CommTech-Kanban) board.
GMikesell-WMF added subscribers: HMonroy, GMikesell-WMF.

@Samwilson and @HMonroy for the information. I did not come across errors when using <phonos file="foo|bar" /> as seen in the screenshots below. The task will be moved to Done. Thanks for all your work!

Status: ✅ PASS
Environment: Beta
OS: macOS Ventura, Windows 11
Browser: Chrome 116, Firefox 116, Edge 116, Safari 16.6
Device: MBP
Emulated Device:Windows 11 Edge from BrowserStack
Test Links:
Previous Patch: https://en.wikipedia.org/wiki/User:GMikesell-WMF/sandbox
Latest Patch: https://en.wikipedia.beta.wmflabs.org/wiki/Phonos_Files

✅AC1:https://phabricator.wikimedia.org/T345672

Previous PatchLatest Patch
2023-09-06_11-32-36.png (1×2 px, 340 KB)
2023-09-06_11-58-27.png (1×3 px, 297 KB)

Thanks for the quick response here! Note this is still an issue in wmf24 so I'm not seeing the errors disappear just yet. If there's any problems with the train you may want to also consider backporting there.
https://logstash.wikimedia.org/goto/bede6c212040408e79e2f247cc9074bd

I'll check again on Friday.