diff options
author | Ben Coburn <btcoburn@silicodon.net> | 2006-12-07 04:28:25 +0100 |
---|---|---|
committer | Ben Coburn <btcoburn@silicodon.net> | 2006-12-07 04:28:25 +0100 |
commit | 5aa52fafe8be8e728c0d2c9ff12c999e80766127 (patch) | |
tree | 7a7de279d3cc45d91154bbcf01701bbc1c933706 /inc/common.php | |
parent | cd00a03445c6b5dcdaba4631150c3c7e1370f526 (diff) | |
download | rpg-5aa52fafe8be8e728c0d2c9ff12c999e80766127.tar.gz rpg-5aa52fafe8be8e728c0d2c9ff12c999e80766127.tar.bz2 |
identify external edits in UI
Some changes to clearly identify when wiki pages have been edited outside
Dokuwiki. Also correctly attributes external changes from an unknown
author. Avoids sending extra emails when recording old external edits.
Adds a new language string:
$lang['external_edit']
darcs-hash:20061207032825-05dcb-3234bee57cb165c848b33abb9251502589b0f3cb.gz
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/inc/common.php b/inc/common.php index 26a0526b8..93e2df34f 100644 --- a/inc/common.php +++ b/inc/common.php @@ -736,10 +736,7 @@ function saveWikiText($id,$text,$summary,$minor=false){ saveOldRevision($id); // add a changelog entry if this edit came from outside dokuwiki if ($old>$oldRev) { - addLogEntry($old, $id); - // send notify mails - notify($id,'admin',$oldRev,'',false); - notify($id,'subscribers',$oldRev,'',false); + addLogEntry($old, $id, 'E', $lang['external_edit'], '', array('ExternalEdit'=>true)); // remove soon to be stale instructions $cache = new cache_instructions($id, $file); $cache->removeCache(); |