public interface ExpansionCallback
| Modifier and Type | Method and Description |
|---|---|
String |
fileUrl(PageTitle pageTitle,
int width,
int height)
Retrieve the full URL of a file.
|
FullPage |
retrieveWikitext(ExpansionFrame expansionFrame,
PageTitle pageTitle)
Retrieves the latest revision of the article.
|
FullPage retrieveWikitext(ExpansionFrame expansionFrame, PageTitle pageTitle)
String fileUrl(PageTitle pageTitle, int width, int height)
File:En-us-Barack-Hussein-Obama.oggOutput:
http://upload.wikimedia.org/wikipedia/commons/8/82/En-us-Barack-Hussein-Obama.ogg
pageTitle - The title of the file.width - Return a URL to the image scaled to this width. This parameter
is ignored if it is less than 1px.height - Return a URL to the image scaled to this height. This
parameter is ignored if it is less than 1px.Copyright © 2010–2018 University of Erlangen-Nürnberg - Open Source Research Group. All rights reserved.