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

missing default preference values #17

Open
Ivi104 opened this issue Jun 2, 2021 · 0 comments
Open

missing default preference values #17

Ivi104 opened this issue Jun 2, 2021 · 0 comments

Comments

@Ivi104
Copy link

Ivi104 commented Jun 2, 2021

Greetings! I was intrigued by twinkle starter, and I wanted to adapt other parts of Twinkle to hrwiki.

I'm attempting to have the CSD module work on hrwiki, but I'm having a problem:

I've adapted tagging for CSD, and it works fine, but actual deletion fails.

The error happens in SpeedyCore.ts in line 513 onwards - the messages being requested by getPref() in that part of the code do not have their default values defined in Config.ts - defaultConfig object. As a result, getPrefs returns undefined, and undefined.indexOf(norm) obviously fails.

Please help me resolve this. Thank you!

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

No branches or pull requests

1 participant