Good day,
El mié., 29 ene. 2020 a las 19:13, Jefsey (<jefsey(a)jefsey.com>) escribió:
Gentlemen,
I run around 290 small thematic citizen research wikis (nr being
developping) under an old mediawiki version (I fear an upgrading
hassle). In order to simplify their set-up I systemized them in using
a script to build the symbolic directories from a unique central one,
so I only have to build the LocalSettings.php, the images directories
mainly for the wikilogo.gif particular to the site and to enter the
templates manually. To be sure I can move them around without too
much pain and keep them under their own password, I use SQLite .
Round 20 minutes set-up each.
With a friend we would like to transfer all this under MYSQL (or
MariaDB?) in order to share template and WikiDB. Possibly on several
machines. Possibly developping some extension on the middle range.
Possibly transfering further on under another database system (to mix
diffect entries and mail entries). I feel we would first need to
study a conceptual block map of the MediaWiki architecture, internal
exchanges and database requests. Does that exist ?
When it comes to upgrading you may find
<https://www.mediawiki.org/wiki/Manual:Upgrading> useful. Please make
sure you backup the data just in case something goes wrong.
I am not an expert in the MediaWiki architecture area, but perhaps you
could find <https://www.mediawiki.org/wiki/Manual:MediaWiki_architecture>
useful, as well as
<https://www.mediawiki.org/wiki/Manual:Database_layout>.
MariaDB and MySQL (using InnoDB) are the most commonly used database
types <https://www.mediawiki.org/wiki/Manual:MySQL>.
Also, in order to manage the whole thing advisably I
would need two tips:
1. is there a secure/reliable method/extension to protect pages on a
per page basis ?
If as for protection you mean the ability to *see* some wiki pages and
hide others, MediaWiki is intentionally not good at that. As you can
read at <https://www.mediawiki.org/wiki/Extension:Lockdown>, "If you
need per-page or partial page access restrictions, you are advised to
install an appropriate content management package. MediaWiki was not
written to provide per-page access restrictions, and almost all hacks
or patches promising to add them will likely have flaws somewhere,
which could lead to exposure of confidential data. We are not
responsible for anything being leaked, leading to loss of funds or
one's job." I am not sure if that information is still accurate
nowadays though, although I suspect it is.
If however you meant restrict editting wiki pages to some users or
user groups, MediaWiki provides a native protection system which is
described at <https://www.mediawiki.org/wiki/Manual:Protection> and
related pages. The AbuseFilter extension
<https://www.mediawiki.org/wiki/Extension:AbuseFilter> and the
TitleBlacklist (comes with MW 1.21 or higher)
<https://www.mediawiki.org/wiki/Extension:TitleBlacklist> can also
help you further restrict editions or actions in your wiki.
2. how to get on a daily basis the access count of the
wiki pages ?
I suspect you'll need to set up something server-side for that. I
can't remember if MediaWiki comes with a feature that allows you to
get those stats.
Like I said, I'm perhaps not the best contact for this, but I hope the
links provided can help you.
Thank you !
jfc
Best regards, M.