wiki.techinc.nl/tests/phpunit/includes/api/MockApiQueryBase.php
btongminh 1f47c9b9ae Fix capitalization in ApiQueryBase::titlePartToKey()
ApiQueryBase::titlePartToKey now allows an extra parameter that
indicates the namespace in order to properly capitalize the title part.

This allows list=allcategories, list=allimages, list=alllinks,
list=allpages, list=deletedrevs and list=filearchive to
handle case-sensitivity properly for all parameters.

Bug: 25702
Change-Id: Iaa5a71ec536f3716f54bc84b39f645545dfd8660
2013-12-23 12:53:43 -05:00

11 lines
159 B
PHP

<?php
class MockApiQueryBase extends ApiQueryBase {
public function execute() {
}
public function getVersion() {
}
public function __construct() {
}
}