You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <allpages gapfrom="RoadTrip" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1981" ns="0" title="RecentlyPopular">
        <revisions>
          <rev xml:space="preserve">{{TOCright}}
An idea for a MediaWiki module which combines aspects of RecentChanges and PopularPages, showing what is popular only within recent timewindows.


= Why? =
Because [[Special:RecentChanges]] shows per-change view of recent edit history, and [[Special:Popularpages]] shows what has been seen most. Ever. Similarly for [[Special:Mostrevisions]] with edits. Timeframe is not restricted. 

I want to see which pages have been popular by edits (and views, if possible) - but only within recent timeframe windows (last day, week and month)

That way it can be more easily tracked which pages are being updated on the wiki recently, and be reminded of semi-recent projects which may still require work lest they be forgotten about.

= What =
What information to be seen on a Recently Popular page?
* Page name
* count of edits within specified timeperiod (by default: order by this field)
** suboption: ignore minor edits?
* Date/time of most recent edit (esp relative. ie, '4 hours ago')
* Age of page (ie, when was it first created?)
* count of unique contributors within specified time period

== Example view for one week ==
(this example created by hand from the RecentChanges data on 2009Apr07
{|class=&quot;wikitable sortable collapsible&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; border=1 width=&quot;100%&quot; align=right
!# edits||Page||Most recent edit||Most recent contributor||# contributors||Page age
|-
|20||[[SpamHash/NaiveHamTest]]||Apr 7, 09:28||[[User:Nemo|Nemo]]||1||7 days
|-
|12||[[SpamHash]]||Apr 7, 11:28||[[User:Nemo|Nemo]]||1||3 weeks
|-
|9||[[Maildir]]||Apr 2, 15:36||[[User:Nemo|Nemo]]||1||8 days 
|-
|7||[[RecentlyPopular]]||Apr 7, 13:46||[[User:Nemo|Nemo]]||1||1 days
|-
|5||[[Furniture]]||Apr 3, 12:21||[[User:Nemo|Nemo]]||1||13 months
|-
|4||[[CarMod]]||Apr 3, 10:23||[[User:Nemo|Nemo]]||1||14 months
|-
|2||[[ThorxWiki]]||Apr 7, 12:37||[[User:Nemo|Nemo]]||1||16 months
|-
|2||[[NINS]]||Apr 2, 23:46||[[User:Nemo|Nemo]]||1||5 years
|-
|2||[[CompilationCD]]||Apr 2, 10:05||[[User:Nemo|Nemo]]||1||5 years
|-
|2||[[User:Nemo/Geekwatch]]||Apr 2, 10:46||[[User:Nemo|Nemo]]||1||5 days
|}

Note: default order has sub-sorting performed on date of most recent edit. Hidden 'data to sort by' might be useful for sorting on the age of page field. 

This table shows the week. A 'per month' page would collate the same information, but then exclude any pages shown already in the week view (10). Thus [[Chocolate]] (2 edits) and [[User:Nemo]] (4edit) would now make the cut (even though ALL edits on 'Chocolate' were within the week range. Three of the four edits on User:Nemo fell outside the 'week' range), but CompilationCD (5 edits) would be excluded as having been previously seen on the weekly stats.

= How =

== Recent Projects ==
Get recent edits in the last day, and give a 'top 10' pages which have been edited (by count of edits). Then repeat with a top 10 for the last week (excluding any pages previously shown in the per-day top 10), and a top 10 for the last month (again, excluding any previously seen). 

== Recent Popular Pages ==
Do the same but consider views, not edits. (assuming this data is available for views. Views might be only stored as a simple increment which would make this scheme not viable. I consider the edit view to be more useful anyway. (plus: this data is also available through any decent web stats program)

== Additional options ==
* Larger wikis (wikipedias) could benefit from 'last 10 minutes' and 'last hour' views as well. 
* A similar top 10 of reverts could help find edit wars. Especially given wikipedia's [[Wikipedia:Wikipedia:Three-revert rule]]

= More thoughts =
* Some other types of changes are ignored, as they should all be isolated singletons. (should be!)
** Deletions
** Move
** File uploads
** Bias the &quot;weight&quot; of New pages and minor edits
*** new pages count 2 (ie: one for the &quot;new&quot;, one for the content
*** minor edits count as half (or other fraction?) / Multiple sequential minor edits only count as 1. (maybe only sequential minor edits from same contributor!)</rev>
        </revisions>
      </page>
      <page pageid="1754" ns="0" title="Rectangles">
        <revisions>
          <rev xml:space="preserve">Rectangles are rather an interesting shape, no? 

Mostly no, it is true. But they are rather fundamental to most art, architecture, and sense of proportion. 

For example, the Golden Ratio...
: &lt;math&gt;\varphi = \frac{1 + \sqrt{5}}{2}\approx 1.618\,033\dots\,&lt;/math&gt;
...is often claimed to be the most pleasing rectangle to the human eye, with it's proportions to be found everywhere both in nature and human achievement (esp classic architechture)


Now I wonder how that varies significantly from other simple proportions you could construct... (say, pi/2) when it really comes down to it...
: &lt;math&gt;\frac{\pi}{2} \approx 1.570\,796\dots&lt;/math&gt;

...that is less than 3% smaller. 


As a personal note, I much prefer the A-series of paper sizes (Lichtenberg rectangle)...
: &lt;math&gt;\sqrt{2} \approx 1.414\,213\dots&lt;/math&gt;

Finally, I love this quote
&gt;  &lt;Dumont&gt; the users say square crop is the best because it uses the universal constant of &quot;1&quot;, which appears everywhere in nature.

----

So, have any studies ever been done to actually poll people on their most favourable-to-the-eye rectangle?</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>