Skip to content

Commit

Permalink
allow_empty → allow_blanking
Browse files Browse the repository at this point in the history
  • Loading branch information
kanasimi committed Jan 17, 2024
1 parent b65a3cd commit 2aec528
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Wikiapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -1564,7 +1564,7 @@ await wiki.for_each_page(link_from, page_data => {
// Only needed if you want to modify page.
summary: 'test edit',
// Allow content to be emptied. 允許內容被清空。白紙化。
allow_empty: true,
allow_blanking: true,
// If the content is not changed, using `skip_nochange` will skip the actual edit. Otherwise, a null edit will be made.
skip_nochange: true,
tags: 'bot trial',
Expand Down Expand Up @@ -1632,7 +1632,7 @@ function Wikiapi_for_each_page(page_list, for_each_page, options) {
reject(error);
return;
}
console.error(error);
console.error(typeof error === 'object' ? error : new Error(error));
}
resolve(this);
}
Expand Down
4 changes: 2 additions & 2 deletions docs/Wikiapi.html
Original file line number Diff line number Diff line change
Expand Up @@ -2110,7 +2110,7 @@ <h5>Example</h5>
// Only needed if you want to modify page.
summary: 'test edit',
// Allow content to be emptied. 允許內容被清空。白紙化。
allow_empty: true,
allow_blanking: true,
// If the content is not changed, using `skip_nochange` will skip the actual edit. Otherwise, a null edit will be made.
skip_nochange: true,
tags: 'bot trial',
Expand Down Expand Up @@ -6143,7 +6143,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Tue Jan 16 2024 06:30:49 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Thu Jan 18 2024 05:11:02 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,7 @@ <h5>Examples</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Tue Jan 16 2024 06:30:49 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Thu Jan 18 2024 05:11:02 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ <h2>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Tue Jan 16 2024 06:30:49 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Thu Jan 18 2024 05:11:02 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
6 changes: 3 additions & 3 deletions docs/wikiapi.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -1608,7 +1608,7 @@ <h1 class="page-title">wikiapi.js</h1>
// Only needed if you want to modify page.
summary: 'test edit',
// Allow content to be emptied. 允許內容被清空。白紙化。
allow_empty: true,
allow_blanking: true,
// If the content is not changed, using `skip_nochange` will skip the actual edit. Otherwise, a null edit will be made.
skip_nochange: true,
tags: 'bot trial',
Expand Down Expand Up @@ -1676,7 +1676,7 @@ <h1 class="page-title">wikiapi.js</h1>
reject(error);
return;
}
console.error(error);
console.error(typeof error === 'object' ? error : new Error(error));
}
resolve(this);
}
Expand Down Expand Up @@ -2181,7 +2181,7 @@ <h1 class="page-title">wikiapi.js</h1>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Tue Jan 16 2024 06:30:49 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Thu Jan 18 2024 05:11:02 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down

0 comments on commit 2aec528

Please sign in to comment.