\JMediawikiPages
MediaWiki API Pages class for the Joomla Platform.
Synopsis
class JMediawikiPages
extends JMediawikiObject
{
- // Inherited members from JMediawikiObject
- protected JRegistry $options;
- protected JMediawikiHttp $client;
- // methods
- public editPage()
- public deletePageByName()
- public deletePageByID()
- public undeletePage()
- public movePageByName()
- public movePageByID()
- public rollback()
- public changeProtection()
- public getPageInfo()
- public getPageProperties()
- public getRevisions()
- public getPageTemplates()
- public getBackLinks()
- public getIWBackLinks()
- public getToken()
- // Inherited methods from JMediawikiObject
- public void __construct()
- protected string fetchUrl()
- public string buildParameter()
- public Object validateResponse()
Hierarchy
Extends
Members
protected
- $client — JMediawikiHttp
- $options — JRegistry
Methods
public
- changeProtection() — Method to change the protection level of a page.
- deletePageByID() — Method to delete a page.
- deletePageByName() — Method to delete a page.
- editPage() — Method to edit a page.
- getBackLinks() — Method to get all pages that link to the given page.
- getIWBackLinks() — Method to get all pages that link to the given interwiki link.
- getPageInfo() — Method to get basic page information.
- getPageProperties() — Method to get various properties defined in the page content.
- getPageTemplates() — Method to get all page templates from the given page.
- getRevisions() — Method to get a list of revisions.
- getToken() — Method to get access token.
- movePageByID() — Method to move a page.
- movePageByName() — Method to move a page.
- rollback() — Method to undo the last edit to the page.
- undeletePage() — Method to restore certain revisions of a deleted page.
Inherited from JMediawikiObject
protected
- fetchUrl() — Method to build and return a full request URL for the request.
public
- buildParameter() — Method to build request parameters from a string array.
- validateResponse() — Method to validate response for errors