Hmm... As far as I known that is not possible. I may be wrong, though, I haven't done very much work with templates.
EdoDodo Sent from my iPhone On 11 Sep 2010, at 09:47 PM, Daniel Mietchen <[email protected]> wrote: > Side question: Is there an on-wiki way (a magic word or so) to detect > whether a certain page is a redirect? Have been looking for such > functionality recently when working on templates. > > Thanks for any pointers, > > Daniel > > On Sat, Sep 11, 2010 at 5:30 PM, Dr. Trigon <[email protected]> wrote: >> I'm already using a lot of slight changes with respect to the code >> given. But I'm trying to "merge" somehow and kill s much of them as >> possible. I would be willing to use the rewrite, but it seams that >> there a lot has changed, despite the fact that it has to be installed >> into the python version (was this done on the toolserver), how are >> different config handeled? >> >> Thanks for your reply and greetings! >> >> >> Am 11.09.2010 17:13, schrieb Merlijn van Deen: >>> Not a stupid question. Yes, that would be faster. Using the API, >>> however, is even better, and this is exactly what is done in the rewrite. >>> As such, I would suggest not to implement this in the trunk - the >>> current version works, albeit slow. If this is really a problem for you, >>> upgrade to the rewrite. >>> >>> Best regards, >>> Merlijn van Deen >>> >>> On 11 September 2010 16:47, Dr. Trigon <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Hello >>> >>> May be this is a stupid question but what about basing >>> 'page.isRedirectPage()' on 'getVersionHistory(revCount=1)' >>> instead of 'get()' because this could be faster for big >>> pages...? >>> >>> Thanks and Greetings! >>> DrTrigon >>> >>> _______________________________________________ >>> Pywikipedia-l mailing list >>> [email protected] >>> <mailto:[email protected]> >>> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l >>> >>> >>> >>> >>> _______________________________________________ >>> Pywikipedia-l mailing list >>> [email protected] >>> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l >> >> >> _______________________________________________ >> Pywikipedia-l mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l >> > > > > -- > http://www.google.com/profiles/daniel.mietchen > > _______________________________________________ > Pywikipedia-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l _______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
