JMediawikiLinks
class JMediawikiLinks extends JMediawikiObject
MediaWiki API Links class for the Joomla Platform.
Methods
from JMediawikiObject
string
buildParameter(
array $params)
Method to build request parameters from a string array.
from JMediawikiObject
Object
validateResponse(
JHttpresponse $response)
Method to validate response for errors
from JMediawikiObject
object
getLinks(
array $titles,
array $plnamespace = null,
string $pllimit = null,
string $plcontinue = null,
array $pltitles = null,
string $pldir = null)
Method to return all links from the given page(s).
object
getLinksUsed(
array $titles)
Method to return info about the link pages.
object
getIWLinks(
array $titles,
boolean $iwurl = false,
integer $iwlimit = null,
boolean $iwcontinue = false,
string $iwprefix = null,
string $iwtitle = null,
string $iwdir = null)
Method to return all interwiki links from the given page(s).
object
getLangLinks(
array $titles,
integer $lllimit = null,
boolean $llcontinue = false,
string $llurl = null,
string $lllang = null,
string $lltitle = null,
string $lldir = null)
Method to return all interlanguage links from the given page(s).
object
getExtLinks(
array $titles,
integer $ellimit = null,
string $eloffset = null,
string $elprotocol = null,
string $elquery = null)
Method to return all external urls from the given page(s).
object
enumerateLinks(
boolean $alcontinue = false,
string $alfrom = null,
string $alto = null,
string $alprefix = null,
string $alunique = null,
array $alprop = null,
string $alnamespace = null,
integer $allimit = null)
Method to enumerate all links that point to a given namespace.
Details
object
getLinks(
array $titles,
array $plnamespace = null,
string $pllimit = null,
string $plcontinue = null,
array $pltitles = null,
string $pldir = null)
Method to return all links from the given page(s).
object
getIWLinks(
array $titles,
boolean $iwurl = false,
integer $iwlimit = null,
boolean $iwcontinue = false,
string $iwprefix = null,
string $iwtitle = null,
string $iwdir = null)
Method to return all interwiki links from the given page(s).
object
getLangLinks(
array $titles,
integer $lllimit = null,
boolean $llcontinue = false,
string $llurl = null,
string $lllang = null,
string $lltitle = null,
string $lldir = null)
Method to return all interlanguage links from the given page(s).