HomePhabricator

* preloadpages : add the possibility to preload templates and langlinks too.

Authored by Nicolas Dumazet <nicdumz@users.mediawiki.org>.

Description

  • preloadpages : add the possibility to preload templates and langlinks too. * Page templates & langlinks methods are changed to be able to returned the preloaded values: they now return lists instead of iterators. * Introducing itertemplates and iterlanglinks, when getting the full list is not important.

https://mediawiki.org/wiki/Special:Code/pywikipedia/6806

Details

Committed
Nicolas DumazetMay 3 2009, 2:34 PM
Parents
rPWBCe57c2c148c96: Link.langlinkUnsafe : A colon doesnt necessarily means a namespace.
Branches
Unknown
Tags
Unknown
ChangeId
None

Event Timeline

Nicolas Dumazet <nicdumz@users.mediawiki.org> committed rPWBCaa8739dc5ff8: * preloadpages : add the possibility to preload templates and langlinks too. (authored by Nicolas Dumazet <nicdumz@users.mediawiki.org>).May 3 2009, 2:34 PM