Just implemented hook_admin_paths and added the next paths:

node/*/revisions/*/list
node/*/revisions/*/unpublish
node/*/revisions/*/publish
node/*/revisions/*/compare

Thanks!

Comments

ruloweb’s picture

StatusFileSize
new620 bytes
ruloweb’s picture

StatusFileSize
new683 bytes

Just moving the new hook at the top because it gets conflicts with another patches which adds code to the end of module file.

Any idea if this can be commited? it's just a small change.

damienmckenna’s picture

Title: hook_admin_paths » hook_admin_paths doesn't check node_admin_theme variable
Status: Needs work » Needs review
StatusFileSize
new1.14 KB

The main part of this was already committed via #2680429: Use admin theme for extra node/*/revisions pages, but the variable check wasn't added, so lets just add that part.

damienmckenna’s picture

Parent issue: » #2680413: Plan for Revisioning 7.x-1.10 release
StatusFileSize
new1.14 KB

The main part of this was already committed via #2680429: Use admin theme for extra node/*/revisions pages, but the variable check wasn't added, so lets just add that part.

damienmckenna’s picture

(sorry about the double-post)

The last submitted patch, , failed testing.

Status: Needs review » Needs work

The last submitted patch, 4: revisioning-n2474369-3.patch, failed testing.

damienmckenna’s picture

Status: Needs work » Needs review

The patch failed testing because there are no tests, see #2645590: Ensure that simpletest job doesn't "fail" testing if no tests are present for details.

ruloweb’s picture

Hi Damien, do you think it is ready to commit?

Thanks.

damienmckenna’s picture

FYI we've been running the patch above on a production site for three years.