[MediaWiki-l] [Core MediaWiki] Handling of Race Conditions on db Updates -- Any reusable functionality for extensions (?)

2015-12-29 Thread Ed
aWiki itself does it. Are any classes, methods and tables that can (or should) be leveraged? Thanks! Ed ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] [Semanti Forms] How to hardcode values based on which form is used to create/edit an item

2015-12-19 Thread Ed
it should have been. Thanks! Ed On Sat, Dec 19, 2015 at 4:29 AM, Ad Strack van Schijndel < ad.strackvanschijn...@gmail.com> wrote: > Hi Ed, > > First: this doesn't have to do with Cargo. The form modifies the source > code of the page and the template stores things wit

[MediaWiki-l] [Semanti Forms] How to hardcode values based on which form is used to create/edit an item

2015-12-18 Thread Ed
Hi all, I'm using Cargo with Semantic Forms. The cargo table is defined in one template and attached in others. Each has it own form as they represent subtypes. How can I hardcode the subtype so that when I query the cargo table holding all the subtypes the info is available? In one of the for

Re: [MediaWiki-l] [Cargo] Duplicate Cargo Rows

2015-12-13 Thread Ed
tter solution than using unbuffered queries - if > that is a solution. > > -Yaron > > On Sun, Dec 13, 2015 at 12:51 AM, Ed wrote: > > > Hi, > > > > The duplicate rows seem to happen as a result of a race condition when > the > > new record has been queued

Re: [MediaWiki-l] [Cargo] Duplicate Cargo Rows

2015-12-12 Thread Ed
ld broad locks which block other queries. Thoughts? On Tue, Nov 24, 2015 at 9:41 AM, Yaron Koren wrote: > Hi Ed, > > Yes, this sometimes happens with Cargo - it seems to only happen under > fairly special circumstances, which makes debugging it difficult. For now, > if it happens,

Re: [MediaWiki-l] [Templates] Displaying a multi-instance template as a table

2015-12-12 Thread Ed
Opps. Never mind, The 's were out of synch in the multi instance template and somehow that threw off the html generation. It is working now :) On Sat, Dec 12, 2015 at 4:55 PM, Ed wrote: > Hi everyone, > > I would like to display a multi-instance template as a table so that

[MediaWiki-l] [Templates] Displaying a multi-instance template as a table

2015-12-12 Thread Ed
Hi everyone, I would like to display a multi-instance template as a table so that the multiple columns are aligned. I'm using Semantic Forms and Cargo. I tried echoing the ... from the multi instance template and the ... from the main template, but the first is somehow filtered out and doesn't

Re: [MediaWiki-l] [SemanticForms] Form Rendering Order for Embedded Templates

2015-12-12 Thread Ed
Thanks Tobias! That was it. I merged the single instance onto the main one and only used the embed in field for the multi instance one. Thanks. On Tue, Dec 8, 2015 at 12:35 AM, Tobias Oetterer wrote: > Hey Ed > > I think I had a similar problem. Try putting in a "multiple"

[MediaWiki-l] Tabbed Panes extension

2015-12-11 Thread Ed Swing
Is there a good way - or a recommended extension - for Tabbed Panes on a wiki page? I'm looking to have chunks of code in different languages on a page, but I only want one code language visible at a time. Many thanks ___ MediaWiki-l mailing list To un

[MediaWiki-l] [SemanticForms] Form Rendering Order for Embedded Templates

2015-12-07 Thread Ed
input fields for C[3] Is that possible? Thanks! -Ed ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

[MediaWiki-l] [Cargo] Submitting a patch?

2015-12-06 Thread Ed
$pattern2 = "/\b$fieldName".'[^0-9a-zA-Z$_](\s*HOLDS LIKE\s*)/'; $foundMatch2 = preg_match( $pattern2, $this->mWhereStr, $matches ); } } - Ed ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] [Cargo] Duplicate Cargo Rows

2015-11-24 Thread Ed
named after a very large number :) Sent from my iPhone > On Nov 24, 2015, at 9:41 AM, Yaron Koren wrote: > > Hi Ed, > > Yes, this sometimes happens with Cargo - it seems to only happen under > fairly special circumstances, which makes debugging it difficult. For now, > i

[MediaWiki-l] [Cargo] Duplicate Cargo Rows

