mirror of
https://github.com/zotero/zotero.git
synced 2026-09-27 01:21:27 +00:00
- last-closed -> last-used for citationDialogMode pref value - pref label citationDialogLastClosedMode -> citationDialogLastUsedMode - update Zotero.Prefs version. While migrating, if integration.useClassicAddCitationDialog is true, set integration.citationDialogLastUsedMode to 'library' so the citation dialog opens in library mode on the first run. If citationDialogLastClosedMode pref exists, it is migrated to citationDialogLastUsedMode and cleared - redone logic of extracting the locator to allow for better detection of locators and to not rely on long regular expressions that are hard to troubleshoot. Added tests for it. These are the new rules for extracting locators: - locator value can be either a set of numbers potentially with some punctuation in between OR text surrounded with single or double quotes - locator labels can be typed in any of 3 formats: full (chapter), short (chap.), or short with no punctuation (chap) - locator labels go before the locator values and there may or may not be a space in between. For example, chap.10 is the same as chap. 10. Fixes: #5092 Fixes: #5093 |
||
|---|---|---|
| .. | ||
| components | ||
| content | ||
| resource | ||
| tests | ||
| chrome.manifest | ||
| runtests.sh | ||