Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Link to the next edit rather than the final edit |
|---|---|
| Timelines: | family | ancestors | descendants | both | andygoth-forum-refactor |
| Files: | files | file ages | folders |
| SHA3-256: |
91a3a600e689794fd27bf2b500a94b8d |
| User & Date: | andygoth 2020-08-22 02:53:56.899 |
Context
|
2020-08-22
| ||
| 03:06 | Guard against an infinite loop in certain pathological edit patterns Closed-Leaf check-in: 71fe590e99 user: andygoth tags: andygoth-forum-refactor | |
| 02:53 | Link to the next edit rather than the final edit check-in: 91a3a600e6 user: andygoth tags: andygoth-forum-refactor | |
| 02:50 | When showing the source of an edited post, show that exact version rather than the newest version check-in: df916a9d01 user: andygoth tags: andygoth-forum-refactor | |
Changes
Changes to src/forum.c.
| ︙ | ︙ | |||
465 466 467 468 469 470 471 |
@ %d(p->pIrt->sid)\
if( p->pIrt->nEdit ){
@ .%.*d(fossil_num_digits(p->pIrt->nEdit))(p->pIrt->rev)\
}
@ </a>
}
| | | | | | | 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 |
@ %d(p->pIrt->sid)\
if( p->pIrt->nEdit ){
@ .%.*d(fossil_num_digits(p->pIrt->nEdit))(p->pIrt->rev)\
}
@ </a>
}
/* If this post was later edited, refer forward to the next edit. */
if( p->pEditNext ){
@ updated by %z(href("%R/forumpost/%S?%s",p->pEditNext->zUuid,zQuery))\
@ %d(p->pEditNext->sid)\
@ .%.*d(fossil_num_digits(p->nEdit))(p->pEditNext->rev)</a>
}
/* Provide a link to select the individual post. */
if( !bSelect ){
@ %z(href("%R/forumpost/%S?%s",p->zUuid,zQuery))[link]</a>
}
|
| ︙ | ︙ |