2015-11-23 Thread Ed
Hi everyone, I'm getting duplicate rows in the cargo tables. The instances I have found have the same data with the exception of the _ID. It happens on main tables, tables created for fields with multiple values, and tables created for multiple instances of a template. This is creating cartesia

Re: [MediaWiki-l] [Cargo + Semantic Forms] Rendering Options

2015-11-22 Thread Ed
Got it. Perfect!! On Sun, Nov 22, 2015 at 4:48 PM, Yaron Koren wrote: > Hi Ed, > > All of that seems correct, yes. I don't know what that has to do with the > "field" tag, though - every form definition needs "field" tags, or else it > won't d

[MediaWiki-l] [Cargo + Semantic Forms] Rendering Options

2015-11-22 Thread Ed
HTML that precedes all rows "", is rendered with each row ""..."", and wraps the series "". - Example 2: Adding a label preceding the all rows "'''Awards:'''" Thanks! - Ed ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

[MediaWiki-l] [Semantic Forms] Namespaces not persisted/rendered in page?

2015-11-19 Thread Ed
Hi everyone, Another question :) If we take the book/author example as a reference, I have created a namespace "Person" and a namespace "Book" so that when I have a book "Billy Bob" that page is not confused with the page for the author "Billy Bob". In edit mode it works well and I have "|values

[MediaWiki-l] [Semantic Forms] How can we validate user input?

2015-11-15 Thread Ed
Hi everyone, Is there a preferred way to validate user input on the client side. Things such as numerical ranges, pattern matching, upc or ean validity, url being form a particular domain, birth date earlier than death date, etc.? Thanks! ___ MediaWiki

[MediaWiki-l] [External_Data] Selection of language, country, cities, etc

2015-11-13 Thread Ed Hoo
fields (one conditional on the other) what are the options in the wiki universe?!! PS. Thanks for the tip on the data import extension!! Thanks again! -Ed ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo

Re: [MediaWiki-l] [Cargo] Properties attributed to the association of two templates?

2015-11-09 Thread Ed
pages using some sort of a script and then using cargoRecreateData.php BTW, I just realized that you wrote the dam thing!! Thank you so much -Ed On Mon, Nov 9, 2015 at 8:57 PM, Yaron Koren wrote: > Hi Ed, > > I would recommend creating a third template, maybe called "recipe &g

[MediaWiki-l] [Cargo] Properties attributed to the association of two templates?

2015-11-09 Thread Ed
dients" and a few properties (10-20 fields) that only make sense for that association. For example how much of each ingredient for a particular smoothie recipe? The number of smoothies and the number of ingredients are not predefined. Thanks!! -Ed ___

Re: [MediaWiki-l] [Cargo] Error: table "Book" not found (books/authors example)

2015-11-08 Thread Ed
. Issue 2 was addressed by your link. -Ed On Sun, Nov 8, 2015 at 8:55 PM, Yaron Koren wrote: > Hi Ed, > > For issue #1: your templates are actually somewhat different from what's in > the examples, but I tried out your "Book" template just now, and it worked >

[MediaWiki-l] [Cargo] Error: table "Book" not found (books/authors example)

2015-11-08 Thread Ed
Hello everyone, My name is Ed. This is my first post to the mail list. I hope I'm doing it right. I installed wikimedia, cargo and semantic forms all from git. I attempted to recreate the books/authors example and I run into trouble. Can you help? This is what I did: 1) Created the

Re: [MediaWiki-l] Reorganizing your wiki when the whole world changes...?

2014-11-12 Thread Ed Swing
I've done successful bulk-updates by using the API (api.php) and writing a Java client to make the changes I need. If the change is a simple Replace-X-with-Y, it works pretty well. -Original Message- From: mediawiki-l-boun...@lists.wikimedia.org [mailto:mediawiki-l-boun...@lists.wikimed

Re: [MediaWiki-l] automatic category feeds into mediawiki?

2014-09-05 Thread Ed Swing
You could write a simple (Java?) program to parse the product types, and then use the MediaWiki API to create the category pages. -Original Message- From: mediawiki-l-boun...@lists.wikimedia.org [mailto:mediawiki-l-boun...@lists.wikimedia.org] On Behalf Of Bill Traynor Sent: Friday, Sept

Re: [MediaWiki-l] MedaWiki hosting with VisualEditor

2014-08-11 Thread Ed Swing
iki-l] MedaWiki hosting with VisualEditor Oh, is Wikia now using this visual editor as opposed to their previous one? On 11 August 2014 12:16, Ed Swing wrote: > IIRC, Wikia does include the visual editor. > > -Original Message- > From: mediawiki-l-boun...@lists.wikimedia.org &g

