From aac09743ba9990f0d8a3b0cdcd08acab454062e6 Mon Sep 17 00:00:00 2001 From: Jesse Hallett Date: Wed, 11 Dec 2013 15:17:56 -0800 Subject: Wikipedia guideline: minimize uses of bullet points --- guidelines/wikipedia/bullets.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 guidelines/wikipedia/bullets.js (limited to 'guidelines/wikipedia/bullets.js') 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); + }); +}; -- cgit v1.2.3