Extension:LiquidThreads/API
From MediaWiki.org
LiquidThreads adds a 'threads' list module to retrieve thread details.
Parameters
thstartid: The thread id to start enumerating fromthendid: The thread id to stop enumerating atthdir: The direction in which to enumerate (older, newer)thshowdeleted: ???thlimit: The maximum number of threads to listthprop: Which properties to getthpage: Limit results to threads on a particular page(s)thauthor: Limit results to threads by a particular author(s)throot: Limit results to threads with the given root(s)thsummary: Limit results to threads corresponding to the given summary page(s)thid: Get threads with the given ID(s)thrender: ???threnderlevel: ???threnderthreadpos: ???threnderthreadcount: ???threndermaxthreadcount: ???threndermaxdepth: ???threnderstartrepliesat: ???
Example Get details of all threads on "Talk:Main Page"
<api> <query> <threads> <thread id="1" subject="test" pagens="1" pagetitle="Talk:Main Page" parent=""> <author id="0" name="127.0.0.1" /> </thread> <thread id="2" subject="foo" pagens="1" pagetitle="Talk:Main Page" parent=""> <author id="0" name="127.0.0.1" /> </thread> <thread id="3" subject="foo" pagens="1" pagetitle="Talk:Main Page" parent="2"> <author id="0" name="127.0.0.1" /> </thread> </threads> </query> </api>
