Re: [SMW-devel] Google Summer of Code 2020

2019-12-19 Thread James HK
Hi, I won't be able (due to time constraints) to offer mentoring capacity but I'm willing to give advice on issues that arises from "How SMW works". Those issues should be clearly articulated and added to the [0] issue tracker with a title that identifies them to be related to the "Google Summer o

Re: [SMW-devel] Question about priority and order of caches

2019-08-26 Thread James HK
Hi, > activated several caching possibilities. $wgMainCacheType is still set to > "CACHE_NONE" , but I use Concept Cache of SMW, Elasticserach and OPcache. Which means you don't use the `ParserCache` which isn't recommended. I only recently added some comments on the "why caching matters" issue

Re: [SMW-devel] Making SMWWikiPageValue getShortCaptionText do the full pipe trick.

2019-04-19 Thread James HK
Hi, > In the interest if not just patching our own code and making it available > to everyone, I'd like to push this change. But it is a change in behavior We always welcome contributors, and for those who aren't familiar with the Semantic MediaWiki development and deployment process we recommend

Re: [SMW-devel] Question regarding the policy of freezing SMW 3.0 milestone issues

2018-09-03 Thread James HK
Hi Some quick notes: > I share your concerns and the desire to have a 3.0.0 release sooner rather > than later without delaying for more features. We had a quick back and > forth about this at the beginning of June, see > https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1365#issuecom

Re: [SMW-devel] Lots of UpdateJobs on ArticleDelete

2018-04-13 Thread James HK
Hi, > ... the deleted article. Since we have a property that is used on nearly all > articles, we get jobs for nearly all articles in the wiki. My questions > are: Now and then when such question arise I politely ask that you describe your environment (MW, SMW ...) to help us understand the circu

[SMW-devel] SMW 3.0, Elasticsearch, and more ...

2018-03-10 Thread James HK
Hi, This email is to inform that we do not expect to make a 3.0 release in Q1/2018 for reasons I will explain hereafter. Over the years we have seen users asking for a scalability solution in connection with Semantic MediaWiki especially from enterprise and wiki-farms users. Last month I made an

Re: [SMW-devel] Adding Subobject to a page with a JSON content model

2018-01-27 Thread James HK
Hi, The `#subobject` parser function itself understands the JSON notation (without deep nesting) as demonstrated in [0]. > and I'm trying to add support for reading JSON content (actually from > MediaWiki JSON content model pages). > > I try to trigger subobject storage using \SMW\ParserFunctionF

Re: [SMW-devel] set subtraction

