01.12.2012 Views

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

11.3.1<br />

Storage Options<br />

Underneath <strong>the</strong> edit window, you can initially determine if you wish<br />

to lift <strong>the</strong> edit lock. This lock ensures that <strong>the</strong> edited page is locked<br />

for 60 minutes, meaning all users trying to access <strong>the</strong> page will receive<br />

a corresponding message. In addition, all modifications that<br />

you are currently making to <strong>the</strong> page will be included in <strong>the</strong> last version;<br />

that is, if you discover an error after saving <strong>the</strong> page and correct<br />

it within <strong>the</strong> 60 minutes, a whole new version of <strong>the</strong> page is not<br />

generated for that edit.<br />

Note: The edit lock can, however, be circumvented. If you access a<br />

locked page, you have <strong>the</strong> option “Edit anyway,” with which you<br />

can still make modifications to <strong>the</strong> document.<br />

In order to release <strong>the</strong> page from <strong>the</strong> edit lock before <strong>the</strong> lock period<br />

has expired, activate <strong>the</strong> option “Release edit lock.” Your own modifications<br />

will, however, be collected in a single version.<br />

You can also set <strong>the</strong> edit lock period to fit your needs. To do so,<br />

access <strong>the</strong> file lib/Twiki.cfg and change <strong>the</strong> value of <strong>the</strong> variable<br />

$editLockTime.<br />

You have already seen <strong>the</strong> “Minor changes” option in MediaWiki.<br />

The edit is marked as minor. That means that in TWiki, no<br />

message regarding <strong>the</strong> edit will be generated by <strong>the</strong> WebNotify service<br />

(see Chapter 15.5).<br />

11.3.2<br />

Saving Your Work<br />

You have three easy ways in which to save your work:<br />

� Save: The regular way to save pages. When you use this<br />

method, <strong>the</strong> edit lock is set.<br />

� QuietSave: It has <strong>the</strong> same effect as saving with “Minor<br />

changes” and was introduced for convenience.<br />

� Checkpoint: This is a kind of interim storage. The page is visible<br />

to all in this state. However, you do not leave edit mode, but,<br />

after such a save, can continue working in it.<br />

Edit lock<br />

Minor<br />

changes<br />

11.3 The Edit Window �<br />

�<br />

�<br />

179

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!