[Mediawiki-l] Deadlocks on Recent changes when using Article::doEdit()

2010-08-06 Thread Jani Patokallio
Greetings, So I've recently been hitting occasional deadlocks on the Recent changes table when running multiple simultaneous import jobs into a MW 1.15.1 installation. The import jobs are going through a custom extension that executes Article::doEdit() to import the pages one by one -- and

[Mediawiki-l] predefining time zones for users

2010-08-06 Thread Florian Effenberger
Hi, I run MediaWiki 1.16.0, and I wanted to predefine a timezone for my users with the $wgDefaultUserOptions directive. For other options, this works fine, but for the time correction, it seems to be simply ignored. I tried using hours, minutes, as well as locations (Europe/Berlin), to no avail.

Re: [Mediawiki-l] Deadlocks on Recent changes when using Article::doEdit()

2010-08-06 Thread Benjamin Lees
On Fri, Aug 6, 2010 at 2:40 AM, Jani Patokallio jpato...@iki.fi wrote: 2) If I set EDIT_SUPPRESS_RC for the edits, is there any way I can run the updates as a batch after the import job is finished? Yes: you can run the rebuildrecentchanges.php maintenance script.

Re: [Mediawiki-l] Wikitext grammar

2010-08-06 Thread nevio carlos de alarcão
If you are to extract only Wikipedia'a articles first paragraph no problema. 2010/8/6 Katharina Wolkwitz wolkw...@fh-swf.de Hi, Am 05.08.2010 16:47 schrieb lmhelp2: Thank you! So here is the list I have for the moment: I need to ignore lines: - containing: {{...}} =

Re: [Mediawiki-l] Wikitext grammar

2010-08-06 Thread Magnus Manske
Also ignore lines starting with #, :, (space), or ; . Then there are (potentially nested) tables, which start with a line beginning with {| and end in a line beginning with |}. There are more magic words with the general pattern __SOMEUPPERCASECHARACTERS__, IIRC. Note that sometimes, people

Re: [Mediawiki-l] Wikitext grammar

2010-08-06 Thread Brian J Mingus
On Wed, Aug 4, 2010 at 1:45 PM, lmhelp lm...@wanadoo.fr wrote: I need to extract automatically the first paragraph of a Wiki article... See Extracted page extracts for Yahoo: http://download.wikimedia.org/enwiki/20100730/ ___ MediaWiki-l mailing

Re: [Mediawiki-l] Wikitext grammar

2010-08-06 Thread Léa Massiot
A colleague told me about that... so we had a look at it. Unfortunately, abstracts are not correct most of the time... - Example (in French): - titleWikipédia : Arabie

Re: [Mediawiki-l] Wikitext grammar

2010-08-06 Thread Brian J Mingus
On Fri, Aug 6, 2010 at 10:06 AM, Léa Massiot lea.mass...@ign.fr wrote: A colleague told me about that... so we had a look at it. Unfortunately, abstracts are not correct most of the time... - Example (in French):

Re: [Mediawiki-l] Wikitext grammar

2010-08-06 Thread Brian J Mingus
On Fri, Aug 6, 2010 at 10:18 AM, Léa Massiot lea.mass...@ign.fr wrote: Are you sure this will be able to extract the introductory paragraph (only) which is not in any section... (because it is not trivial). There is only one example I could find at http://code.pediapress.com/wiki/wiki/mwlib

Re: [Mediawiki-l] Wikitext grammar

2010-08-06 Thread Trevor Parscal
The current parser is, as David Gerard said, not much of a parser by any conventional definition. It's more of a macro-expander (for parser tags and templates) and a series of mostly-regular-expression-based replacement routines, which result in partially valid HTML which is then repaired in

Re: [Mediawiki-l] installation issue with 1.16.0 - mysql user privilege

2010-08-06 Thread Sullivan, James (NIH/CIT) [C]
-Original Message- From: Platonides [mailto:platoni...@gmail.com] Sent: Thursday, August 05, 2010 7:25 PM To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] installation issue with 1.16.0 - mysql user privilege That's what bug 20634. In some cases there were problems in

Re: [Mediawiki-l] Wikitext grammar

2010-08-06 Thread David Gerard
On 6 August 2010 18:59, Trevor Parscal tpars...@wikimedia.org wrote: In short, the current parser is a bad example of how to write a parser, I forgot to call it a box of pure malevolent evil, a purveyor of insidious insanity, an eldritch manifestation that would make Bill Gates let out a low

Re: [Mediawiki-l] Extensions:Collection (was: deploy wiki tree)?

2010-08-06 Thread Quiring, Sam
Greetings, I asked our IT staff to add this extension so I could try it. Here is their response: I went ahead and added this extension but it includes more than just adding and enabling the Collections extension. From looking at the Docs it appears we need to have a Rendering

Re: [Mediawiki-l] installation issue with 1.16.0 - mysql user privilege

2010-08-06 Thread Platonides
Sullivan, James (NIH/CIT) [C] wrote: The question I have is whether this will lead to problems in the future, such as upgrade to version 1.17.0, where the database user may be assumed to have ALL privileges. Depends on what is needed on upgrade to that future version. It's just a safeguard

Re: [Mediawiki-l] Wiki family with AWC Forum

2010-08-06 Thread Platonides
kilucas wrote: I have a wiki that uses the AWC Forum extension which, in turn, creates new tables in the wiki database. I'd like to create a family of such wikis but the database changes in particular make me assume that family creation might be more complex than the examples at

Re: [Mediawiki-l] Extensions:Collection (was: deploy wiki tree)?

2010-08-06 Thread nevio carlos de alarcão
Can anyone with experience verify that this is true? The better advice from a ex wiki corporate admin not being a tech expert is to get along with those IT people by arousing a truly confident relationship with them. Respectfully Nevio 2010/8/6 Quiring, Sam sam.quir...@windriver.com

Re: [Mediawiki-l] Extensions:Collection

2010-08-06 Thread Platonides
Quiring, Sam wrote: Greetings, I asked our IT staff to add this extension so I could try it. Here is their response: I went ahead and added this extension but it includes more than just adding and enabling the Collections extension. From looking at the Docs it appears we

Re: [Mediawiki-l] Extensions:Collection (was: deploy wiki tree)?

2010-08-06 Thread nevio carlos de alarcão
Mediawiki is an area where we do not have a lot of expertise. I am trying to help my IT person by coming to this community and getting the benefit of first hand experience ok, I hope the solution Platonides came out with will benefit you. Good luck, Névio 2010/8/6 Quiring, Sam