tips:summary_enforcement
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
tips:summary_enforcement [2011-12-02 03:35] – Updated to use jQuery, for Angua. samwilson | tips:summary_enforcement [2016-03-07 14:19] – [Discussion] 147.65.4.95 | ||
---|---|---|---|
Line 13: | Line 13: | ||
It's possible to modify the code so that a summary is always required, as explained below. | It's possible to modify the code so that a summary is always required, as explained below. | ||
+ | |||
+ | ===== Plugin available ===== | ||
+ | |||
+ | There' | ||
===== Dokuwiki 2011-11-10 “Angua” ===== | ===== Dokuwiki 2011-11-10 “Angua” ===== | ||
Line 31: | Line 35: | ||
}); | }); | ||
function enforceSummary() { | function enforceSummary() { | ||
- | if ($summary.val().length < minSummaryLength && !$minorEdit.is(': | + | if ($summary.val() && |
$summary.addClass(" | $summary.addClass(" | ||
$editButton.attr(" | $editButton.attr(" | ||
Line 257: | Line 261: | ||
</ | </ | ||
--- James 2011/3/9 | --- James 2011/3/9 | ||
+ | |||
+ | Great plugin! | ||
+ | |||
+ | But right now Dokuwiki fills the "Edit Summary" | ||
+ | |||
+ | How do I disable this feature, to enforce a really meaningful summary? | ||
+ | |||
+ | --- Augusto 2016-03-07 | ||
+ |
tips/summary_enforcement.txt · Last modified: 2016-03-07 14:20 by 147.65.4.95