When using the "HELP" button in the Script Commands utility GUI when + is selected, the user will be brought to:
https://community.bistudio.com/wiki/-
instead of
https://community.bistudio.com/wiki/+
Description
Description
Details
Details
- Severity
- Trivial
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Menu UI
Steps To Reproduce
- Launch editor
- Navigate to Tools > Utilities > Script Commands... OR open debug console and run utils 5
- Select "+" in tree view
- Click help
Observed:
Web browser opens to https://community.bistudio.com/wiki/-
Expected:
Web browser opens to https://community.bistudio.com/wiki/+
Additional Information
a3\functions_f\debug\utilities\utility_scriptcommands.sqf has a hashmap that corrects some urls. The map has + twice instead of - being in the map:
private _wikiPageConvert = createHashMapFromArray [ ["||", "a_or_b"], ["!", "!_a"], ["!=", "a_!=_b"], ["#", "a_hash_b"], ["%", "a_%25_b"], ["&&", "a_&&_b"], ["*", "a_*_b"], ["+", "a_+_b"], ["+", "a_-_b"], ////////// Error here ["/", "a_/_b"], [":", "a_:_b"], ["<", "a_less_b"], [">", "a_greater_b"], ["<=", "a_less=_b"], [">=", "a_greater=_b"], ["==", "a_==_b"], [">>", "config_greater_greater_name"], ["^", "a_^_b"] ];
- This map may not need to have + and - anymore as the wiki literally accepts their values now for the wiki endpoint (/+ & /-)
- While a_-_b redirects to https://community.bistudio.com/wiki/-, a_+_b does not redirect to https://community.bistudio.com/wiki/+