-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Hello, I would like to suggest changing this code:
Line 13 in 183202a
'redirects&origin=*&action=query&prop=extracts&formatversion=2&format=json&exchars=1200&stable=1'; |
The exchars=1200 causes an awkward truncation (in the middle of sentences) of the introduction paragraph in longer Wikibooks entries being transcluded (the "..."), and does not prevent unnecessary later headers from being transcluded in shorter entries, like the "Theory table" (as the actual table does not show up unless you navigate to Wikibooks itself) and "References" section.


As such, perhaps the truncation should be changed to look for the Theory table header itself (there are some entries without this, but they seem to all be short entries essentially consisting of only an intro, which works out with this proposed solution), or some other alternative besides character count? Even removing the truncation all together could work as well, as the textbox already starts collapsed for viewers.
Also, would it be possible to change the text of
"No description of the opening, yet. We're working on it!" |