Community Wishlist Survey 2020/Wikibooks/Project specific maths commands/macros
Project specific maths commands/macros
- Problem: When writing maths content, frequently used constructions and expressions can be quite long. This makes typing conventions which are used throughout the entire project cumbersome to use. Moreover, changing a notation turns into a correction nightmare, as one has to find all occurrences of the old notation, especially ones containing small deviations. The usual solution in LaTeX would be to define your own macros to abstract these constructions.
- Who would benefit:
- The authors of a project on wikibooks can write more consistent, concise and readable <math> content inside articles.
- The readership sees more consistent notation in articles.
- Proposed solution: Allow project maintainers to add custom entries to the maths configuration which is used in their project. A first solution would be that project administrators can add new LaTeX commands to Extension:Math. A site like b:MediaWiki:Gadgets-definition might be used to add custom LaTeX commands.
A better solution would be that certain LaTeX commands get activated when the current site title match a certain prefix (e.g. the project name). This allows Wikibook projects to add their own LaTeX commands for math formulas. On en.wikibooks.org the LaTeX commands can get activated when the title starts with Social Statistics
. Thus on each page like b:Social Statistics/Chapter 2 of the book b:Social Statistics the project specific commands are activated.
- More comments:
- Phabricator tickets:
- Proposer: GregorAlexandru (talk) 08:52, 8 November 2019 (UTC)
Discussion
- Might be also useful for other Wikimedia projects. For example Wikipedia community can handle the same mathematical notation better and a Wikisource book can better define the same notation for a certain mathematical concept (which might not be in use today). -- Stephan Kulla (talk) 22:39, 8 November 2019 (UTC)
Voting
- Support MichaelSchoenitzer (talk) 23:08, 20 November 2019 (UTC)
- Support GruenerBogen (talk) 16:59, 21 November 2019 (UTC)
- Support Claudia4 (talk) 16:22, 22 November 2019 (UTC)
- Support Zornsches Lemma (talk) 16:30, 22 November 2019 (UTC)
- Support Weltkäfer (talk) 18:33, 22 November 2019 (UTC)
- Support Boehm (talk) 23:40, 22 November 2019 (UTC)
- Support Liuxinyu970226 (talk) 10:19, 24 November 2019 (UTC)
- Support Stephan Kulla (talk) 19:01, 24 November 2019 (UTC)
- Support --Bander7799 (talk) 12:31, 25 November 2019 (UTC)
- Support Geonuch (talk) 12:54, 25 November 2019 (UTC)
- Support 游魂 (talk) 14:22, 25 November 2019 (UTC)
- Support Fuxx (talk) 16:49, 25 November 2019 (UTC)
- Support Андрей Перцев (talk) 17:33, 25 November 2019 (UTC)
- Support Ciao • Bestoernesto • ✉ 18:13, 25 November 2019 (UTC)
- Support Waddie96 (talk) 18:41, 25 November 2019 (UTC)
- Support Fredo 93 (talk) 18:49, 25 November 2019 (UTC)
- Support This idea is very good and important. Klaus.mattis (talk) 18:51, 25 November 2019 (UTC)
- Support Der Annulator (talk) 18:51, 25 November 2019 (UTC)
- Support Jan Kameníček (talk) 20:07, 1 December 2019 (UTC)
- Support Novak Watchmen (talk) 17:27, 2 December 2019 (UTC)