[Wikidata-bugs] [Maniphest] T364882: Wikidata guided tour doesn't work on mobile, throws production error

2024-05-20 Thread Jdlrobson
Jdlrobson closed this task as "Resolved". Jdlrobson added a project: Verified. Jdlrobson claimed this task. Jdlrobson added a comment. Temporary fix added: https://www.wikidata.org/w/index.php?title=MediaWiki%3AGuidedtour-lib.js&diff=2157177549&oldid=1116872164 Seems to have done the job. Th

[Wikidata-bugs] [Maniphest] T364882: Wikidata guided tour doesn't work on mobile, throws production error

2024-05-14 Thread Pppery
Pppery added a comment. FYI Bene* hasn't been active in years. TASK DETAIL https://phabricator.wikimedia.org/T364882 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Pppery Cc: Bene, Pppery, Aklapper, Jdlrobson, Danny_Benjafield_WMDE, S8321414, As

[Wikidata-bugs] [Maniphest] T364882: Wikidata guided tour doesn't work on mobile, throws production error

2024-05-14 Thread Pppery
Pppery added a comment. The reason for that seems to be that mobile HTML puts the on a different line from the , which confuses the above script. Trivial fix would be to add the singleline flag to the aforementioned regex, there are various other deeper fixes possible. (the regex is pa

[Wikidata-bugs] [Maniphest] T364882: Wikidata guided tour doesn't work on mobile, throws production error

2024-05-14 Thread Pppery
Pppery removed projects: MediaWiki-extensions-GuidedTour, Growth-Team. Pppery added a comment. This seems to be caused by on-wiki code in https://www.wikidata.org/wiki/MediaWiki:Guidedtour-lib.js that is failing to properly split a page into sections when using mobile HTML: var rawSect

[Wikidata-bugs] [Maniphest] T364882: Wikidata guided tour doesn't work on mobile, throws production error

2024-05-14 Thread Jdlrobson
Jdlrobson created this task. Jdlrobson added projects: MediaWiki-extensions-GuidedTour, Wikimedia-production-error, Wikidata. Restricted Application added a subscriber: Aklapper. Restricted Application added projects: Growth-Team, wmde-wikidata-tech. TASK DESCRIPTION **Steps to replicate the is