-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint markdown files using markdownlint
- Loading branch information
1 parent
6f0e195
commit 4b1c8bc
Showing
13 changed files
with
261 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"config": { | ||
"line-length": false, | ||
"header-increment": false, | ||
"first-line-heading": false, | ||
"no-inline-html": false, | ||
"ol-prefix": false, | ||
"no-hard-tabs": false | ||
}, | ||
"globs": [ | ||
"*.md", | ||
"website/docs/*.md" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
Only breaking changes, deprecations and the like are documented in this change log. | ||
|
||
#### 0.11.0 | ||
|
||
- mwn#queryAuthors() now requires `getSiteInfo()` to have run first. Also, it is deprecated in favour of using the `queryAuthors()` method on a page object. | ||
|
||
#### 0.10.0 | ||
|
||
- `loginGetToken()` is now deprecated in favour of `login()` which will now fetch tokens as well. | ||
- TypeScript source files are dropped from the npm package, per the standard practice followed in TypeScript libraries. This should not actually break anything. | ||
- `loginGetToken()` is now deprecated in favour of `login()` which will now fetch tokens as well. | ||
- TypeScript source files are dropped from the npm package, per the standard practice followed in TypeScript libraries. This should not actually break anything. | ||
|
||
#### 0.9.0 | ||
|
||
BREAKING CHANGES: | ||
|
||
- [mwn#rawRequest](https://tools-static.wmflabs.org/mwn/docs/classes/_bot_.mwn.html#rawrequest) now returns the `AxiosResponse` object directly, rather than the `data` part of `AxiosResponse`. | ||
- In cases of error, the shape of the error thrown by [mwn#request](https://tools-static.wmflabs.org/mwn/docs/classes/_bot_.mwn.html#request) is different. | ||
- Earlier: `error.response` was the API response data along with response and request objects, the former making it a cyclic object. | ||
- Now: `error.response` is an object with fields {data, headers, status, statusText} | ||
- [mwn#rawRequest](https://tools-static.wmflabs.org/mwn/docs/classes/_bot_.mwn.html#rawrequest) now returns the `AxiosResponse` object directly, rather than the `data` part of `AxiosResponse`. | ||
- In cases of error, the shape of the error thrown by [mwn#request](https://tools-static.wmflabs.org/mwn/docs/classes/_bot_.mwn.html#request) is different. | ||
- Earlier: `error.response` was the API response data along with response and request objects, the former making it a cyclic object. | ||
- Now: `error.response` is an object with fields {data, headers, status, statusText} | ||
|
||
#### 0.8.0 | ||
|
||
BREAKING CHANGES: | ||
|
||
- For imports in JavaScript, use `const {mwn} = require('mwn');` instead of `const mwn = require('mwn');` | ||
- For imports in JavaScript, use `const {mwn} = require('mwn');` instead of `const mwn = require('mwn');` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Getting started | ||
|
||
Installation: `npm install mwn` | ||
|
||
|
||
Importing mwn: | ||
|
||
In JavaScript: | ||
|
Oops, something went wrong.