I just sent the same text to the SourceForge feature request tracker
(https://sourceforge.net/tracker/index.php?func=detail&aid=1558499&group_id=147937&atid=770004)
and then read on the wiki that feature requests should be sent to this
mailing list.
So my apologies if you receive this posting twice
I think it would be cool if SMW exported wiki page properties as
attributes and relations.
I'm thinking of the following:
Attributes:
Last edit at
Created at
Edit count
Page size
Relations:
Created by
Edited by
Last edit by
(I'm no native speaker, so maybe the names should be changed
(Because S Page refered to this: I'm not interested at all in exporting
this data outside of the wiki.)
On 10/8/06, Christopher Baker <[EMAIL PROTECTED]> wrote:
>
>On 10/8/06, S Page <[EMAIL PROTECTED]> wrote:
>>
>> Enhancing inline queries this way is worthwhile, but I imagine it will
>> be hella
* S Page <[EMAIL PROTECTED]> [2006-10-13 11:30]:
> Markus Krötzsch wrote:
> > I still have to be convinced that we need a Boolean type.
>
> > The reason is that instead of a Boolean type, you could simply use a
> > Category.
> > I.e. instead of [[HotOrNot:=true]] you would write [[Category:Hot]]
* S Page <[EMAIL PROTECTED]> [2006-12-05 12:36]:
> revision 18179: Support formatting booleans in inline queries.
>
> The last one is similar to specifying a format in inline queries for
> date/time. E.g.:
>
> [[HotOrNot:=+]]
> [[HotOrNot:=*√,x]]
>
> will show either a "checkmark" (actua
Greetings!
Today I was in need of category negations in queries, so I hacked
something up.
Using this patch, you can now say:
[[Category:!Not this one]]
[[Category:!Neither this||Nor that]]
[[Some Attribute:=>!3]]
It should work with relations too (haven't tested as I don't use those
on my wiki;
I finally tracked down bug 7955
(http://bugzilla.wikimedia.org/show_bug.cgi?id=7955).
The problem is as follows:
* When smwfParserHook() is called, the parser has already substituted <
and > with < and >, respectively.
* For the factbox, this is OK, as MW will just leave alone these
entities.
While profiling MediaWiki I noticed that SMW doesn't use any of the
profile functions.
I added some to the functions I was interested in. Surely more could be
added, but it's a start.
Thomas
--- SMW_InlineQueries.php.orig 2007-03-06 09:52:23.0 +0100
+++ SMW_InlineQueries.php 2007-03
Hi!
First I'd like to thank you for the great software that SMW is! SMW1.0
seem to be in pretty good form, too!
I tried to upgrade my server (which has some custom modifications to
SMW) and hit a limitation, which I'm not quite sure how to overcome.
Maybe you have some suggestions.
I'd like to q
* Thomas Bleher <[EMAIL PROTECTED]> [2007-11-14 08:48]:
> 1) Implement negations in queries - then I could ask "(NOT maxTeilnehmer <=
>9) AND (NOT minTeilnehmer >= 11)". I used this solution with SMW 0.7
>(patch below), but looking at the 1.0RC2 code,
* Thomas Bleher <[EMAIL PROTECTED]> [2007-11-15 20:36]:
> * Thomas Bleher <[EMAIL PROTECTED]> [2007-11-14 08:48]:
> > 1) Implement negations in queries - then I could ask "(NOT maxTeilnehmer <=
> >9) AND (NOT minTeilnehmer >= 11)". I used this solu
When SMW is loaded via require_once() and enableSemantics(), but the
necessary database tables are not there, saving a wiki page can fail.
This hit me today: I had installed SMW for a client I work for, but
Special:SMWAdmin did not have the necessary rights to create the tables.
I left SMW there s
I just discovered another small issue:
I tried to adapt http://ontoworld.org/wiki/Type:Time to my wiki
(see http://spiele.j-crew.de/wiki/Datentyp:Zeitdauer). First I copied
the page verbatim, which lead to various strange errors (division by
zero, numbers being sometimes shown in a strange way, ...
yms = $wgParser->mFunctionSynonyms;
while ( $row = $res->getNext() ) {
$wikitext = '';
$firstcol = true;
It copies the parser functions from the main parser, so they can be used
in the templates given to . Maybe this can
Hi!
Stumbled across another issue today:
If an annotation is incorrect an error text is added, even if
$smwgNamespacesWithSemanticLinks is set to false for this particular
namespace.
Example:
http://www.ppoe.at/leiter/wiwo/wiki/index.php/MediaWiki:Neuemethode-grundgeruest
(This page is read by a
* cnit <[EMAIL PROTECTED]> [2007-12-03 16:24]:
> May I suggest another kind of ask format? Sometimes it's desirable to
> get only a simple count of rows instead of the query result rows. So,
> if there's a 5 rows in the query result, ask format="count" would
> return a number 5. It may be useful to
* Markus Krötzsch <[EMAIL PROTECTED]> [2007-12-12 21:07]:
> On Sonntag, 2. Dezember 2007, Thomas Bleher wrote:
> > 67 foreach($properties as $singleprop) {
> > 68 $dv =
> > SMWFactbox::addProperty($singleprop,$value,$valueCaption); 69 }
Yesterday I needed LIKE queries for properties, so I added it to SMW
(patch attached). It was surprisingly simple.
This patch adds a new comparator, %, to the already existing <, > and !.
So you can say [[has capital::%A%]] and it will return all pages that
have a property "has capital", with a va
* Markus Krötzsch <[EMAIL PROTECTED]> [2007-12-18 16:32]:
> On Freitag, 14. Dezember 2007, Thomas Bleher wrote:
> > * Markus Krötzsch <[EMAIL PROTECTED]> [2007-12-12 21:07]:
> > > On Sonntag, 2. Dezember 2007, Thomas Bleher wrote:
> > > > 67
* Markus Krötzsch <[EMAIL PROTECTED]> [2007-12-30 22:10]:
> OK, my conclusion now was to support the following syntax:
>
> [[property% *subs?r*]]
>
> where ? and * represent _ and % in SQL.
I think this is fine generally, but now you cannot query for a literal * or ?
anymore, AFAIK.
Not a huge
* Markus Krötzsch <[EMAIL PROTECTED]> [2008-01-02 08:37]:
> On Sonntag, 30. Dezember 2007, Thomas Bleher wrote:
> > * Markus Krötzsch <[EMAIL PROTECTED]> [2007-12-30 22:10]:
> > > OK, my conclusion now was to support the following syntax:
> > >
> > >
The following patch changes SMW so that, if $smwgInlineErrors is true,
pages with property errors are also added to a special category, so they
can be easily found and fixed.
The name of the category is given in the message
smw_propertyerror_category.
Regards,
Thomas
--- a/extensions/SemanticMed
22 matches
Mail list logo