[Wikitech-l] MediaWiki train for 1.31.0-wmf.8 is on hold due to a database failure

2017-11-16 Thread Greg Grossmeier
Hello,

There was a badly timed database failure today that has caused all
deployments to be on hold until the situation is resolved.

See: https://phabricator.wikimedia.org/T180714 "db1063 crashed"

The MW Train blocker task, https://phabricator.wikimedia.org/T178635,
will be updated when we move forward.

Sorry for the inconvenience,

Greg

-- 
| Greg GrossmeierGPG: B2FA 27B1 F7EB D327 6B8E |
| Release Team ManagerA18D 1138 8E47 FAC8 1C7D |


signature.asc
Description: PGP signature
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Thoughts for handy features

2017-11-16 Thread John Elliot V
Hey there.

I love MediaWiki and have been using it everywhere for years. Recently
I've been doing some rather major documentation and I realised there
were three features which would be really handy for me (if these or
similar already exist I would love to know!):

1. For links to articles in sections on the same page it would be really
handy if we had syntax like: [[#unity|]] which would auto-complete to
[[#unity|unity]] for you.

2. 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).

3. 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.

Since I'm here, quick thanks to the MediaWiki community for creating
such wonderful wiki software!

Regards,
John Elliot V

-- 
E: j...@jj5.net
P: +61 4 3505 7839
W: https://www.jj5.net/
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Thoughts for handy features

2017-11-16 Thread Amir E. Aharoni
2017-11-17 8:15 GMT+02:00 John Elliot V :

> 2. 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?


> 3. 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

Re: [Wikitech-l] Thoughts for handy features

2017-11-16 Thread Bryan Hilderbrand
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 
?

3. I "think" the magic word {{REVISIONSIZE}} gives the byte size of the
article.  If so, maybe you could use it with some 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.ahar...@mail.huji.ac.il> wrote:

> 2017-11-17 8:15 GMT+02:00 John Elliot V :
>
> > 2. 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?
>
>
> > 3. 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
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Thoughts for handy features

2017-11-16 Thread Prateek Saxena
I have a very dumb script in my common.js for this, look for '//
Reading time' in https://en.wikipedia.org/wiki/User:Prtksxna/common.js

—prtksxna

On Fri, Nov 17, 2017 at 12:40 PM, Bryan Hilderbrand
 wrote:
> 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 
> ?
>
> 3. I "think" the magic word {{REVISIONSIZE}} gives the byte size of the
> article.  If so, maybe you could use it with some 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.ahar...@mail.huji.ac.il> wrote:
>
>> 2017-11-17 8:15 GMT+02:00 John Elliot V :
>>
>> > 2. 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?
>>
>>
>> > 3. 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
>>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l