Template:Delete/Revert

From wiki_userHelp
Jump to: navigation, search

Delete/Revert

The rightmost column may contain a button that says either Delete or Revert.

Delete

The delete button appears if your current control level owns the object. Clicking delete brings up the Delete page, from which you can eliminate the object completely. Deletion can't be done if other objects depend on the object you are trying to delete.

The delete button also provides a visual signal as to which objects your current level owns.

Revert

The revert button appears if changes have been made to an object at your current control level, but the current level is not the owner. Clicking revert brings up the Revert page, from which you can undo all changes made at the current level. Values revert to the values inherited from levels above your current level.

For formulas, the changes you revert are nutrient, ingredient, and ratio restrictions, as well any new ratios introduced at the current level. You also revert any changes to formula attributes (like dry matter only, rounding type, and optimum density usage).

For ingredients, the changes you revert are ingredient cost and nutrient values. You also revert any changes to ingredient attributes (like ingredient type, rounding, or cost units).

Notice that even though ingredient costs may be changed in the Workbench while working on one formula, the change affects all formulas that include that ingredient at your current level (and perhaps have other descendant levels that inherit your level's cost). Therefore, reverting a formula does not revert changes to cost. Costs can be reverted only by changing the ingredient itself.

Note that any single change can be reverted by simply blanking out the value and clicking Save. The revert button allows you to revert all changes to an abject at once.

The revert button also provides a visual signal as to which objects have changed.