Add citer-cli#38
Draft
jwilk wants to merge 149 commits into
Draft
Conversation
Sites change frequently and it's hard to keep up with them.
Apparently linux systems cannot process paths containing .. in the middle.
Apparently not supported in git version 2.1.4.
ketab.ir includes isbns for other countries too. Example: 0-7817-8870-6: http://www.ketab.ir/bookview.aspx?bookid=1488857
Using absolute path on toolforge fixes some css/js loading issues when the tool address does not end with a forward slash.
Because of the downsides of `git update-index --skip-worktree config.py`: https://stackoverflow.com/a/55351856/2705757
Thanks to User:Forbes72 for reporting the issue.
Thanks to Forbes72 for reporting this isssue at https://meta.wikimedia.org/w/index.php?diff=19305237&oldid=19178631
Fixes:
FileNotFoundError: [Errno 2] No such file or directory: 'lib/html/en.css'
when current working directory is not the source root directory.
Don't assume anything about cwd
Thanks to use:Quuux for reporting this issue.[1] [1]: https://meta.wikimedia.org/w/index.php?diff=19393311&oldid=19307122
Per recent update on English Wikipedia[1] Thanks to User:Peaceray and daniel-barrows for notifying me about this change. closes 5j9#14
doi.org will automatically redirect to best registration agency. https://citation.crosscite.org/docs.html
forgot to add in the previous commit
require python 3.9
Thanks to User:DanShearer for reporting this issue.[1] [1]: https://meta.wikimedia.org/w/index.php?title=User_talk:Dalba&oldid=23693549#Incorrect_{{citer}}_code_generated_for_URL
Due to false positives: https://meta.wikimedia.org/w/index.php?title=User_talk:Dalba&oldid=23722903#Incorrect_date_generated_for_URL Remove ensani.ir test, the source has changed. Dropping support.
The dict is then converted to scr tuple inside app.py.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a command-line interface.
Useful for people like me who despise web interfaces. Might be also useful for debugging.
The code is not pretty, but hey, it works.
Example: