[Bug 63487] refreshLinks.php is destroying SMW-Data

2014-05-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=63487

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

   Priority|Unprioritized   |Low

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 63487] refreshLinks.php is destroying SMW-Data

2014-04-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=63487

--- Comment #1 from Andre Klapper aklap...@wikimedia.org ---
(In reply to Ekim from comment #0)
 Everytime when I run refreahLinks.php without any options, the complete
 semantic data from SMW is destroyed in the database (not on the pages).

Where exactly (tables etc.) is semantic data stored by SMW?

 The complete Attributes are destroyed

Is that a table created by SMW?

 and semantic querys leats to no results.

Any example query?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 63487] refreshLinks.php is destroying SMW-Data

2014-04-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=63487

--- Comment #2 from Ekim mike.cra...@gmx.net ---
(In reply to Andre Klapper from comment #1)
 (In reply to Ekim from comment #0)
  Everytime when I run refreahLinks.php without any options, the complete
  semantic data from SMW is destroyed in the database (not on the pages).
 
 Where exactly (tables etc.) is semantic data stored by SMW?
 

SMW is storing the data in a MySQL database.

  The complete Attributes are destroyed
 
 Is that a table created by SMW?

Attributes is this case are exclusive for SMW.

 
  and semantic querys leads to no results.
 
 Any example query?


[[Is Member of Organisation::Coca Cola]] entered in the Special pages
SMW-Query.

leads normaly to the result that all (in this wiki stored) employees of Coca
Cola will be listed.



I also figured out, that the bug must have to do something with the usage of
templates.

Every semantic data, defined directly on a page is not affected, only the
semantic data that is entered through a template (this is my case) will be
destroyed through refreshLinks.php

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 63487] refreshLinks.php is destroying SMW-Data

2014-04-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=63487

Bawolff (Brian Wolff) bawolff...@gmail.com changed:

   What|Removed |Added

 CC||bawolff...@gmail.com

--- Comment #3 from Bawolff (Brian Wolff) bawolff...@gmail.com ---
Its probably caused by the line:

$wgParser-clearTagHooks(); (line 79 of refreshLinks.php)

Which is probably somewhat misguided as some hooks are important (This has
caused bugs on Wikimedia wikis in the past). I would say we should get rid of
that line and instead make extensions implement the MaintenanceRefreshLinksInit
where it is appropriate.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 63487] refreshLinks.php is destroying SMW-Data

2014-04-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=63487

Bawolff (Brian Wolff) bawolff...@gmail.com changed:

   What|Removed |Added

 CC||jeroen_ded...@yahoo.com

--- Comment #4 from Bawolff (Brian Wolff) bawolff...@gmail.com ---
Actually, I wouldn't expect that to affect link annotation syntax (since that's
from a InternalParseBeforeLinks hook), but it would affect any {{#foo type
syntax. Don't know much about SMW though.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 63487] refreshLinks.php is destroying SMW-Data

2014-04-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=63487

--- Comment #5 from Ekim mike.cra...@gmx.net ---
I have some more informations:

If I change this line in my template:

[[ist member of organization::{{{organization|}}}]] 

to

[[is member of organization::coca cola]] 


Every page with a Person using the template is now member of Coca Cola and
refreshLinks.php is not affecting this.


For me it seems to be a problem of the ??Parser?? who must replace
{{{organization}}} (but dont do it right) before Evaluation?


Additional: If I run a SMW-Query from the Special-page lige theese:

[[is member of organization::{{{organization|}}}]]
[[is member of organization::{{{organization}}}]]
[[is member of organization::{{organization}}]]
[[is member of organization::organization]]

Shows no result, so something is replaced for {{{Organisation|}}} but what?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 63487] refreshLinks.php is destroying SMW-Data

2014-04-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=63487

--- Comment #6 from Bawolff (Brian Wolff) bawolff...@gmail.com ---
{{{Organisation|}}}

Is replaced by an empty string if no Organisation parameter specified...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 63487] refreshLinks.php is destroying SMW-Data

2014-04-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=63487

--- Comment #7 from Ekim mike.cra...@gmx.net ---
Yes, but in my case organization is getting a valid Parameter.


By the way, I have replaced

[[is member of organization::{{{organization|}}}]]

with

{{#set:is member of organization={{{organization}
{{{organization}}}


To avoid a link.


But I get the same results in destroying semantic data through refreshLinks.php


Additional: In Specialpages:Properties I can see some results like this:

Jim Beam + tplargtitleOrganization/titlepartName
index=1/value//part/tplarg 

or

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 63487] refreshLinks.php is destroying SMW-Data

2014-04-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=63487

p858snake p858sn...@gmail.com changed:

   What|Removed |Added

 CC||p858sn...@gmail.com

--- Comment #8 from p858snake p858sn...@gmail.com ---
it might help if someone adds a few of the semantic people onto the cc list

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 63487] refreshLinks.php is destroying SMW-Data

2014-04-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=63487

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

 CC||markus@semantic-mediawiki.o
   ||rg

--- Comment #9 from Andre Klapper aklap...@wikimedia.org ---
(In reply to p858snake from comment #8)
 it might help if someone adds a few of the semantic people onto the cc list

Adding Markus and Jeroen.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l