mw/ApiRequest~TemplateRequest(env, title, oldid)

Show:

new TemplateRequest(env, title, oldid)

Template fetch request helper class.

Template fetch request helper class.

Parameters:
Name Type Description
env MWParserEnvironment
title string

The template (or really, page) we should fetch from the wiki.

oldid string

The revision ID you want to get, defaults to "latest revision".

Source:

Extends