MediaWiki talk:Gadget-PagePreviews.js
Add topicAppearance
Latest comment: 10 days ago by Ioaxxere in topic Etymology
Bug
[edit]Preview of Proto-Slavic *-a definitions doesn't work, probably due to template {{non-gloss}}
(and {{sufex}}
?). Sławobóg (talk) 19:53, 27 November 2024 (UTC)
- @Sławobóg: Looks totally okay for me: [1] Ioaxxere (talk) 05:14, 28 November 2024 (UTC)
- Now it works for me too, weird. Sławobóg (talk) 08:39, 28 November 2024 (UTC)
Etymology
[edit]The gadget is picking numbered lists in etymology sections, which can never be definitions. Example: *kontija — SURJECTION / T / C / L / 09:06, 18 December 2024 (UTC)
- @Surjection: So the core issue is that we don't have a class like
definition
that can identify a definition, so the code uses the very simple selectorol:not(.references), .ja-see, .zh-see
which works surprisingly well since editors practically never use <ol> elements outside of definitions. I actually think we should continue this convention purely for the sake of consistency. I've edited the entry you linked to use an unordered list and I think it looks a bit better that way. Ioaxxere (talk) 02:30, 19 December 2024 (UTC)