ritschwumm / commonist Goto Github PK
View Code? Open in Web Editor NEWA file upload tool for mediawiki using its api.php interface
A file upload tool for mediawiki using its api.php interface
The progress bar at the bottom shows '100% of files uploaded', then 'loading gallery', then 'could not update gallery', but in the end no files are uploaded. I haven't changed anything, while last week it worked well.
I want to bug-fix a renderissue: phab:T36947 for more than 2500+[1] svg-files, but there are two problems with upload them with commonist:
Please provide an reasonable upload for minor (but necessary) mass-bug-fix-edits, such as User_talk:JoKalliauer#Text_rendering
Currently a file description page is overwritten upon re-upload without a way to disable this. There should be an option to upload a file but not overwrite the description page.
While there's an upload progress for the current file, there isn't any for the list of selected files.
A simple "File X/Total" would be useful, but a progress bar (based on total size to upload) would be even better if possible.
Analogous to https://phabricator.wikimedia.org/T39925 it would be nice if the commonist would also include the heading into the location template if available in Exif.
In support of https://phabricator.wikimedia.org/T280806....
It seems commonist is doing action=query&prop=info&intoken
queries. Can you update them please?
The name refers to communism, it could offend many people who suffer dictatorial regimes under this ideology. I suggest changing the name to something more neutral
There is no possibility to get binary files.
It is nice that commonist uses EXIF metadata for some fields like the description field.
However, it would be fine if UTF8 characters were accepted correctly.
In German there are some special characters, which are notimported properly from the images (my images and metadata were exported from Lightroom).
BTW: Is there the possibility to import the category as well? If so, from which EXIF-tag?
The issue was raised on Village Pump that large files failed to upload with Commonist.
Hello,
I tried to upload some pictures with Commonist. I launched it via Web Start, filled out the forms and chosed some pictures. Then I pressed the Hochladen-Button and I received the error message:
Hochladen von fehlgeschlagen (Sourced file: jar:http://neonstau.de/commonist/wa/commonist-1.6.1.jar!/image_wikimedia_commons.bpp unknown error: access denied ("java.lang.RuntimePermission" "accesDeclaredMembers"))
How can I fix this?
As can be seen in commonist/src/main/resources/image_wikimedia_commons.bpp, the code exists to allow custom description but is commented out.
I suggest enabling it if there's no problem.
$curl -L -C - 'http://site.net/file.zip' -o ../data/file.zip
My cheatsheet for :
An alternative.
0. Get the main repository ritschwumm/commonist.git:
git clone "https://github.com/<user>/<project>.git"
cd ./<project>/ # here, `git branch` gives "master", you can create an other one to test around
1. Add submodule project2.git to the ./project2place/
folder of your project.git:
git submodule add -- "https://github.com/<project2user>/<project2name>.git" "./project2place/"
2.Commit cycle :
git commit -am "dev,git: add submodule https://github.com/<project2user>/<project2name>.git"
git push
Cloning the repository for git +1.6.5 :
git clone --recursive git://github.com/foo/bar.git
cd bar
Updating repository:
git submodule update --init --recursive
When code is on user's computer, running the installation is up to your project's specifics.
Since Java blocks by default installation from HTTP websites, the user has to add an exception as explained on https://commons.wikimedia.org/wiki/Commons_talk:Commonist/Archive_2#Blocked_!!!
I suggest to use a free Let's Encrypt certificate to support HTTPS.
Since wikimedia 1.27 login fails in a own wiki
"UploadFilesTask.scala:96 login failed NeedToken"
commonist-1.8.0, Java 8.151, MediaWiki 1.27.4, PHP 5.5.9-1ubuntu4.22, PostgreSQL 9.4.15
Is there any chance to fix it?
More details needed?
Thanks a lot.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.