diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-05-01 21:26:37 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-31 12:11:47 -0300 |
commit | ce56dec7da53739f8c02e6ddf6a8e1ebe4b245b2 (patch) | |
tree | c6695dd99f5d12f09e1b3b18b21280fc0811f942 /src/upd8.js | |
parent | 5bff100c3864c244482c1b690e4cef090076d3ab (diff) |
data: WikiInfo.enableSearch, WikiInfo.searchDataAvailable
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/upd8.js b/src/upd8.js index 258abd95..74f38ece 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -2215,6 +2215,10 @@ async function main() { }); } + wikiData.wikiInfo.searchDataAvailable = + webRouteSources + .some(({to}) => to[0].startsWith('searchData')); + if (stepStatusSummary.performBuild.status === STATUS_NOT_APPLICABLE) { return true; } |