[Mediawiki-api] Random idea

Platonides platonides at gmail.com
Sun Mar 16 21:34:59 UTC 2008


Ian Cabell wrote:
> Would that be reversable?  where inprop=talkid would return the talk 
> page id if the page given is a main page, and inprop=mainid would return 
> the main page if a talk page is given?
> 
> The other question that comes to mind is - would this work in other 
> spaces?  Like template-space or category-space?
> 
> Thanks!
> --Ian

Instead of mainid, it should be subjectid, for consistence with the 
magic words {{TALKSPACE}} and {{SUBJECTSPACE}} ({{ARTICLESPACE}} is an 
alias for {{SUBJECTSPACE}}, but articleid would be too ambiuous).



More information about the Mediawiki-api mailing list