Re: [Mediawiki-l] Hook called on cache miss?

2011-11-10 Thread Stephan Gambke
Hi, On 10 November 2011 00:32, Brion Vibber br...@wikimedia.org wrote: I'm looking for a hook that is called when the text of an article is parsed because of a cache miss. What are you trying to accomplish with a hook that's called during (before? after?) parsing that comes after a parser

Re: [Mediawiki-l] Solved: Extension:Multilang

2011-11-10 Thread Chad
On Thu, Nov 10, 2011 at 1:34 AM, badon fastgoldf...@gmail.com wrote: This is an interesting, novel solution. It seems it would be trivial to take this a step further and add an additional case that is userlanguage. It might be worth your time to request that as a feature enhancement for an

Re: [Mediawiki-l] Hook called on cache miss?

2011-11-10 Thread Brion Vibber
On Thu, Nov 10, 2011 at 1:04 AM, Stephan Gambke s7ep...@gmail.com wrote: S*mantic Forms form definition pages work to a degree similar to templates, in that they have some explanatory text in noinclude tags and the actual form definition in includeonly tags. Currently this form definition is

Re: [Mediawiki-l] Hook called on cache miss?

2011-11-10 Thread Brion Vibber
On Thu, Nov 10, 2011 at 9:13 AM, Brion Vibber br...@pobox.com wrote: part in includeonly tags and cache it along with the page. Then, when a form is actually to be displayed I get the form definition text from cache if available. Since the noinclude contents are excluded in an early stage

[Mediawiki-l] MediaWiki says cookies are disabled for Windows 7 + IE8

2011-11-10 Thread Daniel Barrett
Some of our Windows 7 computers (running IE8) are unable to log into MediaWiki 1.17.0 at my company. The wiki login page complains that cookies need to be enabled (but they are). Anybody else seen solved this? It's only Windows 7 with IE8. Thanks, DanB

Re: [Mediawiki-l] MW seems to get confused when IP address of client machine changes while user is logged in

2011-11-10 Thread Dan Nessett
On Wed, 09 Nov 2011 15:26:07 -0800, Brion Vibber wrote: On Wed, Nov 9, 2011 at 2:50 PM, Dan Nessett dness...@yahoo.com wrote: What problems remain other than the ones I noted previously as being known problems or expected behavior? Documented in the bug report (comment 4). Ok so to

Re: [Mediawiki-l] MW seems to get confused when IP address of client machine changes while user is logged in

2011-11-10 Thread Dan Nessett
On Wed, 09 Nov 2011 15:26:07 -0800, Brion Vibber wrote: On Wed, Nov 9, 2011 at 2:50 PM, Dan Nessett dness...@yahoo.com wrote: What problems remain other than the ones I noted previously as being known problems or expected behavior? Documented in the bug report (comment 4). Ok so to

Re: [Mediawiki-l] Hook called on cache miss?

2011-11-10 Thread Stephan Gambke
That's what you get when you are too fixed on one solution, I never even thought of separating caching the page from caching the definition. Thanks Brion! Am 10.11.2011 18:13, schrieb Brion Vibber: A more typical caching pattern within MediaWiki would look something like this: * devise an

[Mediawiki-l] Fwd: HELP

2011-11-10 Thread Huib Laurens
-- Forwarded message -- From: Nicholas Washington washington...@gmail.com Date: 2011/11/10 Subject: HELP To: mediawiki-l-ow...@lists.wikimedia.org *Hi, I just recently got on board with MediaWiki and am looking forward to utilizing its functionality for use with a story I am in

Re: [Mediawiki-l] MW seems to get confused when IP address of client machine changes while user is logged in

2011-11-10 Thread Dan Nessett
On Wed, 09 Nov 2011 13:20:47 -0800, Brion Vibber wrote: On Wed, Nov 9, 2011 at 11:56 AM, Dan Nessett dness...@yahoo.com wrote: [snip] This problem is a bear to analyze. I have not been able to develop a reliable way to reproduce the problem. However, I have found a way to reproduce a

Re: [Mediawiki-l] Brighton Mumbai meetups this month

2011-11-10 Thread Sumana Harihareswara
On 10/31/2011 04:05 PM, Sumana Harihareswara wrote: Just to remind you: * India hackathon (18–20 November, Mumbai, India) — Alolita Sharma, Siebrand Mazeland, Sumana Harihareswara and the local India team are preparing for this event, which will focus on language, mobile and offline support

Re: [Mediawiki-l] 1.18 PHP version requirement

2011-11-10 Thread Mark A. Hershberger
Forwarding this to mediawiki-l since this will probably have wider interest than just wikitech-l. The Wikitech discussion can be seen here: http://thread.gmane.org/gmane.science.linguistics.wikipedia.technical/56572 Antoine Musso hashar+...@free.fr writes: Hello, PHP 5.2.6 and earlier have

Re: [Mediawiki-l] MediaWiki says cookies are disabled for Windows 7 + IE8

2011-11-10 Thread Platonides
On 10/11/11 18:55, Daniel Barrett wrote: Some of our Windows 7 computers (running IE8) are unable to log into MediaWiki 1.17.0 at my company. The wiki login page complains that cookies need to be enabled (but they are). Anybody else seen solved this? It's only Windows 7 with IE8.

Re: [Mediawiki-l] Help: URL resizing 404, SVG's render distorted

2011-11-10 Thread Platonides
On 10/11/11 04:53, badon wrote: The JavaScript URLs work fine, and they weren't too difficult to adapt to my own MediaWiki installation. The URL rewrite stuff that redirects the 404 URL to thumb.php is what seems to be missing, and it affects all image types. I don't know what command is

Re: [Mediawiki-l] Help: URL resizing 404, SVG's render distorted

2011-11-10 Thread badon
I just tried running: convert -resize 120 Template-info.svg Template-info.png and I got: convert: unable to open image `Template-info.png': Permission denied. I checked my permissions, and it looks like the owner of some of the image directories is webservd, while most of the others are the