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

Merge duplicate FAQ pages about duplicate note types #42

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ warning-policy = "warn"
follow-web-links = true
# sites that block programmatic access
exclude = [ 'quora\.com', 'reddit.com', 'superuser.com', 'github.com/open-spaced-repetition' ]

[output.html.redirect]
# redirect deleted pages to new pages to preserve legacy links
"../note-types-with-strange-names.html" = "../removing-duplicate-note-types.html"
1 change: 0 additions & 1 deletion src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
- [Extra characters appearing on cards](./extra-characters-appearing-on-cards.md)
- [Multiple choice questions](./multiple-choice-questions.md)
- [No cloze found on card](./no-cloze-found-on-card.md)
- [Note types with strange names](./note-types-with-strange-names.md)
- [Printing cards in your collection](./printing-cards-in-your-collection.md)
- [Removing duplicate note types](./removing-duplicate-note-types.md)
- [Some updates were ignored because note type has changed](./some-updates-were-ignored-because-the-note-type-has-changed.md)
Expand Down
12 changes: 0 additions & 12 deletions src/note-types-with-strange-names.md

This file was deleted.

15 changes: 9 additions & 6 deletions src/removing-duplicate-note-types.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Removing duplicate note types

Sometimes you may end up with several note types of the same name. This usually happens due to importing multiple decks, although you can also create a note type with the same name as another one in the Manage Note Types dialog box.
After you have used Anki for a while, you may find you have multiple note types with the same name followed by different characters, like `Basic-908e4`, `Cloze-37a28`, or `Image Occlusion++++`. This can happen when you import a shared deck that uses a note type with the same name as one that is already in your collection, or if you create a note type with a duplicate name. Anki adds characters to the name to avoid merging or overwriting the existing note type.

While this is generally harmless, it can be somewhat annoying if you can't tell which cards belong to which note type, so you can fix it as follows:
While these "duplicate" note types are generally harmless, it can be somewhat confusing if you can't tell which note type you are using. To clean that up, you can do the following:

1. First, confirm that all of the note types with duplicate names are really the same by going to the browser, clicking on each one in turn, and comparing the fields that are shown at the bottom of the window. (If you're not sure, you can also click the Cards button and make sure that the templates are the same as well.) If they're not the same, you should use the Manage Note Types dialog (mentioned in step 2) to rename one to something else instead.
2. In the main Anki window, choose Tools → Manage Note Types. Select one of the duplicate note types, click Rename, and give it a new name (you can change it back later if you wish).
3. Open the browser and click on one of the remaining note types with a duplicate name. Select all the cards, choose Edit → Change Note Type, and select the note type you just renamed for "New note type." Repeat this step as necessary.
4. Close the browser, go back to the Manage Note Types dialog box, and delete the now-unused note types. If you wish, you can change the one you renamed in step 2 back to its original name.
1. Compare the fields, card templates, and styling of each of the note types by clicking <kbd>Fields</kbd> and <kbd>Cards</kbd> in the Manage Note Types window (Notes → Manage Note Types).
* If they are the same, decide which note type to delete and click <kbd>Rename</kbd> to change its name so you will know which one it is (e.g., add `-delete` to the name).
* If they aren't the same, rename one to something more descriptive, and keep them both.
2. In the Browse window, in the left Sidebar, select the note type that you want to delete, then choose Edit → Select All to select all of its notes/cards.
3. Choose Notes → Change Note Type and select the note type that you are keeping from the dropdown on the right side of the screen. \[This step will require a one-way sync the next time you sync with AnkiWeb, so if you have unsynced progress on other devices, you should stop here and get your devices in sync. Anki will give you a warning about this.\] Verify that the fields and templates are mapping as you expect. Click Save.
4. Repeat steps 2 & 3 for any other note types you want to delete.
5. Open the Manage Note Types window again and delete the now-unused note types (each will say it is used by "\[0 notes\]").