aboutsummaryrefslogtreecommitdiff
path: root/guidelines/wikipedia/src/bullets.js
diff options
context:
space:
mode:
Diffstat (limited to 'guidelines/wikipedia/src/bullets.js')
-rw-r--r--guidelines/wikipedia/src/bullets.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/guidelines/wikipedia/src/bullets.js b/guidelines/wikipedia/src/bullets.js
new file mode 100644
index 0000000..80c5c4b
--- /dev/null
+++ b/guidelines/wikipedia/src/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);
+ });
+};