2017-09-09 Thread James HK
Hi, > technical reason set subtracting or selecting the negated values (e.g. > everything but, empty property) not really supported? Please see my comments on this topic in [0]. [0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/2669 Cheers On 9/5/17, David Schor wrote: > Hey e

Re: [SMW-devel] [Semediawiki-user] New Virtual Machine with latest MW+SMW+RDFIO

2017-09-09 Thread James HK
Hi, This is fantastic, it is something I've been waiting for sometime [0, 1, 2] that allows such simple setup. All you need is to install the Virtualbox, download the file, load it, and within 10 seconds you have a full functional MediaWiki/Semantic MediaWiki environment. I've played with the fi

Re: [SMW-devel] SMWQueryResult mock object for testing SemanticResultFormat

2017-08-04 Thread James HK
Hi, > CoreMockObjectRepository Class [4] but could not find an example how to > create a mock for SMWQueryResult. Please avoid using this object, it was created in the past and has since been considered to be deprecated with any remaining consumers to be converted in future. > @mwjames: any idea

Re: [SMW-devel] [Semediawiki-user] help with SMW & lock contention

2016-12-02 Thread James HK
Hi, > $smwgEnabledDeferredUpdate [1] setting. Perhaps setting this to "false" The setting should remain true (unless there is a clear reason not do to so). #214 was an issue long before [0] was introduced. [0] https://www.semantic-mediawiki.org/wiki/Deferred_updates Cheers On 12/2/16, kghbln

[SMW-devel] #sparql parser function?

2016-11-05 Thread James HK
Hi, I'm asking users with an interest in SPARQL and/or want to see a stronger support of the SPARQL language in SMW to comment on [0] about introducing a #sparql parser function. [0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1987 Cheers --

[SMW-devel] Postgres full-text support?

2016-10-28 Thread James HK
Hi, If you are a developer, someone with postgres knowledge, and interested in helping SMW-core to reach feature parity with MySQL/SQLite on the matter of full-text support then [0] outlines steps for an implementation. I'd be happy to answer questions on [0] in regards to architectural issues bu

Re: [SMW-devel] SMW: case insensitive comparison

2016-10-09 Thread James HK
Hi, > What I mean is ability to match both "Sample page" and "Sample Page", > "sample Page", etc property values for query like this: > > {{#ask: [[Title::sample page]] }} > As far as I know it was not possible in SMW 2.3, did it change or maybe > there is some kind of workaround exists? [0] may

Re: [SMW-devel] [Semediawiki-user] Reg : Semantic Relation Query

2016-09-13 Thread James HK
Hi, >>> > > changed since the introduction of Store3 if I am not mistaken which >>> > > happened four years ago with SMW 1.8.0. >>> > >> select object_title from smw_relations where subject_title >>> > >> in('Page1','Page2') and relation_title='Section_of' > MW :1.21.3 > SMW:1.8 SMW 1.8 has bee

Re: [SMW-devel] Code structure

2016-08-11 Thread James HK
Hi, > I've noticed that you have two parallel structures in your code base. There > are classes in the folder "src/", which follow PSR-4 layout, and in the > folder "includes/", which seem to follow the classic MediaWiki layout. I'm > just curious: Do you plan to migrate from "includes/" to "src/"

[SMW-devel] Upcoming SMW 2.4 is the last release to support PHP 5.3

2016-06-23 Thread James HK
Hi, This email is intended to highlight and remind [0, 1, 2] interested parties that "SMW 2.4 will be the last release to support PHP 5.3". Expected system requirements for future releases are outlined in [2]. [0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/698#issuecomment-22

[SMW-devel] SemanticSignup and AuthManager (MW 1.27+)

2016-06-23 Thread James HK
Hi, If some users require a working SemanticSignup beyond MW 1.26 then we would expect that [0] gets resolved by interested parties. [0] https://github.com/SemanticMediaWiki/SemanticSignup/issues/29 Cheers -- Attend Sha

[SMW-devel] Frequent small feature releases

2016-06-23 Thread James HK
Hi, Jeroen started a thread on [0] about "Frequent small feature releases", if you are interested in this topic please provide some insights from a user perspective to avoid a possible "developer myopia". [0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1685 Cheers

Re: [SMW-devel] using variables set in localsettings in javascript

2016-04-06 Thread James HK
Hi, > Can anybody point to an example in any SMW extension? For a very simple example, please follow: - `wnbyExternalGeoipService` being specified in [0] - Is made available to the RL [1] - Is accessible in JavaScript [2] [0] https://github.com/SemanticMediaWiki/WhatsNearby/blob/master/WhatsNe

Re: [SMW-devel] SMW docker?

2016-01-03 Thread James HK
Hi, > I am wanting to play around with SMW, and am wondering, is there a docker > available? Somewhat experimental (I haven't used it) but user @benhutchins wrote "I've used SMW inside my docker image, checkout https://github.com/milcord/docker-internal-mediawiki which is a docker image extended

Re: [SMW-devel] Upgrade to SMW 2.3 RebuildData exception StripState.php

2015-11-20 Thread James HK
Hi, The only other thing that comes to my mind is [0, 1]. [0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/880 [1] https://phabricator.wikimedia.org/T58226 Cheers On 11/20/15, Krabina Bernhard wrote: > I followed the advice to remove all extensions prior to running the script

Re: [SMW-devel] Is enableSemantics required?

2015-11-06 Thread James HK
Hi, > Is enableSemantics() required? I hope [0] can help answer some of those raised questions. > What are the potential problems if this is > not included in LocalSettings.php? See [1]. [0] https://semantic-mediawiki.org/wiki/Help:EnableSemantics [1] https://semantic-mediawiki.org/wiki/Help:

Re: [SMW-devel] Upgrade to SMW 2.3 RebuildData exception StripState.php

2015-11-06 Thread James HK
gt; > cheers, > Bernhard > > - Am 6. Nov 2015 um 15:32 schrieb James HK > jamesin.hongkon...@gmail.com: > >> Hi, >> >>> > [8868c940] [no req] Exception from line 77 of >>> /home/kdz/ogdcockpit/includes/parser/StripState.php: Invalid >

Re: [SMW-devel] Upgrade to SMW 2.3 RebuildData exception StripState.php

2015-11-06 Thread James HK
Hi, > > [8868c940] [no req] Exception from line 77 of > /home/kdz/ogdcockpit/includes/parser/StripState.php: Invalid > marker:UNIQ7830edce1aa1edea-h-5--QIN > Backtrace: > #0 ../includes/parser/StripState.php(66): StripState->addItem(string, Something on those pages causes the Parser to trip. >

Re: [SMW-devel] Testing SMW

2015-10-28 Thread James HK
ticsearch, and all the other bells and whistles with a few simple > commands on a barebones CentOS install. Each time we add to or modify these > scripts, we have been running manual tests. We will definitely learn how to > use PHPUnit to add automated testing to our project. > > Wish we c

Re: [SMW-devel] Testing SMW

2015-10-28 Thread James HK
Hi, > for direction on how to test SMW. I don't know a thing about the automated > testing, so I'd appreciate guidance on how to get started. Let me try to elaborate a bit on this topic. Our automated testing approach (as explained in the cited document you linked) contains two varying approaches

Re: [SMW-devel] Set SMW property in extension

2015-10-09 Thread James HK
Hi, > (By the way, that link didn't clarify for me why the original question was > too technical, but that's a more minor point.) It is not about the question but about how to answer such question and since the code examples can not be easily copied into a mail or mailing-list (which was implied

Re: [SMW-devel] Set SMW property in extension

2015-10-09 Thread James HK
/issues/1202 Cheers On 10/9/15, Yaron Koren wrote: > Hi, > > James - note that this is the SMW developers mailing list; I don't think > that question is too technical for here. (GitHub might be the better place > for it, but I don't want to scare anyone off this list.

Re: [SMW-devel] Set SMW property in extension

2015-10-09 Thread James HK
Hi, Please open an issue at [0] as the mailing-list is a rather inappropriate forum for such technical question. [0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/ Cheers On 10/9/15, Dornblut, Nils (Bundeswehr) wrote: > Hi SMW community, > > About 5 years before we have developed a cu

Re: [SMW-devel] MW1.25.1 + SMW 2.2 breaks when installed with DynamicSidebar

2015-07-22 Thread James HK
Hi, It is a problem of how MW-core/extension.json merges GLOBALS from other extensions that don't use extension.json. For an analysis and solution, see [0]. https://phabricator.wikimedia.org/T104954#1469466 Cheers On 7/7/15, Hermann Schwärzler wrote: > Hi there, > > we had a strange problem i

Re: [SMW-devel] MW 1.25 compatibility issues?

2015-07-08 Thread James HK
Hi, > Does anyone know what those are specifically? I haven't noticed any issues > on my dev site yet, but that doesn't mean they're not there. SMW's compatibility with MW is described by successfully passing the tests on the required platform (MW version, DB version, Triplestore etc.) and the re

Re: [SMW-devel] SMW, SRF, HeaderTabs and Mobile Frontend

2015-06-03 Thread James HK
Hi, In regards to SMW and MF (MobileFrontend), see [0]. [0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1049 Cheers On 6/3/15, Krabina Bernhard wrote: > Dear all, > > does anyody have expierience with the Mobile Frontend extension [1] that is > responsible for a special version

Re: [SMW-devel] SMW/GraphViz interop bug

2014-11-29 Thread James HK
Hi, This may be of interest, Stephan run into a similar `Parser->lock` issue on MW 1.24 with SF (see [0]). [0] https://github.com/WikiApiary/WikiApiary/issues/209#issuecomment-64195735 Cheers On 11/30/14, James HK wrote: > Hi, > > Just to clarify, NewRevisionFromEditComplete does

Re: [SMW-devel] SMW/GraphViz interop bug

2014-11-29 Thread James HK
Hi, Just to clarify, NewRevisionFromEditComplete does not have (or for that matter makes) access to the Parser directly and relies on the information provided by WikitextContent::prepareContentForEdit object. Whether WikitextContent::prepareContentForEdit returns an `editinfo` object from a cached

Re: [SMW-devel] dumpRDF.php script in SMW 2.0 fails, problems with subobjects and redirects causes jobqueue to loop

2014-11-11 Thread James HK
Hi, > Yes, I encountered the same problem recently. The problem is the same > when using Special:ExportRDF and possibly also when trying to use a > SPARQL store (though I am not sure about this). It occurs whenever PageB > redirects to PageA, and PageA has subobjects (including #ask queries). Tha

Re: [SMW-devel] dumpRDF.php script in SMW 2.0 fails, problems with subobjects and redirects causes jobqueue to loop

2014-11-10 Thread James HK
Hi, > Problem #2: Infinite jobqueue runs > -- > There was a discussion on infinite jobqueue runs recently on this list. For the "Infinite jobqueue" issue, see [0, 1]. It took a considerable amount of time to find an appropriate unit test tha

Re: [SMW-devel] [Semediawiki-user] smw.referata.org vs. smw.org (Was: Exclude specific pages from query or #Concept?)

2014-11-10 Thread James HK
Hi, > Well, smw.referata.com is the community wiki and smw.org is the > official website of the extension. But maybe it is time to re-consider > if that separation is really that useful? I wasn't aware that such distinction actually exists and users are maintaining two sources. Unless there is (w

[SMW-devel] smw.org to provide a TemplateRepository (call for input)?

2014-11-02 Thread James HK
Hi, I'm calling for input and opinions about collecting and providing self-explanatory templates to be bundled as a repository (aka "TemplateRepository") on smw.org that are re-usable in connection with SMW. The objective would be to support first time users in their effort more quickly to become

Re: [SMW-devel] Ask query in extension

2014-11-02 Thread James HK
Hi, > Even though Semantic Tasks is unmaintained, I found some piece of code > that could inspire you as well: > https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FSemanticTasks/5363a0ba564c5c3708c246a4c316260d781da1e1/SemanticTasks.classes.php Please try not follow these as general guidelin

Re: [SMW-devel] [Semediawiki-user] smw.org to replace the "old" Vector skin?

2014-10-21 Thread James HK
to replace the > "old" Vector skin? > >>On 10/21/2014 3:49:08 AM, "Markus Krötzsch" >> wrote: >> >>>Hi, >>> >>>On 21.10.2014 03:51, James HK wrote: >>>... >>>> >>>> PS: As far as I understand, the u

Re: [SMW-devel] [Semediawiki-user] smw.org to replace the "old" Vector skin?

2014-10-20 Thread James HK
>>> Hi, >> >>> >> >>> Good idea. Chameleon is great (also because of the nice Bootstrap >> >>> styling that becomes available on all pages). I am using it right now >> to >> >>> build a site (to be published soon). >> >

[SMW-devel] smw.org to replace the "old" Vector skin?

2014-10-16 Thread James HK
Hi, I'm calling for some opinions on replacing the "old" Vector skin on smw.org with something fresh. Stephan in his relentless pursuit of making MediaWiki more usable to non-Wikipedia users created the Chameleon skin [0] which seems more suitable to those who want to use MW/SMW in different envir

Re: [SMW-devel] [Semediawiki-user] MediaWiki Job queue problem

2014-09-25 Thread James HK
older versions? > 2) Does a page edit/save where a property value is changed trigger an > update/refresh or not? > > Clarification of these will probably answer Bernhard's query as well. > > Many thanks. > > > On 25/09/14 13:56, James HK wrote: >> Hi

Re: [SMW-devel] [Semediawiki-user] MediaWiki Job queue problem

2014-09-25 Thread James HK
t;> >>> On Wed, Sep 24, 2014 at 4:51 PM, Daren Welsh >>> wrote: >>> >>>> I have executed runJobs several times and the job_attempts remains at >>>> 1 for those five jobs. We were thinking of doing a database backup >>>> tod

Re: [SMW-devel] [Semediawiki-user] MediaWiki Job queue problem

2014-09-24 Thread James HK
ve jobs from the table, then run the SMW "repair and > upgrade" via the admin special page. > > Even if this clears the job queue, we'd like to understand what caused this > in the first place. I realize that's a very open-ended question :) > > Daren > >

Re: [SMW-devel] [Semediawiki-user] MediaWiki Job queue problem

2014-09-24 Thread James HK
ob_cmd of SMW\UpdateJob in job namespace 0 and are for > "standard" pages. These pages do not seem to be related based on category > or template. > > On Wed, Sep 24, 2014 at 3:37 PM, James HK > wrote: > >> Hi, >> >> > runJobs.php will literally ru

Re: [SMW-devel] [Semediawiki-user] MediaWiki Job queue problem

2014-09-24 Thread James HK
ted jobs to be run again. I only know that I tried that >> SQL trick once, and it worked. Perhaps this is another reason why the >> question should have instead been sent to the mediawiki-l mailing list. >> :) >> >> On Wed, Sep 24, 2014 at 11:35 AM, James HK >> wr

Re: [SMW-devel] [Semediawiki-user] MediaWiki Job queue problem

2014-09-24 Thread James HK
Hi, > column is greater than 0 for all the rows in the table; I think if you just > go into the database and call something like "UPDATE job SET job_attempts = > 0", they will get run again. In case this solves the issue, I sincerely hope there is a different way (a more standard way) to reset th

Re: [SMW-devel] MediaWiki Job queue problem

2014-09-24 Thread James HK
Hi, The likelihood that it is related to SMW 1.8.0.5 is rather slim and looking at [0] did not reveal related issues. > entries in the row "job_token" which results in the jobs not being done by > the script. According to [1], "job_token" is a "field that conveys process locks on rows via proce

Re: [SMW-devel] MediaWiki Job queue problem

2014-09-24 Thread James HK
Hi, As you are running MW 1.22.* [0], you may have an interest in reading [0]. [0] https://www.wien.gv.at/wiki/index.php/Spezial:Version [1] https://www.mediawiki.org/wiki/Manual:Job_queue#Changes_introduced_in_MediaWiki_1.22 Cheers On 9/24/14, Krabina Bernhard wrote: > Dear SMW users, > > t

[SMW-devel] `composer.json` and MW 1.24/1.25

2014-09-23 Thread James HK
Hi, Just to inform users about a possible issue that is created by MW as it has hijacked the `composer.json` in MW 1.25. Yesterday after upgrading MW to version 1.25alpha via git and me not having realized that the `composer.json` was replaced by a bare MW version (the original was created manual

Re: [SMW-devel] Storing empty properties

2014-08-27 Thread James HK
Hi, [0] prevents text/string values of being empty. [0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/includes/datavalues/SMW_DV_String.php#L16 PS: Haven't look at the issue itself but [0] should explain the current codified behaviour. Cheers On 8/28/14, Stephan Gambke w

[SMW-devel] Benchmarking Semantic MediaWiki

2014-08-25 Thread James HK
Hi, For some time people have talked about and raised questions like "How does SMW perform" but without standardized tests or replicable data it is very difficult to engage in a reasonable discussion about performance of new features or potential regressions. [0] introduces a method to perform te

Re: [SMW-devel] Deleted page still appears on a Category page

2014-08-08 Thread James HK
Hi, > others), I found that a page which I had deleted was still showing up in a > Category page of which it was a member (when it still existed). Clicking on I just tried to remove a page from a Category (on a MW 1.23, SMW 2.0, no SemanticTitle) and I couldn't replicate your described problem.

Re: [SMW-devel] Semantic MediaWiki 2.0 RC3

2014-07-31 Thread James HK
Message- > From: Legault, Phillip [ITSUS] > Sent: Monday, July 28, 2014 6:46 AM > To: 'James HK' > Cc: 'Semantic MediaWiki users'; 'Semantic MediaWiki developers' > Subject: RE: [SMW-devel] Semantic MediaWiki 2.0 RC3 > > James it looks as though the

Re: [SMW-devel] Semantic MediaWiki 2.0 RC3

2014-07-25 Thread James HK
Hi, > I want to test the new version against my 4 store and I’m not sure how my I'd suggest you start without any other extension to ease potential frictions during the RC phase (as 2.0 has not yet official packaged). Your composer.json in the MW-root directory should look like: { "require"

Re: [SMW-devel] Adding Site Settings support to SMW?

2014-07-19 Thread James HK
Hi, > Perhaps we should move out the existing ones now we are switching to 2.0 > anyway? I'd like to see that happen because `onPageSchemasRegistration` and `addToAdminLinks` are the two remaining hooks which block the removal of `SemanticMediaWiki.hooks.php` [0]. [0] https://github.com/Semanti

Re: [SMW-devel] Adding Site Settings support to SMW?

2014-07-18 Thread James HK
Hi, I can't say anything about the code (as I haven't seen it yet) but three things I'd like to comment: > newest of these three, and SMW doesn't connect to it yet, but I would like > to add code in to SMW to do that, most likely via another class, that would > be called "SMWSiteSettings". I'm n

Re: [SMW-devel] composer update error

2014-07-07 Thread James HK
Hi, > > [Mon Jul 7 10:15:00 2014] [apc-error] Cannot redeclare class Since APC is mentioned, see [0] and if [0] doesn't apply, I would suggest to open a ticket [1]. [0] https://github.com/composer/composer/issues/1652 [1] https://github.com/composer/composer/issues Cheers On 7/7/14, Neill Mit

Re: [SMW-devel] Data decay? Concerning graph

2014-06-03 Thread James HK
Hi, This is not an analysis of the mentioned issue but an explanation as to how updates of a wikipage will end up in the SMW-store. ## Hooks MediaWiki deploys several hooks that are used to identify, parse and filter information relevant to SMW. The hooks required for the storage process are Int

Re: [SMW-devel] Special:Ask not working

2014-03-10 Thread James HK
Hi, If you upgrade, please to have a look at [0]. [0] https://semantic-mediawiki.org/wiki/Help:Installation#Upgrading Cheers On 3/11/14, Peter Brooks wrote: > I don't know, Benjamin - but I've been having a problem with 'ask' and > I'm also running SMW 1.8.0.5 (with Semantic Result Formats(Ver

Re: [SMW-devel] Special:Ask not working

2014-03-10 Thread James HK
Hi, I can't really tell what's wrong on your Special:Ask but according to your > Versions of everything installed are of course listed here: > http://ropewiki.com/index.php/Special:Version You are using Semantic MediaWiki (Version 1.8.0.5) and Semantic Result Formats (Version 1.9 alpha) but plea

Re: [SMW-devel] SMW no longer works with a manual LinksUpdate call?

2014-01-19 Thread James HK
Hi, > code still responds to the LinksUpdate::doUpdate() call, but it doesn't > seem to do the right thing If what you are saying is correct (that some information are missing or not doing the right thing) then no data would be stored in SMW at all ([1] is the main entry point for the Store updat

Re: [SMW-devel] SMW 2.0 or 10.0?

2014-01-18 Thread James HK
Hi, >From a visibility point of view, jumping from 1.9 to 10 seems a bit gigantic (even though you can argue the rational behind dropping 1 where 10 follows 9) but I'm more in favour of going with 2 instead. Cheers On 1/19/14, Jeroen De Dauw wrote: > Hey, > > It seems there is general agreement

[SMW-devel] [Video] Semantic MediaWiki 1.9 install using Composer

2013-12-19 Thread James HK
Hi, I had some spare minutes on my hand so I thought I'd make a quick video [1] that explains in plain and simple terms on "how to" install Semantic MediaWiki 1.9 using Composer. SMW 1.9 only requires three steps in order to be full functional: # 1 Install MediaWiki # 2 Add composer require medi

Re: [SMW-devel] [SMW Composer] Extension configuration

2013-12-17 Thread James HK
Hi, > Some changes in SMW where made recently that limit usage of the namespace > constants in a way that was not present before. This is an exceptional case > and should definitely be documented. It might already be, I'm not sure. Actually, the use of the Composer introduced a necessary adoption

Re: [SMW-devel] Displaying unit-correct numbers

2013-11-28 Thread James HK
te -- I had > to go to the MediaWiki extensions site to find out where the git repository > was. > > [1] http://semantic-mediawiki.org/wiki/Help:Installation > [2] > https://git.wikimedia.org/git/mediawiki/extensions/SemanticMediaWiki.git > > > On Tue, Nov 26, 2013 at 3:31 AM,

Re: [SMW-devel] Displaying unit-correct numbers

2013-11-26 Thread James HK
Hi, You need SMW 1.9 due to a fix provided by [1]. [1] https://bugzilla.wikimedia.org/show_bug.cgi?id=45053 Cheers On 11/26/13, Benjamin Pelletier wrote: > That doesn't seem to work for me. This is what I have in my template: > {{#show:{{PAGENAME}}|?Has length of hike}} > ...and this is t

Re: [SMW-devel] raising composer features

2013-11-25 Thread James HK
Hi, If you follow the steps below non of your described issues are occurring: * Install MW 1.22 * Rename composer-example.json to composer.json * Add "mediawiki/semantic-mediawiki": "dev-master" and "minimum-stability" : "dev" to the composer.json placed within the MW directory (for more details

Re: [SMW-devel] List composer packages used within MediaWiki

2013-11-25 Thread James HK
Hi Mark, I know what I need to make it work but the last time I tried to add something to MW-core it took 8 month so I'm rather reluctant to waste my time on MW-core issues. Cheers On 11/26/13, Mark A. Hershberger wrote: > On 11/25/2013 12:59 PM, James HK wrote: >> PS: MW-core d

[SMW-devel] List composer packages used within MediaWiki

2013-11-25 Thread James HK
Hi, In order to free the end-user from handling and installing individual dependencies, Composer will be used as preferred installation method starting with SMW 1.9 and while end-users probably have less interest in what packages are installed, sometimes developers want to see information about in

Re: [SMW-devel] A list of suggested developments for undergrads to try?

2013-11-06 Thread James HK
Hi, > I would also like to see Semantic Results Formats extended. This way, > the students don't have to learn from scratch. They are extending With regards to the objective to engage in OO and design pattern development, Semantic Results Formats does have several design issues (misuse of inherit

Re: [SMW-devel] A list of suggested developments for undergrads to try?

2013-11-06 Thread James HK
Hi Stephen, Thank you for your interest and such opportunity to open up a collaboration. In regards to a student project(s) (which I think is surely tempting for both students and SMW) some ideas and thoughts need to be put together (time period, expected outcome, group work etc.) to see which vi

Re: [SMW-devel] RFC: Technical documentation, installation instructions and release notes

2013-11-05 Thread James HK
Hi, +1 When I started re-factoring classes and objects, I first thought that the SMW wiki would be the right place for keeping track of such effort but it soon became apparent that maintaining such information on-wiki is not worth energy and therefore I retreated from the wiki as technical docume

Re: [SMW-devel] Query result rewrite

2013-10-24 Thread James HK
Hi, +1 This last time I had to write a unit test for the table format, I had to bit my hand off to get some sane results. If you can make it in time, don't show them "old" interface as this one is not going to last and it doesn't improve one's understanding in how to interact with a query format

Re: [SMW-devel] Current status and future plans of (REST) API:s and import in SMW?

2013-10-21 Thread James HK
Hi, ## SMWWriter/POM Looking at the extension and taken into the account the following statement "This page describes an extension developed in 2010, which was not released and appears to have been abandoned." [1] that SMWWriter/POM will be less likely a candidate for building a core component and

Re: [SMW-devel] Current status and future plans of (REST) API:s and import in SMW?

2013-10-21 Thread James HK
On 10/21/13, Yaron Koren wrote: > Hi Samuel, > > Perhaps a bit of background information would be helpful. What does RDFIO > do? What, if anything, do you want it do further? What did SMWWriter do? > How do POM/WOM fit into this whole thing? And how does this relate to the > RDF triplestore functi

Re: [SMW-devel] SFFormLinker::setBrokenLink is doing what?

2013-09-19 Thread James HK
Hi Yaron, Thanks for your answer. > That function checks, for every red link on the page, whether there's a > property somewhere on the wiki pointing to that page, that has a form > associated with it - and if there is, setBrokenLink() changes the URL of > that red link to look like "Special:Form

[SMW-devel] SFFormLinker::setBrokenLink is doing what?

2013-09-19 Thread James HK
Hi, I run a Xdebug trace on the SMW\PropertiesQueryPage (SMW 1.9) and somehow the SFFormLinker::setBrokenLink through the DummyLinker took up to 700ms to finalize a request. Xdebug trace: SMW\PropertiesQueryPage->getUserDefinedPropertyInfo [1] calls DummyLinker->Link which calls Linker->link whic

[SMW-devel] SMW + Selenium

2013-09-19 Thread James HK
Hi, Does anyone run the with SMW deployed Selenium tests [1] ? Do those tests actually work with SMW 1.8/SMW 1.9? If they do work can they be integrated into a CI environment and if they do not work what should we do with them [1]? [1]

Re: [SMW-devel] Delaying SMW 1.9

2013-09-09 Thread James HK
Hi, (To answer the question first, yes SRF 1.9 requires SMW 1.9) I expected that sooner or later someone would ask about the SMW 1.9 release status. Please let me try to iterate over the current status and the possible impact on a specific release date. As Jeroen noted in his earlier announcemen

[SMW-devel] smw.org doxygen class diagrams

2013-08-24 Thread James HK
Hi, Can someone please activate the option "Use built-in class diagram generator" [1] (this is is not GrpahViz, it is the built-in HTML generator) for the Doxygen generator on smw.org. [1] http://www.stack.nl/~dimitri/doxygen/manual/config.html#cfg_class_diagrams Cheers

Re: [SMW-devel] RFC: SMWPageSchemas in SMW core (1.9)

2013-08-08 Thread James HK
Hi Yaron, If we look from a point where we see SMW core being assigned to tasks like data storage, data access, or querying then the implementation of SMWPageSchemas feels a bit sidetracked to the point where: For example having code like [1] where $psTemplateField is some kind of an object but w

Re: [SMW-devel] ArrayAccessor

2013-08-08 Thread James HK
Hi, ArrayAccessor is used in several classes[1] to conveniently access an array through object methods. Of course one could make use of the ArrayObject directly but one would need to implement the expectation handling individually for when an expected element is not accessible. Accessing an array

[SMW-devel] RFC: SMWPageSchemas in SMW core (1.9)

2013-08-08 Thread James HK
Hi, When I looked over SMWPageSchemas which is right now part of SMW core, I failed to understand as to why it has to be deployed with SMW core. I do not know the exact circumstances on how PageSchemas operates but the current design requires SMW core to deploy SMWPageSchemas for some reason. No

Re: [SMW-devel] Exceptions in SMW

2013-07-23 Thread James HK
Hi, Well, it was mainly me because the DataItemException and other generic exceptions were itching me for some time especially during unit testing. I deliberately choose MWException as deriving class for the time being because a lot of work needs to be done in order to get SMW to a stage where uni

Re: [SMW-devel] Wondering about adding to SMWInfo API

2013-07-14 Thread James HK
Hi Jamie, I would suggest to add each request as an individual bug issue, allowing the person who wants to tackle the issue to work on it separately. ## "SMW is slow" indicator Adding a query execution duration as meta data to the "has query" subobject (SMW\QueryData) is not that difficult and c

Re: [SMW-devel] [SRF] Filtered result format effected by PHP upgrade

2013-06-27 Thread James HK
Hi, SRF 1.9 (and for that matter SRF 1.9 alpha) is not compatible with SMW 1.8 or lower and mixing incompatible versions will inevitable cause problems. Cheers On 6/27/13, Desiree Gennaro wrote: > We just upgraded from PHP 5.4.13 to 5.4.16 due to a patch requirement. > Doing this has caused the

Re: [SMW-devel] [SRF] v 1.9 alpha

2013-06-26 Thread James HK
Hi, SRF 1.9 (current master) is only compatible with SMW 1.9. There will be no compatibility between SMW 1.8 and SRF 1.9 Cheers On 6/27/13, jmccl...@hypergrove.com wrote: > > > With "special:ask" I'm getting on mw 1.21 and smw 1.8.0.5: Fatal > error: Class 'SMWApiResultPrinter' not found in > /

[SMW-devel] smw.org hooks namespace

2013-06-09 Thread James HK
Hi, It is probably only me but I'd like to have a stable URL schema for available hooks which is could be similar to [0] and resulting in something like [1]. I don't want to have a long bikeshed over whether something like this needed or not, a stable URL without the need of being lost on some su

Re: [SMW-devel] SMW 1.9, Subobject - get properties

2013-06-03 Thread James HK
Hi, >> new Subobject( $title ) This won't work because you a just created a new instance which at this point has nothing to to with the store. >> $subObject->getSemanticData()->getProperties(); This won't work because the instance you just created as now properties added therefore it won't retu

[SMW-devel] Fwd: PDO for SMW/Wikibase

2013-05-17 Thread James HK
-- From: Jeroen De Dauw Date: Fri, 17 May 2013 14:47:07 +0200 Subject: Re: PDO for SMW/Wikibase To: James HK Hey, To be clear, with PDO you mean the actual http://php.net/manual/en/book.pdo.php right, and not just something similar to it? If so, I don't know that much about PDO and have never r

Re: [SMW-devel] branch policy

2013-05-16 Thread James HK
Hi, No objections, eradicate those that are not needed. Cheers On 5/16/13, Jeroen De Dauw wrote: > Hey, > > Master has the latest code and holds 1.9 alpha. > > 1.8.x holds the latest code for the 1.8 branch. > > These are all relevant branches for current development. > > We also have 1.9.x whi

Re: [SMW-devel] branch policy

2013-05-16 Thread James HK
Hi, You only need the master branch (which runs all necessary unit tests), all others are for internal use (1.9-features isn't used at all as certain features are not handled differently) Cheers On 5/16/13, Yury Katkov wrote: > Hi developers! > > The current version of SMW is 1.8, but in gerrit

Re: [SMW-devel] Webinar for amateur SMW programmers

2013-05-10 Thread James HK
Hi, > I would like to suggest that unit/functional/integration tests would be the > best solution for this. I know it's not easy to get into a testing culture, > but various projects including parts of SMW are adopting this. It solves > these problems: This is certainly the right approach which a

[SMW-devel] Wikitech-l discussion / Is SMW a "bloated piece of software" ?

2013-04-04 Thread James HK
Hi, Most user on this list are probably not aware of the current discussion that takes place on Wikitech-l [1] about "How SMW might help mw.org/wikitech.org" but what caused a moment of silence was the following comment. "I don't support moving to Semantic MediaWiki, which to me as user seems lik

Re: [SMW-devel] SMW and LTS

2013-02-25 Thread James HK
ing them more difficult, because of > the need to add in a bunch of "if" statements and the like? That's actually > a big distinction - I wanted to make sure I understood. > > -Yaron > > > On Mon, Feb 25, 2013 at 6:04 PM, James HK > wrote: > >> Hi, >&

Re: [SMW-devel] SMW and LTS

2013-02-25 Thread James HK
Hi, > SMW 1.9 (15/03/2013) -> MW 1.19 (09/02/2012): 1.1 years On a site note, in two or three occasions when I was adding something to SMW 1.9 I had to back down because suddenly the approach preferred didn't work in MW 1.19 (I think it is one hook, two methods when testing against MW 1.19) whi

Re: [SMW-devel] AddPropertyObjectValue throws MySQL errors

2013-02-20 Thread James HK
Hi, The rational for this decision can be read here [1] and is mainly because of self invoked development. [1] https://bugzilla.wikimedia.org/show_bug.cgi?id=45188 Cheers On 2/20/13, Lists wrote: > Hello folks, > > > AddPropertyObjectValue throws MySQL errors while > using custom PHP-driven pr

  1   2   >