Skip to content
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
merged 2 commits into from Dec 18, 2023
Merged

[Backport] Add option to disable image file size check (close #170) #228

merged 2 commits into from Dec 18, 2023

Conversation

sian1468
Copy link

@sian1468 sian1468 commented Dec 18, 2023

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.

@robkam robkam merged commit eb6e38e into mediawiki-client-tools:python3 Dec 18, 2023
1 of 6 checks passed
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some images get dropped from the dump
2 participants