Wed, Apr 18
Playing selected text may also be a bit tricky, since it relies on stopping at a certain time. It may be enough to remove the timeout when pausing and add a new one, using the current time, when resuming.
The debug messages shouldn't show up any more, after the patches above.
Thanks for the feedback, @alanajjar. The issue is not with the text itself (I don't read Arabic, so I couldn't tell), but rather with how the software handles the text.
Tue, Apr 17
Fri, Apr 13
Thu, Apr 12
I've managed to salvage my experimental code and now have a solution up and running locally. What remains is to clean up the code and add stuff like message strings.
Wed, Apr 11
You're right, this works as it should now. Thanks for looking into it, @Etonkovidova.
Tue, Apr 10
The new server is mostly up and running. There are a couple of issues:
- Modules weren't imported to the correct namespace and need to be moved. This doesn't affect the demo pages, so I'd say it's not critical.
- Debug messages are inserted in the HTML, making it look weird and breaks Wikispeech. The workaround for this is to disable secure login (which caused a warning message). Getting help in Discourse: https://discourse-mediawiki.wmflabs.org/t/debug-messages-prepended-to-html/411?u=sebastian-wmse.
Mon, Apr 9
Thu, Apr 5
Wed, Apr 4
Tue, Apr 3
This has apparently been fixed at some point, as the version currently running at the demo server (1929c06) doesn't have this issue.
The patch above introduces the polyfill solution proposed in T140539#4091055.
@Lokal_Profil, have you had time to take a look at the status on the patch? There are some comments, but last we spoke about it, it sounded like you hadn't looked at the whole thing.
Changing status to reflect that I haven't worked on this for a while.
Thu, Mar 29
@Lokal_Profil and I discussed how we can move forward with making new translators and our proposal is:
- Write translators for the latest version of Zotero, add them to Zotero's translator repo and sync Wikimedia's translator repo, as usual.
- Push patch to Wikimedia's translator repo with code that is compatible with the version of translation-server that Citoid is using.
- Future step: once Wikimedia's translation-server is updated, revert patches for older version.
Wed, Mar 28
Tue, Mar 27
For various reasons. Often it's to add a reference in another task.
The people at Zotero aren't willing to merge the changes that would add backwards compatibility. While understandable, this unfortunately means that the translator won't work with Citoid.
The problem has (hopefully) been found and a fix is in the process of getting deployed. See T188893#4083624 for details.
zotero(2)(+0000001): Translate: Detect using Sveriges radio failed: fileName => Sveriges radio lineNumber => 44 columnNumber => 0 string => TypeError: url.includes is not a function stack => detectWeb@Sveriges radio:44
This broke the detection; not sure why you didn't get that error, @Mvolz.
Mon, Mar 26
I read through the documentation and found a few things:
- Add link to license.
- Possibly add other (alternative) licenses.
Is this something that will be fixed soon? If not, could you tell me what version of the translation-server that is currently used by Citoid, so that I can make the translator compatible.
Is there anything else that needs to be done for this change to take effect? The reference information is still wrong for e.g: https://sv.wikipedia.org/api/rest_v1/data/citation/zotero/https%3A%2F%2Fsverigesradio.se%2Fsida%2Fartikel.aspx%3Fprogramid%3D83%26artikel%3D6865752.