aboutsummaryrefslogtreecommitdiff
path: root/guidelines/wikipedia/bullets.js
diff options
context:
space:
mode:
authorGravatar Jesse Hallett <jesse@galois.com>2013-12-11 15:17:56 -0800
committerGravatar Jesse Hallett <jesse@galois.com>2013-12-11 15:17:56 -0800
commitaac09743ba9990f0d8a3b0cdcd08acab454062e6 (patch)
tree38525bccb143c9e5960d8a09d1f672c1b833ce60 /guidelines/wikipedia/bullets.js
parent3c27771b28ffc693e784c8646100764108ed82fa (diff)
Wikipedia guideline: minimize uses of bullet points
Diffstat (limited to 'guidelines/wikipedia/bullets.js')
-rw-r--r--guidelines/wikipedia/bullets.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/guidelines/wikipedia/bullets.js b/guidelines/wikipedia/bullets.js
new file mode 100644
index 0000000..80c5c4b
--- /dev/null
+++ b/guidelines/wikipedia/bullets.js
@@ -0,0 +1,8 @@
+exports.name = "Minimize use of bullet points";
+exports.description = "Bullet points should be minimized in the body and lead of the article, if they are used at all.";
+
+exports.rule = function(report) {
+ $5('#mw-content-text > ul, #mw-content-text > ol').each(function() {
+ report.warning('Minimize use of bullet points.', this);
+ });
+};