Re: [MediaWiki-l] IRC Office Hour

2013-06-19 Thread Greg Grossmeier
This is your friendly 24 hour warning about the IRC office hour for the
release management RFP!

Greg


> We have the date/time for the IRC office hours!
> 
> https://www.mediawiki.org/wiki/Project:Calendar#June_2013
> 
> Thursday June 20th at 17:00 UTC (10:00am Pacific) in #wikimedia-office
> on Freenode.
> 
> Webchat: http://webchat.freenode.net/?channels=wikimedia-office&uio=d4
> 
> We plan on having representatives from both submissions in attendance,
> so please come with your questions ready!
> 
> Best,
> 
> Greg
> 
> 
> > = Office Hours =
> > Next week we will have a IRC "office hour" with myself and Rob Lanphier
> > and the parties who submitted proposals. This is a time for
> > anyone/everyone to ask questions in real time from both the RFP
> > submitters and of us (WMF/Robla and I). This is yet to be scheduled, but
> > it is looking like Wednesday or Thursday (the 19th or 20th) in the
> > morning Pacific time (around 4 or 5pm UTC).
> > 
> > I will send out a note with the final date/time as soon as possible.
> 
> -- 
> | Greg GrossmeierGPG: B2FA 27B1 F7EB D327 6B8E |
> | identi.ca: @gregA18D 1138 8E47 FAC8 1C7D |

-- 
| Greg GrossmeierGPG: B2FA 27B1 F7EB D327 6B8E |
| identi.ca: @gregA18D 1138 8E47 FAC8 1C7D |

___
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Lua: Maintain state between invokes?

2013-06-19 Thread Daniel Friesen
On Wed, 19 Jun 2013 07:06:10 -0700, Stephan Gambke   
wrote:



Hi,

I am struggling with Lua.

Is there a way to somehow maintain the state of the page building
between calls to #invoke? A kind of page-wide variable mechanism or
something like that?

Problem: I have what is basically a bugtracker where each bug is
described on a wiki page. For each state change of the bug (new,
confirmed, fixed, verified, closed) I add a call to a template to the
page text. The problem is, that the text generated by the template
depends on both the origin and the target state. Until now I used the
variables extension to keep track of the current state. Now I want to
convert to Lua. Apart from the fact that it is clearly not desirable
to mix the use of the variables extension and Lua, it is also
impossible: When Scribunto's #invoke is called, parser functions are
already parsed.

So, what is the solution?

Cheers,
Stephan


I'm pretty sure that Scribundo is specifically designed to make #invoke  
calls isolated from other calls. Short of trying to find and exploit bugs  
that are unpredictable and will eventually be patched there is no way  
you're going to get state between calls.


--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]


___
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Lua: Maintain state between invokes?

2013-06-19 Thread Stephan Gambke
Hi,

I am struggling with Lua.

Is there a way to somehow maintain the state of the page building
between calls to #invoke? A kind of page-wide variable mechanism or
something like that?

Problem: I have what is basically a bugtracker where each bug is
described on a wiki page. For each state change of the bug (new,
confirmed, fixed, verified, closed) I add a call to a template to the
page text. The problem is, that the text generated by the template
depends on both the origin and the target state. Until now I used the
variables extension to keep track of the current state. Now I want to
convert to Lua. Apart from the fact that it is clearly not desirable
to mix the use of the variables extension and Lua, it is also
impossible: When Scribunto's #invoke is called, parser functions are
already parsed.

So, what is the solution?

Cheers,
Stephan

___
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l