Doc: Smart Bookmarks - Missing periods at end of the sentences #682

This commit is contained in:
Patricek (she/her) 2023-04-17 07:36:34 +02:00 committed by GitHub
parent de22277550
commit 770d871fd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ Here's a list of the parameters available that you can look for.
| | | `PLACES_ROOT`: The Places root folder. | | | | `PLACES_ROOT`: The Places root folder. |
| | | `BOOKMARKS_MENU`: The Bookmarks menu. | | | | `BOOKMARKS_MENU`: The Bookmarks menu. |
| | | `TOOLBAR`: The bookmarks toolbar. | | | | `TOOLBAR`: The bookmarks toolbar. |
| | | `TAGS`: Tags | | | | `TAGS`: Tags. |
| | | `UNFILED_BOOKMARKS`: Unfiled bookmarks | | | | `UNFILED_BOOKMARKS`: Unfiled bookmarks |
| `!annotation` | `boolean` | Indicates whether to include or reject items matching the annotation specified by `annotation`. If `true`, items that don't have the specified annotation are rejected. | | `!annotation` | `boolean` | Indicates whether to include or reject items matching the annotation specified by `annotation`. If `true`, items that don't have the specified annotation are rejected. |
| `annotation` | `string` | The annotation to match when querying. | | `annotation` | `string` | The annotation to match when querying. |
@ -113,38 +113,38 @@ The following attributes allow you to control the results more precisely.
| `maxResults` | `unsigned long` | The maximum number of results to return. This doesn't work when sorting by title. The result is `0`, which means that all results are returned. | | `maxResults` | `unsigned long` | The maximum number of results to return. This doesn't work when sorting by title. The result is `0`, which means that all results are returned. |
| `originalTitle` | `string` | Retrieves the original page title. | | `originalTitle` | `string` | Retrieves the original page title. |
| `queryType` | `unsigned short` | The type of search to use when querying the database. This attribute is only honored by query nodes. It's ignored for simple folder queries. | | `queryType` | `unsigned short` | The type of search to use when querying the database. This attribute is only honored by query nodes. It's ignored for simple folder queries. |
| | | `0`: History | | | | `0`: History. |
| | | `1`: Bookmarks | | | | `1`: Bookmarks. |
| | | `2`: Both history and bookmarks (**Not yet implemented** -- see [bug 378798](https://bugzilla.mozilla.org/show_bug.cgi?id=378798)) | | | | `2`: Both history and bookmarks (**Not yet implemented** -- see [bug 378798](https://bugzilla.mozilla.org/show_bug.cgi?id=378798)). |
| `resolveNullBookmarkTitles` | `boolean` | If `true`, bookmarks with null titles get their page titles fetched from history if possible. This doesn't apply to bookmarks with empty titles. The default is `false`. | | `resolveNullBookmarkTitles` | `boolean` | If `true`, bookmarks with null titles get their page titles fetched from history if possible. This doesn't apply to bookmarks with empty titles. The default is `false`. |
| `showSessions` | `boolean` | If `true`, session information is used to group history items. This only makes a difference when sorting by date. The default is `false`. | | `showSessions` | `boolean` | If `true`, session information is used to group history items. This only makes a difference when sorting by date. The default is `false`. |
| `sort` | `unsigned short` | The sort order to use for the results. | | `sort` | `unsigned short` | The sort order to use for the results. |
| | | `0`: Natural bookmark order | | | | `0`: Natural bookmark order. |
| | | `1`: Sort by title, A-Z | | | | `1`: Sort by title, A-Z. |
| | | `2`: Sort by title, Z-A | | | | `2`: Sort by title, Z-A. |
| | | `3`: Sort by visit date, most recent last | | | | `3`: Sort by visit date, most recent last. |
| | | `4`: Sort by visit date, most recent first | | | | `4`: Sort by visit date, most recent first. |
| | | `5`: Sort by uri, A-Z | | | | `5`: Sort by uri, A-Z. |
| | | `6`: Sort by uri, Z-A | | | | `6`: Sort by uri, Z-A. |
| | | `7`: Sort by visit count, ascending | | | | `7`: Sort by visit count, ascending. |
| | | `8`: Sort by visit count, descending | | | | `8`: Sort by visit count, descending. |
| | | `9`: Sort by keyword, A-Z | | | | `9`: Sort by keyword, A-Z. |
| | | `10`: Sort by keyword, Z-A | | | | `10`: Sort by keyword, Z-A. |
| | | `11`: Sort by date added, most recent last | | | | `11`: Sort by date added, most recent last. |
| | | `12`: Sort by date added, most recent first | | | | `12`: Sort by date added, most recent first. |
| | | `13`: Sort by last modified date, most recent last | | | | `13`: Sort by last modified date, most recent last. |
| | | `14`: Sort by last modified date, most recent first | | | | `14`: Sort by last modified date, most recent first. |
| | | `17`: Sort by tags, ascending | | | | `17`: Sort by tags, ascending. |
| | | `18`: Sort by tags, descending | | | | `18`: Sort by tags, descending. |
| | | `19`: Sort by annotation, ascending | | | | `19`: Sort by annotation, ascending. |
| | | `20`: Sort by annotation, descending | | | | `20`: Sort by annotation, descending. |
| `sortingAnnotation` | `string` | The annotation to use when sorting by annotation. | | `sortingAnnotation` | `string` | The annotation to use when sorting by annotation. |
| `type` | `unsigned short` | The type of results to return. | | `type` | `unsigned short` | The type of results to return. |
| | | `0`: Results as URI ("URI" results, one for each URI visited in the range). | | | | `0`: Results as URI ("URI" results, one for each URI visited in the range). |
| | | `1`: Results as visit ("visit" results, with one for each time a page was visited this will often give you multiple results for one URI). | | | | `1`: Results as visit ("visit" results, with one for each time a page was visited this will often give you multiple results for one URI). |
| | | `2`: Results as full visits (like "visit", but returns all attributes for each result) | | | | `2`: Results as full visits (like "visit", but returns all attributes for each result). |
| | | `3`: Results as date query (returns results for given date range) | | | | `3`: Results as date query (returns results for given date range). |
| | | `4`: Results as site query (returns last visit for each url in the given host) | | | | `4`: Results as site query (returns last visit for each url in the given host). |
| | | `5`: Results as date+site query (returns list of hosts visited in the given period) | | | | `5`: Results as date+site query (returns list of hosts visited in the given period). |
| | | `6`: Results as tag query (returns list of bookmarks with the given tag) | | | | `6`: Results as tag query (returns list of bookmarks with the given tag). |
| | | `7`: Results as tag container (returns bookmarks with given tag; for same uri uses last modified. `folder=tag_folder_id` must be present in the query | | | | `7`: Results as tag container (returns bookmarks with given tag; for same uri uses last modified. `folder=tag_folder_id` must be present in the query. |