前言介紹
- 這款 WordPress 外掛「Post Forking」是 2012-09-19 上架。
- 目前有 30 個安裝啟用數。
- 上一次更新是 2013-09-26,距離現在已有 4237 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.5 以上版本才可以安裝。
- 有 5 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
jorbin | benbalter | danielbachhuber |
外掛標籤
forks | posts | forking | collaboration | version control |
內容簡介
,WordPress Post Forking 是一款外掛,讓使用者可以創建一個替代版本的內容,以促進 WordPress 內容管理的協作方法。例如,可以允許外部用戶(例如訪問您網站的訪客)或內部用戶(例如其他作者)提交建議的修改,甚至可以在較小或單一作者的網站上使用,以使文章作者能夠編輯已發布的文章,而它們的變更不會立即顯示 。如果您熟悉 Git 或其他分散式版本控制系統,那麼您已經熟悉 WordPress Post Forking。
您可以如何使用它?
- 讓沒有編輯或發布文章能力的用戶編輯和提交對內容的變更(類似於 GitHub 的 pull request 系統)
- 協作編輯(通過解決兩個用戶之間的衝突)
- 將已發佈內容的保存草稿變更
- 編排已發佈內容的待審變更
它如何運作?
當沒有 edit_post 權限的用戶嘗試編輯某篇文章時,WordPress 將自動創建一個後退或另一個版本的文章,用戶可以自由編輯。編輯畫面將與其熟悉的標準文章編輯界面相同。完成後,他們只需點擊「提交查看」。此時,分叉進入標準 WordPress 審核隊列(就像任何沒有 publish_post 權限提交文章的作者一樣),編輯人員可以審核並可能批准更改以發布。如果更改可以自動合併,則原始文章將被更新,否則編輯人員將提供解決衝突變更的功能。所有這些都使用 WordPress 內置的自定義文章類型、修訂版本和差異功能完成,因此它應該對大多數 WordPress 用戶來說很熟悉。
概念
WordPress Post Forking 將 Git 的許多成熟慣例引入了 WordPress,因此使用獨特的詞彙來描述它的功能:
- 文章 - 使用 post_content 字段的任何 WordPress 文章,包括文章、頁面和自定義文章類型
- 分叉 - 克隆的文章,旨在進行編輯,而不干擾父文章
- 分支 - 同一父文章的並行版本,由文章作者擁有
- 合併 - 將分叉的更改推回其父文章
- 衝突 - 當文章被分叉時,如果對分叉進行了特定行的更改,並且在合併之前在父文章上編輯了相同行,則無法自動合併該文章,並將冲突呈現給合併者進行解決。
為什麼需要這個外掛?
這是一個初始版本,旨在展示外掛的核心功能,並希望隨著專案的發展進行進一步改進和精煉。請考慮捐助您的時間以幫助改善專案。
更多資訊。
原文外掛簡介
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?
GitHub for Journalism — What WordPress Post Forking could do to Editorial Workflows
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]
How To Contribute
Post Forking is an open source project and is supported by the efforts of an entire community. We’d love for you to get involved. Whatever your level of skill or however much time you can give, your contribution is greatly appreciated.
Everyone – Help expand the project’s documentation wiki and answer questions in the support forums to make it easier for other users to get started, or join the discussion on the P2 (Blog) to help shape the project’s future.
Users – Download the latest development version of the plugin, and submit bug/feature requests.
Non-English Speakers – Contribute a translation using the GlotPress web interface – no technical knowledge required (how to).
Technical Folks – Fork the development version and submit a pull request, especially for any known issues. This tutorial may be helpful if you’re new to git.
Roadmap
Future Features (Maybe):
Front end editing (just click edit, make your change, hit submit)
Ability to fork more than just the post_content (e.g., taxonomies, post meta)
Appending parent revision history to fork
Spoofing post_type so metaboxes, etc. appear
Author pages for fork contributors
Open Enhancements
Under The Hood
** Warning: geek content! **
Forking a post creates a copy of the most recent version of the post as a “fork” custom post type. Certain fields (e.g., post_content, post_title) are copied over to the new fork. The plugin also stores the revision ID for the revision prior to when the fork was created (see includes/revisions.php for more information as to why we store the previous revision).
The fork post type has its own capabilities, allowing a user without the ability to edit or publish on the parent post to edit a fork. Once changes have been made, assuming the user does not have the publish_fork capability, the user would submit the fork for review (similar to submitting a Pull Request in GitHub parlance) using the normal WordPress moderation system.
Publishing a fork (either by the fork author, if they have the capability, or my an editor) triggers the merge itself. The post content of the fork undergoes a three way merge with the base revision and current version of the parent post.
A fork can have three post statuses:
Draft – The fork is being edited
Pending – The fork has been submitted for publication
Published – The fork has been merged
Note: No user should have the edit_published_fork capability. Once published, the fork post_type simply exists to provide a record of the change and allow the author page, to theoretically list contributions by author.
Where To Get Support Or Report An Issue
There are various resources available, depending on the type of help you’re looking for:
For getting started and general documentation, please browse, and feel free to contribute to the project wiki.
For support questions (“How do I”, “I can’t seem to”, etc.) please search and if not already answered, open a thread in the Support Forums.
For technical issues (e.g., to submit a bug or feature request) please search and if not already filed, open an issue on GitHub.
For implementation, and all general questions (“Is it possible to..”, “Has anyone…”), please search, and if not already answered, post a topic to the general discussion list serve
For general discussion about the project and planning, please see the P2
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Post Forking」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
WP Shortcodes Plugin — Shortcodes Ultimate 》Shortcodes Ultimate 是一個全面的視覺與功能性元素收集,您可以在文章編輯器、文字小工具甚至是範本檔案中使用。使用 Shortcodes Ultimate,您可以輕鬆地建...。
Post Duplicator 》這個外掛是用來製作選定文章的完全一模一樣複製。它支援自訂文章類型、自訂分類和自訂欄位。, *注意: 評論不會被複製到新文章。, 這個外掛的目的是為了快速且...。
GenerateBlocks 》將不同的功能整合至編輯器,但並不會因為過多的一維方塊造成內容過於臃腫。使用 GenerateBlocks,您只需深入學習少量的方塊,即可用於創建任何內容。, Genera...。
YARPP – Yet Another Related Posts Plugin 》WordPress 相關文章外掛, Yet Another Related Posts Plugin (YARPP) 是一個經過專業維護、高度自訂和功能豐富的外掛程式,可以顯示與當前文章相關的頁面、文...。
WP Meta and Date Remover 》移除點擊文章的Meta、作者和日期。 安裝、啟用,完成!, 如何移除文章和頁面的作者Meta和日期?, , 安裝 WP Meta and Date remover。, 啟用外掛。, 選擇隱藏...。
WordPress Popular Posts 》WordPress Popular Posts 是一個高度可定製的小工具,可以顯示您最受歡迎的文章。, 主要特點, , 多小工具功能 – 您可以在您的博客上擁有多個 WordPress...。
Public Post Preview 》此外掛可讓您分享一個鏈接給匿名使用者,以便他們在發布前預覽文章(或其他公開文章類型)。, 您是否曾經與沒有訪問您網站權限的人共同撰寫文章,並需要給予...。
List category posts 》List Category Posts 可以讓你透過使用 [catlist] 短碼在文章或頁面中按類別列出文章。在編輯頁面或文章時,直接插入短碼到文章中,文章就會被列出來。基本的...。
Display Posts – Easy lists, grids, navigation, and more 》Display Posts 讓您輕鬆地列出網站上的所有內容。首先在內容編輯器中新增此短碼,以列出最近的文章清單:, [display-posts], , 按類別篩選, 若只想顯示特定類...。
CMS Tree Page View 》將所有頁面和自訂文章以 CMS 樹狀概覽方式添加到 WordPress,類似於專注於頁面的 CMS 中經常找到的檢視方式。, 如果您的目標是將多個內容類型合併到單一檢視...。
Category Posts Widget 》Category Posts Widget是一個輕巧的小工具,設計用於一件事並且做得很好:顯示特定類別中最新的文章。, 基於詞語和類別的文章小工具, 這個免費小工具的高級版...。
WP Telegram (Auto Post and Notifications) 》完美整合 Telegram 至 WordPress,讓您完全掌握控制。, Telegram 的卓越 LIVER 支援, 加入聊天室, 我們在 Telegram 上有一個公開小組,提供協助設置外掛、討...。
WP Admin UI Customize 》, 儀表板, 顯示選項標籤, 輸出 - 元網站, 管理工具列 (Toolbar), 側邊選單 (Side menu), 元箱的管理, 登入畫面, 其他功能, , 這些自訂化都是可以實現的。, , ...。
Ultimate Post Kit Addons For Elementor – (Post Grid, Post Carousel, Post Slider, Category List, Post Tabs, Timeline, Post Ticker and Tag Cloud) 》Ultimate Post Kit Elementor 外掛程式是首個允許您全新且清新地設計部落格網站的外掛程式。這是博客作者、行銷人員和文章類型網站擁有者的最佳工具。, Ultim...。
Reading Time WP 》WP Reading Time 讓你輕鬆地在 WordPress 文章中加入預估閱讀時間。啟用這個外掛會自動在你的文章內容的開始加入閱讀時間。你可以在「閱讀時間」設定中取消這...。