Is there a simple way to get informations about the site instance, especially Statistics like {{NUMBEROFPAGES}}, {{NUMBEROFARTICLES}}, and so an (listed in the magic words)? Juergen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for the hint. It works with Special:Statistics in de-Wikibooks. Unfortunately, Page.Load gives the full html source (as well as Site.GetWebPage). The numbers are contained in a with several using class attributes. Parsing is possible, but I'm not sure if I want to do so... Juergen
For users who want to do this: the structure of the page (simplified) showing the number of articles:
Is there a simple way to get informations about the site instance, especially Statistics like {{NUMBEROFPAGES}}, {{NUMBEROFARTICLES}}, and so an (listed in the magic words)? Juergen
There are some special pages:
But you'll have to parse them manually.
Thank you for the hint. It works with Special:Statistics in de-Wikibooks. Unfortunately, Page.Load gives the full html source (as well as Site.GetWebPage). The numbers are contained in a with several using class attributes. Parsing is possible, but I'm not sure if I want to do so... Juergen
For users who want to do this: the structure of the page (simplified) showing the number of articles:
Well, alternatively you can create a page like "User:Me/Stats" with contents like this:
It can be parsed much easier, e.g.:
Indeed. Many users show such informations on their user page. Juergen