offspot / wikifundi Goto Github PK
View Code? Open in Web Editor NEWCreate a pre-configured Mediawiki for offline Wikipedia contribution teaching
Create a pre-configured Mediawiki for offline Wikipedia contribution teaching
And everything needed by the mediawiki should be put inside (images, sqlite file, Localsettings, favicon, ...). Places were things are read should be documented in the README.
Par exemple, dans https://fr.wikipedia.org/w/index.php?title=Projet:WikiFundi_Contenu/Île_Antsoheribory&action=edit
Les catégories île et Madagascar doivent être réinsérées
I am just trying to understand the difference between Kiwix and Wikifundi. With Kiwix I know I need a ZIM file and an executable for offline viewing. With Wikifundi can I reuse the ZIM files I have already downloaded to enable their offline editing?
Add the guide tour extension to the Media Wiki set up.
See https://www.mediawiki.org/wiki/Extension:GuidedTour
It is not possible to access the digital resources (pdf, videos, images, mooc content ) when on an Apple computer. The links and categories appear, but clicking on them does not make any difference. No loading.
The digital resources do display on an iphone though.
We face here two types of users:
Each of them need a README:
Anywhere one could get access to the Wikifundi source code? Or it is yet to be released?
In the online MediaWiki sphere… lost password are recovered by email. No such thing can work here.
However, the issue was reported by many teachers (whose students lost their password and teachers were unhappy to have no way to either recover it, or force it reset).
The window in which WikiFundi opens on an Apple computer is fixed and does not present the regular features of a browser.
The job generates an exception :
[exception] [b913e62a7bee69344936bf96] /index.php?title=Special:RunJobs&title=Special%3ARunJobs&tasks=jobs&maxjobs=1&sigexpiry=1528469540&signature=e7d12bae2eb4bc21c741f002f68b4b5ab1c37c9d Wikimedia\Rdbms\DBUnexpectedError from line 3879 of /var/www/html/includes/libs/rdbms/database/Database.php: DuplicateJob::run: Cannot flush snapshot because writes are pending (JobQueueDB::claimRandom).
If I lauch the maintenance script refreshLinks.php
, I have the pages in catagories, but isn't a good solution.
This problem is already appends in MediaWiki previous versions but fixed in release 29 (I use the 31).
This locallsettings should be included (if exists) in the default Mediawiki Localsettings. Which means that you should have a LocalSettings.php in the image including something like a LocalSettings.custom.php" which might be setup by the container admin in the "data" directory. I think the old Wikifundi examples of Mediawiki instances should already work in that way.
In French : [[Catégorie:Projet WikiFundi Contenu]]
In English : [[Category:WikiProject WikiFundi Content]]
pywikibot seem do not allow delete revision entry, check how it's made in Wikifundi 1.0
Sandiooses reported meeting issues when participants tried to add a source using visual editor. The system actually invite the person to add an online url. And apparently it does not work....
I have not assessed the situation yet. But making a note here to remember looking at it by myself and taking that in consideration in the future (fixing ? adding to a FAQ ? adding to the guide ?)
Flo
and document the default user/password in the README
Either they have been deleted from our new version.
Example :
http://wikifundi-fr.openzim.org/wiki/WikiFundi:Wikipack_Africa
It is as if the system has kept the pages that existed in V1. It did not update them since they do not exist in V2. But they simply should not be there.
Or they exist both under the real title and under the currently one wikipedia title.
Example:
http://wikifundi-fr.openzim.org/wiki/Projet:Wikipack_Africa_Contenu/WikiFundi:Wikipack_Africa
http://wikifundi-fr.openzim.org/wiki/Projet:Wikipack_Africa_Contenu/WikiFundi:Bienvenue
http://wikifundi-fr.openzim.org/wiki/Projet:Wikipack_Africa_Contenu/Aide:Projets_pédagogiques
Are pages that already exist as
http://wikifundi-fr.openzim.org/wiki/WikiFundi:Bienvenue
At the moment, users can upload pictures on the wikifundi. However, there is no default template proposed. So users tend to upload the pictures with no information (description, author, source, licence) whatsoever. This really does not convey the right thing to do it. It does not teach them how important it is. And even knowledgeable people will tend not to put anything. Then when pictures are uploaded on Commons… it is a really an issue as the information is not available. We do need to propose a list of licences during the import, even to upload pictures on WikiFundi and we need to propose a default description template.
In testing WF with groups of people, all users of Ubuntu and some of Android, didn't experience anything on joining the WF hotspot.
I later tested on an Ubuntu machine, the suggestion that one entered http://kiwix in a browser.
Unsuccessful.
As I don't have an Android which fails to display, I couldn't test the above URL.
It is "Kiwix", it should be "WikiFundi"
Those links currently are
Politique de confidentialité À propos de WikiFundi Avertissements Version mobile
They should be
Projet:WikiFundi Contenu/WikiFundi:À propos
Projet:WikiFundi Contenu/WikiFundi:Avertissements généraux
Projet:WikiFundi Contenu/WikiFundi:Nous contacter
Projet:WikiFundi Contenu/WikiFundi:Crédits
Version mobile
I remember that last year, I had to tweak something directly on the host wiki to make that work. But I do not remember what...
Any pointer would be welcome. Kelson, do you remember which page on MediaWiki explained how to do that ?
This is not urgent, but needs to be done before the final export
Basically come back to the default behaviour
So I can start to create Docker images on hub.docker.com for each ot them
http://mediawiki.openzim.org/wiki/Special:UnusedFiles... we should really removed them if they are really unused
Note pour ne pas oublier... de retirer
[[Catégorie:Projet WikiFundi Contenu]]
de toutes les pages importées
By default, php-fpm
has an upload size limit of 2MiB
which seems too short for Wikifundi.
I can't try and run the image creation but looking at the Dockerfile, you did not change this value (ini_set
in LocalSettings.php
should not work by default neither).
You could simply fix this by adding an /etc/php/7.0/fpm/conf.d/90-wikifundi.ini
file:
upload_max_filesize = 100M
post_max_size = 100M
and so one speed up Docker file update
I get this error
MediaWiki internal error.
Original exception: [f02697c9b34db72b9827bbd1] 2018-06-22 11:48:25: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"
Exception caught inside exception handler.
Set $wgShowExceptionDetails = true; and $wgShowDBErrorBacktrace = true; at the bottom of LocalSettings.php to show detailed debugging information.
In testing web page render on a different Samsung Android than in previous issue - with a smaller screen, no buttons were displayed at all, although clicking randomly in the blue box I managed to trigger one of them.
Solution could be rescaling and forcing landscape view as suggested in previous issue.
There are two visuals at the bottom of each page. One is a Creative Commons licence and the other is a powered by mediawiki.
The visual "licence" should be replaced by https://commons.wikimedia.org/wiki/File:A_WikiAfrica_project.png
Deleted files are still kept. They should be deleted.
https://www.mediawiki.org/wiki/Manual:Image_administration#Deletion_of_Archived_Files
to lift size file limit in mirroring
In "broadcasting" WF to a group, some users, on seeing the top button only (when the layout of the button box has been made vertical on their phones) do not realise there are any other buttons below. On re-creating this on a Samsung Android at home, part of the button below is visible. This was not always the case in the group.
Solution would be to let the buttons (and box) shrink and remain in landscape, so that the users are prompted to hold the phone horizontally (once they see the box is too wide for the screen)
.
It's possible with PIL quite easily and should allow us to reduce easily and significantly the overall Wikifundi size by just making a lossless picture optimization.
Here and exmaple:
https://www.softwariness.com/articles/reduce-image-file-sizes-using-python/
MediaWiki has many way to install extension : tarball, git, Composer (script PHP) *. Check if we can use exclusively Composer for all used extension
Problem to generate thumbnail with some SVG file ("Invalid SVG file: Expected tag, got in NS")
I noted this category appeared in red
http://wikifundi-fr.openzim.org/wiki/Catégorie:Pour_en_savoir_plus_sur_WikiFundi
There is no description text.
Whilst the original category on wikipedia did contain text.
https://fr.wikipedia.org/w/index.php?title=Catégorie:Pour_en_savoir_plus_sur_WikiFundi&oldid=149743997
Pages listed within the category are fine. That's the description within the category that is missing.
Whilst I was doing the manuel (in June 2017), I noticed that my changes on WikiFundi were recorded as modifications made in.... January 2017. So the software was displaying a date out of blue, unrelated to the actual date. This need to be seriously checked.
As we do not have a solution built-in by Sloopy I see two potential solution:
Some images seem to have been imported.
Many are missing.
Example : http://wikifundi-fr.openzim.org/wiki/Les_fêtes_en_Tunisie
http://wikifundi-fr.openzim.org/wiki/Île_Antsoheribory
http://wikifundi-fr.openzim.org/wiki/Musée_de_Guellala
http://wikifundi-fr.openzim.org/wiki/Jeux_populaires_sahariens
http://wikifundi-fr.openzim.org/wiki/Fort_de_Médine
http://wikifundi-fr.openzim.org/wiki/Lac_Magui
and setup back at the end.
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.