Hey John,
Fellow MediaWiki lover here. I like your ideas, here are some quick thoughts:
1. What about a template like the following
Template Name (L for link, and also short) Template:L
Template Contents: [[{{FULLPAGENAME}}#{{{1|}}}|{{{1|}}}]]
Template Use (where unity is a section on the page) {{L|unity}}
If this generally works, you might want to add some more functionality like:
1. A second input if you want to change what the section reads like; {{L|unity|alternate text}} 2. Probably some better error handling
2. Have you tried transclusion https://www.mediawiki.org/wiki/Transclusion ?
3. I "think" the magic word {{REVISIONSIZE}} gives the byte size of the article. If so, maybe you could use it with some ParserFunctions https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions to calculate an estimated reading time? Example:
This page will take around {{#expr: {{REVISIONSIZE}}/1000 round 1 }} minutes to read.
Cheers, Bryan
On Thu, Nov 16, 2017 at 10:58 PM, Amir E. Aharoni < amir.aharoni@mail.huji.ac.il> wrote:
2017-11-17 8:15 GMT+02:00 John Elliot V jj5@jj5.net:
- For duplicated content it would be handy if you could define a bunch
of "variables" down the bottom of a page and then reference them from elsewhere. I am aware of templates, but those are overkill and difficult to maintain per my use case (my use case is documenting the "purpose" of a computer, I duplicate this in various places, but don't want to maintain templates for that).
Can you give an example of how these "variables" would be different from templates?
- It would be cool if for any given wiki page an "estimated reading
time" could be provided. Along with maybe a word count, character count, etc.
This is a very good idea, and I've been writing a longish proposal for this myself, which I hope to post somewhere very soon.
In the meantime, as a workaround, you can use the reading mode in Firefox for this.
Since I'm here, quick thanks to the MediaWiki community for creating such wonderful wiki software!
Thank you! :)
-- Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי http://aharoni.wordpress.com “We're living in pieces, I want to live in peace.” – T. Moore _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l