imported>Took mNo edit summary |
Hoof Hearted (talk | contribs) (Fix links) |
||
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{TOC right}} |
|||
= How To Generate Automatic Wiki Statistics = |
|||
==About the Wikistats project== |
|||
⚫ | |||
When initially created, the [[MetaWikimedia:List of Wikipedias]] by size was compiled and updated by hand. In parallel, [[User:RobiH]] developed the [[MetaWikimedia:List of largest wikis]] out of the existing [[Meatball:BiggestWiki]], and continued updating it by hand. Soon he became fed up with his weekly session surfing through all the statistics pages to update the page counts etc. In this situation he met [[User:mutante]] who offered to write a script at least covering the MediaWikis automatically. Soon this script was deployed for all the Wikimedia Project lists on [[MetaWikimedia:]]. Today almost 20,000 Mediawikis are being updated like this at least every 24 hours. |
|||
===Status=== |
|||
⚫ | |||
Still heavily under construction. See [[Wikistats/ToDo]]. |
|||
=== |
===Goals=== |
||
Our next goals will be to extend these statistics to also cover other Wiki Engines. A first [[User talk:MattisManzel#List of Largest Non-Mediawikis|corresponding]] task was assigned to [[User:MattisManzel]]. |
|||
==How to generate automatic wiki statistics== |
|||
⚫ | |||
====Table structures==== |
|||
--> [[Wikistats/Table structures]] |
--> [[Wikistats/Table structures]] |
||
=== |
====Fill it initially==== |
||
--> [[Wikistats/Wikipedia Languages]] |
--> [[Wikistats/Wikipedia Languages]] |
||
== |
===Keep it updated=== |
||
====script==== |
|||
⚫ | |||
--> [[Wikistats/Update scripts]] |
--> [[Wikistats/Update scripts]] |
||
⚫ | |||
⚫ | |||
Every 4 hours: |
Every 4 hours: |
||
Line 30: | Line 33: | ||
php /var/www/wikistats/update_wikis.php |
php /var/www/wikistats/update_wikis.php |
||
== |
===Display results=== |
||
--> [[Wikistats/Display scripts]] |
--> [[Wikistats/Display scripts]] |
||
== |
===In use=== |
||
*[https://wikistats.wmflabs.org Wikistats 2.2] now lives in [https://labsconsole.wikimedia.org wmflabs]! All fixes and changes are applied there. |
|||
====Old (original) Wikistats==== |
|||
[http://s23.org/wikistats/ http://s23.org/wikistats/] |
[http://s23.org/wikistats/ http://s23.org/wikistats/] |
||
[[List of Wikipedias]], [[ |
[[List of Wikipedias]], [[list of Wikiquotes]], [[list of Wiktionaries]], [[list of Wikibooks]], [[list of Wikisources]], [[list of Wikinews]],... others in [[:Category:Wikistats]] |
||
[http://meta.wikimedia.org/wiki/User_talk:mutante#Comments_.2F_ToDo Meta:User_talk:mutante] |
|||
[[MetaWikimedia:User:Mutante/Wikistats#Comments / ToDo|Meta:User talk:mutante]] |
|||
⚫ | |||
⚫ | |||
See [[Wikistats/ToDo]] to add request for additions or bug fixes. |
|||
{{stub}} |
|||
⚫ | |||
[[Category:Wiki]] |
[[Category:Wiki]] |
||
[[Category:Scripts]] |
[[Category:Scripts]] |
||
⚫ |
Latest revision as of 17:39, 22 November 2022
About the Wikistats project[edit]
History[edit]
When initially created, the MetaWikimedia:List of Wikipedias by size was compiled and updated by hand. In parallel, User:RobiH developed the MetaWikimedia:List of largest wikis out of the existing Meatball:BiggestWiki, and continued updating it by hand. Soon he became fed up with his weekly session surfing through all the statistics pages to update the page counts etc. In this situation he met User:mutante who offered to write a script at least covering the MediaWikis automatically. Soon this script was deployed for all the Wikimedia Project lists on MetaWikimedia:. Today almost 20,000 Mediawikis are being updated like this at least every 24 hours.
Status[edit]
Still heavily under construction. See Wikistats/ToDo.
Goals[edit]
Our next goals will be to extend these statistics to also cover other Wiki Engines. A first corresponding task was assigned to User:MattisManzel.
How to generate automatic wiki statistics[edit]
Create database[edit]
Table structures[edit]
--> Wikistats/Table structures
Fill it initially[edit]
--> Wikistats/Wikipedia Languages
Keep it updated[edit]
script[edit]
cronjob[edit]
Every 4 hours:
crontab -l # m h dom mon dow command 00 */4 * * * /usr/local/sbin/update_all.sh
which calls (among others)
php /var/www/wikistats/update_wikis.php
Display results[edit]
In use[edit]
- Wikistats 2.2 now lives in wmflabs! All fixes and changes are applied there.
Old (original) Wikistats[edit]
List of Wikipedias, list of Wikiquotes, list of Wiktionaries, list of Wikibooks, list of Wikisources, list of Wikinews,... others in Category:Wikistats
ToDo[edit]
See Wikistats/ToDo to add request for additions or bug fixes.