Hi, I'm creating a mediawiki tag extension that takes a list of wiki links and puts them in a table format. If I have the title of the wikipage, is there a convenience provided by the Linker or Skin that will allow me to get the correctly rendered link? Thanks, Garth
On 15/08/07, Garth Patil garthpatil@gmail.com wrote:
I'm creating a mediawiki tag extension that takes a list of wiki links and puts them in a table format. If I have the title of the wikipage, is there a convenience provided by the Linker or Skin that will allow me to get the correctly rendered link?
Linker::makeLinkObj(); use it from the skin, passing a Title object.
For performance reasons, it's a good idea to execute a LinkBatch before calling this en masse, or otherwise updating the LinkCache (e.g. via LinkCache::addGoodLinkObj()/LinkCache::addBadLinkObj()).
Rob Church
mediawiki-l@lists.wikimedia.org