forked from WikiTeam/wikiteam
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport] Add option to disable image file size check (close #170) #228
Merged
robkam
merged 2 commits into
mediawiki-client-tools:python3
from
sian1468:disable-image-verify
Dec 18, 2023
Merged
[Backport] Add option to disable image file size check (close #170) #228
robkam
merged 2 commits into
mediawiki-client-tools:python3
from
sian1468:disable-image-verify
Dec 18, 2023
Conversation
This file contains 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
robkam
approved these changes
Dec 18, 2023
robkam
added a commit
to robkam/mediawiki-dump-generator
that referenced
this pull request
Dec 18, 2023
* explicit path to compress * Support wikis that have an incorrectly configured DH key (mediawiki-client-tools#224) This makes the tool work on https://kol.coldfront.net/thekolwiki, for example * .md link to caps (mediawiki-client-tools#225) One intra-documentation link gave me a 404 so I updated it to the filename. All other markdown links look ok. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Update and remove URLs in test (mediawiki-client-tools#227) I found some URLs in test file have redirect to non wiki URL so I update and remove it for avoid unnecessary error when running check. * [Backport] Add option to disable image file size check (close mediawiki-client-tools#170) (mediawiki-client-tools#228) This commit is backport from [saveweb/wikiteam3](https://github.com/saveweb/wikiteam3) all credit goes to the original author. Close mediawiki-client-tools#170 Fix size mismatch error when some wiki do server-side image resizing/compression without re-upload/update data in wiki. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Fix error in commit 265855d (mediawiki-client-tools#229) In commit 265855d, I forget to change MediaWiki version in site_info_test.py so this commit fix this problem. Also I change function name in this file from `test_mediawiki_1_16` to `test_mediawiki_version_match` to make it clear what it really does. * get latest changes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * sync with upstream (#8) * uploader might want to compare new archive with trailing cruft in prefix filename * disable SSL certificate verification --------- Co-authored-by: Samuel Gaus <sam@gaus.co.uk> Co-authored-by: E. Seiver <ellis.seiver@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: sian1468 <58017832+sian1468@users.noreply.github.com>
robkam
added a commit
to robkam/mediawiki-dump-generator
that referenced
this pull request
Dec 18, 2023
* Support wikis that have an incorrectly configured DH key (mediawiki-client-tools#224) This makes the tool work on https://kol.coldfront.net/thekolwiki, for example * .md link to caps (mediawiki-client-tools#225) One intra-documentation link gave me a 404 so I updated it to the filename. All other markdown links look ok. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Update and remove URLs in test (mediawiki-client-tools#227) I found some URLs in test file have redirect to non wiki URL so I update and remove it for avoid unnecessary error when running check. * [Backport] Add option to disable image file size check (close mediawiki-client-tools#170) (mediawiki-client-tools#228) This commit is backport from [saveweb/wikiteam3](https://github.com/saveweb/wikiteam3) all credit goes to the original author. Close mediawiki-client-tools#170 Fix size mismatch error when some wiki do server-side image resizing/compression without re-upload/update data in wiki. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Fix error in commit 265855d (mediawiki-client-tools#229) In commit 265855d, I forget to change MediaWiki version in site_info_test.py so this commit fix this problem. Also I change function name in this file from `test_mediawiki_1_16` to `test_mediawiki_version_match` to make it clear what it really does. * get latest changes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * sync with upstream (#8) * uploader might want to compare new archive with trailing cruft in prefix filename * disable SSL certificate verification --------- Co-authored-by: Samuel Gaus <sam@gaus.co.uk> Co-authored-by: E. Seiver <ellis.seiver@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: sian1468 <58017832+sian1468@users.noreply.github.com>
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 commit is backport from saveweb/wikiteam3 all credit goes to the original author.
Close #170
Fix size mismatch error when some wiki do server-side image resizing/compression without re-upload/update data in wiki.