Post Forking

plugin banner

WordPress Post Forking allows users to "fork" or create an alternate version of content to foster a more collaborative approach to WordPress

Author:Benjamin J. Balter, Daniel Bachhuber, Aaron Jorbin (profile at wordpress.org)
WordPress version required:3.5
WordPress version tested:3.6.1
Plugin version:0.2.1
Added to WordPress repository:20-09-2012
Last updated:26-09-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:5
Plugin URI:http://postforking.wordpress.com
Total downloads:7 054
Active installs:40+
plugin download
Click to start download

WordPress Post Forking allows users to "fork" or create an alternate version of content to foster a more collaborative approach to WordPress content curation. This can be used, for example, to allow external users (such as visitors to your site) or internal users (such as other authors) with the ability to submit proposed revisions. It can even be used on smaller or single-author sites to enable post authors to edit published posts without their changes appearing immediately. If you're familiar with Git, or other decentralized version control systems, you're already familiar with WordPress post forking.

How might you use it?

  • Allowing users without edit or publish post capabilities to edit and submit changes to content (similar to GitHub’s pull request system)
  • Collaborative editing (by resolving two users’ conflicted saves – Wired’s example)
  • Saving draft changes of already-published content
  • Scheduling pending changes to already-published content

How does it work?

When a user without the edit_post capability attempts to edit a given post, WordPress will automatically create a "fork" or alternate version of the post which they can freely edit. The edit screen will look just like the standard post editing interface that they are used to. When they're done, they simply click "submit for review." At this point, the fork goes into the standard WordPress moderation queue (just like any time an author without the publish_post capability submits a post), where an editor can review, and potentially approve the changes for publishing. If the changes can be automatically merged, the original post will be updated, otherwise, the editor will be presented with the ability to resolve the conflicting changes. All this is done using WordPress's built-in custom post type, revision, and diff functionality, so it should look familiar to most WordPress users.

Concepts

WordPress Post Forking introduces many of Git's well-established conventions to the WordPress world, and as a result, uses a unique vocabulary to describe what it does:

  • Post - Any WordPress post that uses the post_content field, including posts, pages, and custom post types
  • Fork - Clone of a post intended for editing without disturbing the parent post
  • Branch - Parallel versions of the same parent post, owned by the post author
  • Merge - To push a fork's changes back into its parent post
  • Conflict - When a post is forked if a given line is changed on the fork, and that same line is subsequently edited on the parent post prior to the merge, the post cannot be automatically merged, and the conflict is presented to the merger to resolve

Why this plugin?

Project Status

This version constitutes an initial release designed to showcase the plugin's core functionality and is intended to be improved upon with additional features and refinements as the project evolves. Please consider contributing your time to help improve the project.

More Information

For more information, or to contribute to this documentation, please visit the Post Forking project wiki.

[Photo courtesy babomike]


FAQ
ChangeLog