[Proteopedia] Automatic listing of substantial new pages?

Dan Bolser dan.bolser at gmail.com
Tue May 12 15:17:56 EDT 2009


2009/5/12 Dan Bolser <dan.bolser at gmail.com>:
> 2009/5/12 Kevin Karplus <karplus at soe.ucsc.edu>:
>>
>> I don't think that it is the *number* of edits, but the magnitude of
>> the change that is relevant in marking a page as new or an author as a
>> substantial contributor.  I don't know if there is a simple, automatic
>> mechanism for measuring the magnitude of a change.  Obviously, there
>> are tools for determining what change occured, but quantitating that
>> may be tricky.
>
> As far as I can remember, the magnitude of the change is in the
> 'revisions' table of the database.

Yup, its the 'rev_len' field of the revision table:

http://www.mediawiki.org/wiki/Manual:Database_layout
http://www.mediawiki.org/wiki/Manual:Revision_table
http://www.mediawiki.org/wiki/Manual:Revision_table#rev_len


I think it should be relatively easy to write an SQL query to collect
the relevant data from the database.


However, with regard to Eric's suggestion, much of this functionality
is already available in wikis using the 'Dynamic Page List' (DPL)
MediaWiki extension. For example, I use a DPL to list new databases on
the 'main page' of MetaBase (I really have to tidy up that site!):

http://biodatabase.org/index.php/Main_Page


I put a selection of 'list boxes' here:

http://biodatabase.org/index.php/List_boxes


Which makes great reading for anyone interested in learning both DPL
and MediaWiki templating.


All the best,
Dan.

>> Kevin
>>
>> _______________________________________________
>> Proteopedialist-for-users mailing list
>> Proteopedialist-for-users at bioinformatics.org
>> http://www.bioinformatics.org/mailman/listinfo/proteopedialist-for-users
>>
>



More information about the Proteopedialist-for-users mailing list