Re: [MediaWiki-l] MedaWiki hosting with VisualEditor

2014-08-11 Thread Ed Swing
IIRC, Wikia does include the visual editor. -Original Message- From: mediawiki-l-boun...@lists.wikimedia.org [mailto:mediawiki-l-boun...@lists.wikimedia.org] On Behalf Of James Forrester Sent: Monday, August 11, 2014 6:59 AM To: MediaWiki announcements and site admin list Subject: Re: [Me

Re: [MediaWiki-l] Need help regarding MediaWiki-extension

2014-06-25 Thread Ed Swing
...@lists.wikimedia.org] On Behalf Of Albert Coder Sent: Wednesday, June 25, 2014 1:59 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] Need help regarding MediaWiki-extension On Wed, Jun 25, 2014 at 10:43 PM, Ed Swing wrote: > Yes - this should definitely be possible.

Re: [MediaWiki-l] Need help regarding MediaWiki-extension

2014-06-25 Thread Ed Swing
lf Of Albert Coder Sent: Wednesday, June 25, 2014 12:59 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] Need help regarding MediaWiki-extension On Wed, Jun 25, 2014 at 8:00 PM, Ed Swing wrote: > Then you can query a particular property, property value, or list a

Re: [MediaWiki-l] Need help regarding MediaWiki-extension

2014-06-25 Thread Ed Swing
It sounds like a lot of the functionality you want - adding a class of objects to a page with properties - is already supported by the Semantic MediaWiki extensions. You can simply create a Semantic Form to add your new material, and fill in values for whatever properties you've defined in your

Re: [MediaWiki-l] Single server multiple wikis

2013-10-22 Thread Ed Swing
You should be able to install the database in one location outside of the wiki PHP directories. Then just provide the database information (with a different table prefix for each wiki). I have this setup on my server, and it works fine. -Original Message- From: mediawiki-l-boun...@lists.

Re: [MediaWiki-l] Fwd: [Wikitech-l] Officially supported MediaWiki hosting service?

2013-10-01 Thread Ed Swing
There is always Wikia. They're a few versions behind, but host a TON of wikis already. You can even have them enable various extensions (like Semantic Bundle). From: mediawiki-l-boun...@lists.wikimedia.org [mediawiki-l-boun...@lists.wikimedia.org] on beh

Re: [MediaWiki-l] Trouble installing new wiki

2012-07-23 Thread Ed Swing
] Trouble installing new wiki On Fri, 2012-07-20 at 16:16 +, Ed Swing wrote: > OK - I did that, and then edited my LocalSettings.php to include the SMW > extensions. Now, when I try to "enter my wiki" to do the tables setup, I get > the following error: > > A databa

Re: [MediaWiki-l] Trouble installing new wiki

2012-07-20 Thread Ed Swing
Jul 20, 2012 at 11:38 AM, Ed Swing wrote: > I am trying to install a new wiki using Mediawiki 1.19. After > downloading the SMW extensions, and setting up the database, I'm going > through the install process through the MW install pages. I click on > the Install after sel

Re: [MediaWiki-l] Trouble installing new wiki

2012-07-20 Thread Ed Swing
From: mediawiki-l-boun...@lists.wikimedia.org [mailto:mediawiki-l-boun...@lists.wikimedia.org] On Behalf Of John W. Foster Sent: Friday, July 20, 2012 11:53 AM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] Trouble installing new wiki On Fri, 2012-07-20 at 14:38 +, Ed Swing wrot

Re: [MediaWiki-l] Trouble installing new wiki

2012-07-20 Thread Ed Swing
ageEn' not found in /mnt/LuminaryData/html/faa/extensions/SemanticDrilldown/SemanticDrilldown.php on line 178, referer: http://luminary.unx.sas.com/faa/mw-config/index.php?page=Install From: Ed Swing Sent: Friday, July 20, 2012 10:38 AM To: 'MediaWiki-l@lists.wikimedia.org' Subject:

[MediaWiki-l] Trouble installing new wiki

2012-07-20 Thread Ed Swing
I am trying to install a new wiki using Mediawiki 1.19. After downloading the SMW extensions, and setting up the database, I'm going through the install process through the MW install pages. I click on the Install after selecting the extensions (and other features), and it seems to hang, never c