return 'csrf';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=block&user=192.0.2.5&expiry=3%20days&reason=First%20strike&token=123ABC'
=> 'apihelp-block-example-ip-simple',
return false;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=clearhasmsg'
=> 'apihelp-clearhasmsg-example-1',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=compare&fromrev=1&torev=2'
=> 'apihelp-compare-example-1',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=createaccount&name=testuser&password=test123'
=> 'apihelp-createaccount-example-pass',
return 'csrf';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=delete&title=Main%20Page&token=123ABC'
=> 'apihelp-delete-example-simple',
return 'csrf';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=edit&title=Test&summary=test%20summary&' .
'text=article%20content&basetimestamp=2007-08-24T12:34:54Z&token=123ABC'
return 'csrf';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=emailuser&target=WikiSysop&text=Content&token=123ABC'
=> 'apihelp-emailuser-example-email',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=expandtemplates&text={{Project:Sandbox}}'
=> 'apihelp-expandtemplates-example-simple',
return $ret;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=feedcontributions&user=Example'
=> 'apihelp-feedcontributions-example-simple',
return $ret;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=feedrecentchanges'
=> 'apihelp-feedrecentchanges-example-simple',
return $ret;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=feedwatchlist'
=> 'apihelp-feedwatchlist-example-default',
return 'csrf';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=filerevert&filename=Wiki.png&comment=Revert&' .
'archivename=20110305152740!Wiki.png&token=123ABC'
return $this->mBuffer;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&meta=siteinfo&siprop=namespaces&format=' . $this->getModuleName()
=> array( 'apihelp-format-example-generic', $this->getFormat() )
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=help'
=> 'apihelp-help-example-main',
return 'csrf';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=imagerotate&titles=File:Example.jpg&rotation=90&token=123ABC'
=> 'apihelp-imagerotate-example-simple',
return 'csrf';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=import&interwikisource=meta&interwikipage=Help:ParserFunctions&' .
'namespace=100&fullhistory=&token=123ABC'
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=login&lgname=user&lgpassword=password'
=> 'apihelp-login-example-gettoken',
return false;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=logout'
=> 'apihelp-logout-example-logout',
}
/** @see ApiBase::getExamplesMessages() */
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=help'
=> 'apihelp-help-example-main',
return 'csrf';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=move&from=Badtitle&to=Goodtitle&token=123ABC&' .
'reason=Misspelled%20title&movetalk=&noredirect='
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=opensearch&search=Te'
=> 'apihelp-opensearch-example-te',
return 'https://www.mediawiki.org/wiki/API:Options';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=options&reset=&token=123ABC'
=> 'apihelp-options-example-reset',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=paraminfo&modules=parse|phpfm|query+allpages|query+siteinfo'
=> 'apihelp-paraminfo-example-1',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=parse&page=Project:Sandbox'
=> 'apihelp-parse-example-page',
return 'patrol';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=patrol&token=123ABC&rcid=230672766'
=> 'apihelp-patrol-example-rcid',
return 'csrf';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=protect&title=Main%20Page&token=123ABC&' .
'protections=edit=sysop|move=sysop&cascade=&expiry=20070901163000|never'
return $result;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=purge&titles=Main_Page|API'
=> 'apihelp-purge-example-simple',
return true;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&prop=revisions&meta=siteinfo&' .
'titles=Main%20Page&rvprop=user|comment&continue='
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=allcategories&acprop=size'
=> 'apihelp-query+allcategories-example-size',
private $propertyFilter = array( 'archivename', 'thumbmime', 'uploadwarning' );
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=allimages&aifrom=B'
=> 'apihelp-query+allimages-example-B',
return $allowedParams;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
$p = $this->getModulePrefix();
$name = $this->getModuleName();
$path = $this->getModulePath();
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&meta=allmessages&refix=ipb-'
=> 'apihelp-query+allmessages-example-ipb',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=allpages&apfrom=B'
=> 'apihelp-query+allpages-example-B',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=allusers&aufrom=Y'
=> 'apihelp-query+allusers-example-Y',
return $retval;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
static $examples = array(
'backlinks' => array(
'action=query&list=backlinks&bltitle=Main%20Page'
return $ret;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
$settings = self::$settings[$this->getModuleName()];
$name = $this->getModuleName();
$path = $this->getModulePath();
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=blocks'
=> 'apihelp-query+blocks-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&prop=categories&titles=Albert%20Einstein'
=> 'apihelp-query+categories-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&prop=categoryinfo&titles=Category:Foo|Category:Bar'
=> 'apihelp-query+categoryinfo-example-simple',
return $ret;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=categorymembers&cmtitle=Category:Physics'
=> 'apihelp-query+categorymembers-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&prop=contributors&titles=Main_Page'
=> 'apihelp-query+contributors-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=deletedrevs&titles=Main%20Page|Talk:Main%20Page&' .
'drprop=user|comment|content'
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&titles=File:Albert_Einstein_Head.jpg&prop=duplicatefiles'
=> 'apihelp-query+duplicatefiles-example-simple',
}
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=exturlusage&euquery=www.mediawiki.org'
=> 'apihelp-query+exturlusage-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&prop=extlinks&titles=Main%20Page'
=> 'apihelp-query+extlinks-example-simple',
) ) );
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&meta=filerepoinfo&friprop=apiurl|name|displayname'
=> 'apihelp-query+filerepoinfo-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=filearchive'
=> 'apihelp-query+filearchive-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=iwbacklinks&iwbltitle=Test&iwblprefix=wikibooks'
=> 'apihelp-query+iwbacklinks-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&prop=iwlinks&titles=Main%20Page'
=> 'apihelp-query+iwlinks-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&titles=File:Albert%20Einstein%20Head.jpg&prop=imageinfo'
=> 'apihelp-query+imageinfo-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&prop=images&titles=Main%20Page'
=> 'apihelp-query+images-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&prop=info&titles=Main%20Page'
=> 'apihelp-query+info-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=langbacklinks&lbltitle=Test&lbllang=fr'
=> 'apihelp-query+langbacklinks-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&prop=langlinks&titles=Main%20Page&redirects='
=> 'apihelp-query+langlinks-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
$name = $this->getModuleName();
$path = $this->getModulePath();
return $ret;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=logevents'
=> 'apihelp-query+logevents-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=pagepropnames'
=> 'apihelp-query+pagepropnames-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&prop=pageprops&titles=Category:Foo'
=> 'apihelp-query+pageprops-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=pageswithprop&pwppropname=displaytitle&pwpprop=ids|title|value'
=> 'apihelp-query+pageswithprop-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=prefixsearch&pssearch=meaning'
=> 'apihelp-query+prefixsearch-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=protectedtitles'
=> 'apihelp-query+protectedtitles-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=querypage&qppage=Ancientpages'
=> 'apihelp-query+querypage-example-ancientpages',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=random&rnnamespace=0&rnlimit=2'
=> 'apihelp-query+random-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=recentchanges'
=> 'apihelp-query+recentchanges-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&prop=revisions&titles=API|Main%20Page&' .
'rvprop=timestamp|user|comment|content'
return $params;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=search&srsearch=meaning'
=> 'apihelp-query+search-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics'
=> 'apihelp-query+siteinfo-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&prop=stashimageinfo&siifilekey=124sd34rsdf567'
=> 'apihelp-query+stashimageinfo-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=tags&tgprop=displayname|description|hitcount'
=> 'apihelp-query+tags-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=usercontribs&ucuser=Example'
=> 'apihelp-query+usercontribs-example-user',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&meta=userinfo'
=> 'apihelp-query+userinfo-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=users&ususers=Example&usprop=groups|editcount|gender'
=> 'apihelp-query+users-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=watchlist'
=> 'apihelp-query+watchlist-example-simple',
);
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=query&list=watchlistraw'
=> 'apihelp-query+watchlistraw-example-simple',
return 'csrf';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=revisiondelete&target=Main%20Page&type=revision&ids=12345&' .
'hide=content&token=123ABC'
return $this->mTitleObj;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=rollback&title=Main%20Page&user=Example&token=123ABC' =>
'apihelp-rollback-example-simple',
return new ApiFormatXmlRsd( $this->getMain(), 'xml' );
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=rsd'
=> 'apihelp-rsd-example-simple',
return $result;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=setnotificationtimestamp&entirewatchlist=&token=123ABC'
=> 'apihelp-setnotificationtimestamp-example-all',
return 'csrf';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=unblock&id=105'
=> 'apihelp-unblock-example-id',
return 'csrf';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=undelete&title=Main%20Page&token=123ABC&reason=Restoring%20main%20page'
=> 'apihelp-undelete-example-page',
return 'csrf';
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=upload&filename=Wiki.png' .
'&url=http%3A//upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png&token=123ABC'
return $this->getUrUser( $params )->getName();
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=userrights&user=FooBot&add=bot&remove=sysop|bureaucrat&token=123ABC'
=> 'apihelp-userrights-example-user',
return $result;
}
- public function getExamplesMessages() {
+ protected function getExamplesMessages() {
return array(
'action=watch&titles=Main_Page&token=123ABC'
=> 'apihelp-watch-example-watch',