[Wikitech-l] Output article
hi: I add a div tag on my page,and I want to output the articles in div/div just like the articles ordinary output. getContent(),and use the $wgOut-addHTML() didn't work well. What should I do ? Thanks very much! vanessa ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] sessions in parallel
-Original Message- From: wikitech-l-boun...@lists.wikimedia.org [mailto:wikitech-l-boun...@lists.wikimedia.org] On Behalf Of lee worden Sent: 06 December 2009 23:26 To: Wikimedia developers Subject: Re: [Wikitech-l] sessions in parallel -Original Message- From: wikitech-l-boun...@lists.wikimedia.org [mailto:wikitech-l-boun...@lists.wikimedia.org] On Behalf Of lee worden Sent: 04 December 2009 19:14 To: Wikimedia developers Subject: [Wikitech-l] sessions in parallel Hi - I'm debugging my extension code against potential deadlock conditions, and am having a problem: when I request 2 pages simultaneously in different firefox tabs, judging by the wfDebug output it seems like the second page request blocks at session_start() and waits until the first page is done. Is it supposed to do this? Does it depend on my configuration? Thanks - Lee Worden McMaster University If I remember correctly, the PHP files session handler has to acquire an exclusive lock on the session file in session_start(). Thus preventing your second request until the first is complete. Jared Thanks! I have to log in as 2 people from 2 different browsers, I guess. LW Or configure MediaWiki PHP to use something like MemCache. http://www.mediawiki.org/wiki/Manual:$wgSessionsInMemcached Jared ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] sessions in parallel
Hi - I'm debugging my extension code against potential deadlock conditions, and am having a problem: when I request 2 pages simultaneously in different firefox tabs, judging by the wfDebug output it seems like the second page request blocks at session_start() and waits until the first page is done. Is it supposed to do this? Does it depend on my configuration? Thanks - Lee Worden McMaster University If I remember correctly, the PHP files session handler has to acquire an exclusive lock on the session file in session_start(). Thus preventing your second request until the first is complete. Jared Thanks! I have to log in as 2 people from 2 different browsers, I guess. LW Or configure MediaWiki PHP to use something like MemCache. http://www.mediawiki.org/wiki/Manual:$wgSessionsInMemcached Jared Noted, thanks. Lee ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l