[Bf-docboard] Fw: Extract all wiki.blender.org links/sub-pages
hewi jupama
hewi at jupama.org
Fri Jan 8 15:58:05 CET 2016
Hey Saper,
Thank you so much for your feed-back. Very interesting, helpfull and big time appreciated!
The most interesting is the list of pages. While the link "http://wiki.blender.org/index.php/Special:AllPages" is very helpful, I would preferably like to see it being generated as a simple txt file. Easier to parse you know. Unfortunatelly, I can not seem to work the php script of the API to start enumerating all pages. Even though I have logged in. Some advise regarding this issue?
Final question is regarding the menu on the left. It is always the same, content independent. How is this menu generated? Is it fixed or can it be altered? eg there is currently already blender 2.7 and soon 2.8, where do these live?
Thanks again for your time and energy
regards
Hewi
______________________________________
From: bf-docboard-bounces at blender.org <bf-docboard-bounces at blender.org> on behalf of Marcin Cieslak <saper at saper.info>
Sent: 02 January 2016 22:54
To: Blender Documentation Project
Subject: Re: [Bf-docboard] Fw: Extract all wiki.blender.org links/sub-pages
On Sat, 2 Jan 2016, hewi jupama wrote:
> Trying to find structure in the wiki.blender.org site, I am trying
> to extract all sub pages, so to find out what lives there. Is there
> someone with the power of generating such a list (or learn me how to
> fish and create it myself)?
wiki.blender.org runs MediaWiki, which has lots of features
to access its data in a number of different ways.
http://wiki.blender.org/index.php/Special:Statistics
says that there are now:
Content pages 9,953
Pages (All pages in the wiki, including talk pages, redirects, etc.) 51,618
Uploaded files 16,506
You can see all the pages on a wiki by watching:
http://wiki.blender.org/index.php/Special:AllPages
this list would be normally too long so you are offered groups
sorted alphabetically.
There is a special page that allows you to export
arbitrary part of the wiki's content in its source
form:
http://wiki.blender.org/index.php/Special:Export
If you would like to list, process and download wiki
content using some kind of a script or a program,
MediaWiki offers a great API interface:
http://wiki.blender.org/api.php
For example this query starts to enumerate wiki pages:
http://wiki.blender.org/api.php?action=query&generator=allpages
You might want to use a registered wiki account to have larger
transfer limits.
MediaWiki handbook:
https://meta.wikimedia.org/wiki/Help:Contents
API documentation:
https://www.mediawiki.org/wiki/API:Main_page
Saper
_______________________________________________
Bf-docboard mailing list
Bf-docboard at blender.org
http://lists.blender.org/mailman/listinfo/bf-docboard
More information about the Bf-docboard
mailing list