https://bugzilla.wikimedia.org/show_bug.cgi?id=41441

--- Comment #12 from Bawolff (Brian Wolff) <[email protected]> ---
(In reply to comment #11)
> (In reply to comment #6)
> > Just counting the number of <h2>'s seems wrong, as I'm almost certain there
> > would be exceptions, and lots of them.
> 
> Is this provable across Wiktionaries? I think this is an important point. As
> I
> understand at least the English Wiktionary, they've gone a little buck-wild
> and
> they do enforce rules like this, usually with bots.

That's insane ;) , but if they actually do that, by all means might as well use
it. I guess we could further refine it by checking the section name against a
list of valid languages (although that could be problematic for non en)

The other downside is im not sure how easy it is to get such info out of the
parser. Maybe its recorded somewhere (presumably to make the ToC) but if not
would have to resort to regex which is icky.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to