Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the API URL of MediawikiApi #24

Merged
merged 2 commits into from
Sep 25, 2016
Merged

Conversation

samwilson
Copy link
Member

This just adds MediawikiApi::getApiUrl() as a means to retrieve
the API URL. Mostly only useful if you've created an object via
MediawikiApi::newFromPage and want to get the URL for use
elsewhere.

This just adds MediawikiApi::getApiUrl() as a means to retrieve
the API URL. Mostly only useful if you've created an object via
MediawikiApi::newFromPage and want to get the URL for use
elsewhere.
* @return string The API URL.
*/
public function getApiUrl()
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bracket should be on the previous line

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! :) Which reminds me, we should add phpcs to this package too...

@addshore
Copy link
Member

bah, looks like the integration tests need to be switched to https :/

@addshore addshore merged commit 480ef23 into addwiki:master Sep 25, 2016
@addshore
Copy link
Member

Thanks for the PR @samwilson !

@samwilson samwilson deleted the apiurl branch April 28, 2017 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants