Thank you! Yes, what a foolish error on my part.
Actually, I never knew that encodeURIComponent doesn't encode single quotes! All fixed now; just had to use doubles instead.
Thanks for finding the bug.
And I see ruwikisource has been added to https://www.wikidata.org/wiki/Q15634466 which is cool.
I'm not sure about dewikisource and the multiple use of Kategorie:Fertig https://de.wikisource.org/wiki/Kategorie:Fertig. Wikidata doesn't like it: "The link dewikisource:Kategorie:Fertig https://de.wikisource.org/wiki/Kategorie:Fertig is already used by item Category:Validated (Q15629403) https://www.wikidata.org/wiki/Q15629403. You may remove it from Category:Validated (Q15629403) https://www.wikidata.org/wiki/Q15629403 if it does not belong there or merge the items if they are about the exact same topic."
Does anyone have some good wikidata-fu they can put into action here? :)
Thanks, sam.
On 12/07/15 21:40, billinghurst wrote:
Sam,
Would you mind checking the code for output, it seems to break on apostrophes, for example the line Mrs. Caudle's curtain lectures [Download EPUB] gives a link https://en.wikisource.org/wiki/Mrs._Caudle (wrong) rather than https://en.wikisource.org/wiki/Mrs._Caudle%27s_curtain_lectures
Thanks. Regards, Billinghurst
On Fri, Jul 10, 2015 at 10:31 PM Sam Wilson <sam@samwilson.id.au mailto:sam@samwilson.id.au> wrote:
Two things about http://tools.wmflabs.org/ws-cat-browser/ — 1. I've changed the ownership of this tool, and it's now at https://github.com/wikisource/ws-cat-browser 2. It's slightly multi-lingual now. At least, it allows browsing of the Italian categories now. All the UI text is still in English I'm afraid. I'd like to add languages, but need to know the names of 'validated works' and root-level categories (e.g. for French it's perhaps "Catégorie:100%", but I'm not really sure; that might be old). Thanks, Sam. _______________________________________________ Wikisource-l mailing list Wikisource-l@lists.wikimedia.org <mailto:Wikisource-l@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/wikisource-l