It would be nice if the message that is sent to watchdog when linkchecker saves a new node revision was ALSO sent to the node revision table, so an admin can easily tell why a new revision was saved. I'll submit a patch later today.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | linkchecker_revision_log.patch | 1.4 KB | bradweikel |
| #2 | linkchecker_revision_log.patch | 901 bytes | bradweikel |
Comments
Comment #1
hass commentedGood idea. We need to get this in - very soon... next release is very close.
Comment #2
bradweikel commentedHere's a patch for the DRUPAL-6--2 branch.
Not sure whether $node->log should be set if a new revision isn't being created. Don't know that it makes much difference either way.
Comment #3
hass commentedIt's new to me that html code can be added to log message. As I know - it need to be plain text?!?
Please provide unified patches.
Comment #4
bradweikel commentedUnified patch attached. I'm always forgetting -U.
The HTML gets filtered to plain text when it's displayed. This way the string gets reused for the watchdog message, which I think is a little cleaner, but you could also create two different strings. Either way is fine - the pro's and con's are marginal either way.
Comment #5
bradweikel commentedOr you could just wrap a check_plain() around the assignment. Let me know if you want me to re-roll it that way.
Comment #6
hass commentedCommitted slightly changed version to all branches.