On Fri, 29 Apr 2016 at 17:08 +0200, Zdzislaw wrote: > hello Phe, > > tool is very useful, > but generated links point "nowhere (404)" if the Pages and Index have > different names (often used on pl ws ), see: > https://tools.wmflabs.org/phetools/not_transcluded/pl.html > and > Poezye_cz._2_(Antoni_Lange).djvu > > where pages Strona:Poezye_cz._2_(Antoni_Lange).djvu/001... are from > Indeks:Poezye_cz._2_(Antoni Lange) > https://pl.wikisource.org/wiki/Indeks%3APoezye_cz._2_%28Antoni_Lange%29 > > so, the tool would have to link to the correct name of the index (also > for Checker) > > regards, > > Z.
Yes, such index are not correctly handled it's stated in the README.txt. Actually deducing index name from page is done by striping the "/*" part of Page: name which is very cheap, but this tool is already enough slow than I need to cache the result and to generate these html page only one per day. I'm unsure how to handle that sort of index without doing a request per Page: not transcluded to get the Index: name. Perhaps I could check if the index doesn't exist and retry by removing the extension ? -- Phe _______________________________________________ Wikisource-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikisource-l
