I'm trying to realize how {{#property:}} works, and I'm confused. From my tests, it only works inside pages linked with a wikidata element - and they show the wikidata property for that wikidata element.
Only one page for project can be linked to to a wikidata element - so, a ns0 wikisource "book" can be linked to a wikidata edition element, but can't be linked, in the same time, with the related wikidata work element. So, I can't use #property tag to get properties of work items, but only for *edition* items.
It I want to retrieve propetries of a *work* wikidata element bu #property, I've to create a specific wikisource page for the work, then to link it to wikidata work element - then using #property inside it.
So far, the syntax to call a property of a wikidata element different from the element linked to current page seems not work.
So, I opened two *work* pages into it.wikisource, [[:it:Wikisource:Tommaso Moro (Pellico)]] and [[:it:Wikisource:Eufemio da Messina]], I linked them to Q15987095 and Q15987085, and I'm doing some test using those pages. I used nsWikisource just to avoid any possible mismatch between *works* and *editions".
Alex
2014-07-19 0:25 GMT+02:00 Alex Brollo alex.brollo@gmail.com:
I'm trying to realize how {{#property:}} works, and I'm confused. From my tests, it only works inside pages linked with a wikidata element - and they show the wikidata property for that wikidata element.
True, for now (and probably for a long moment), you can only get properties from the linked element with {{#property:}}.
Only one page for project can be linked to to a wikidata element - so, a
ns0 wikisource "book" can be linked to a wikidata edition element, but can't be linked, in the same time, with the related wikidata work element. So, I can't use #property tag to get properties of work items, but only for *edition* items.
It I want to retrieve propetries of a *work* wikidata element bu #property, I've to create a specific wikisource page for the work, then to link it to wikidata work element - then using #property inside it.
So far, the syntax to call a property of a wikidata element different from the element linked to current page seems not work.
So, I opened two *work* pages into it.wikisource, [[:it:Wikisource:Tommaso Moro (Pellico)]] and [[:it:Wikisource:Eufemio da Messina]], I linked them to Q15987095 and Q15987085, and I'm doing some test using those pages. I used nsWikisource just to avoid any possible mismatch between *works* and *editions".
Alex
It's a bit confusing for the works/edition but it already works perfectly for the Author: pages ;)
Do you know Lua ? You might want to take a look at : https://en.wikisource.org/wiki/Module:Wikibase to go further.
Cdlt, ~nicolas
Thanks ~nicolas for reference. In the meantime, perhaps I found the ideal namespace for local wikisource pages linked to a wikidata element (so allowing a #property including syntax as-it-is-by-now: strange to say, it's Author namespace! Simply, subpages of Author could be the work pages into wikisource. I'm testing this strange idea, the first page being https://it.wikisource.org/wiki/Autore:Silvio_Pellico/Francesca_da_Rimini .
Lua can wait a little bit :-)
Alex brollo
2014-07-19 9:22 GMT+02:00 Nicolas VIGNERON vigneron.nicolas@gmail.com:
2014-07-19 0:25 GMT+02:00 Alex Brollo alex.brollo@gmail.com:
I'm trying to realize how {{#property:}} works, and I'm confused. From my tests, it only works inside pages linked with a wikidata element - and they show the wikidata property for that wikidata element.
True, for now (and probably for a long moment), you can only get properties from the linked element with {{#property:}}.
Only one page for project can be linked to to a wikidata element - so, a
ns0 wikisource "book" can be linked to a wikidata edition element, but can't be linked, in the same time, with the related wikidata work element. So, I can't use #property tag to get properties of work items, but only for *edition* items.
It I want to retrieve propetries of a *work* wikidata element bu #property, I've to create a specific wikisource page for the work, then to link it to wikidata work element - then using #property inside it.
So far, the syntax to call a property of a wikidata element different from the element linked to current page seems not work.
So, I opened two *work* pages into it.wikisource, [[:it:Wikisource:Tommaso Moro (Pellico)]] and [[:it:Wikisource:Eufemio da Messina]], I linked them to Q15987095 and Q15987085, and I'm doing some test using those pages. I used nsWikisource just to avoid any possible mismatch between *works* and *editions".
Alex
It's a bit confusing for the works/edition but it already works perfectly for the Author: pages ;)
Do you know Lua ? You might want to take a look at : https://en.wikisource.org/wiki/Module:Wikibase to go further.
Cdlt, ~nicolas
Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l
This is the bug that is preventing access to unconnected items https://bugzilla.wikimedia.org/show_bug.cgi?id=47930
It is high priority development and the dev team is working on it since long time ago. It has many dependencies, so no idea when it will be ready to be used.
For now, we can only be patient... and gather ideas of what can be done with it... like automatic lists of works on the author page and on wikipedia, (finally) shared bibliographic information, automatic pages of books according to subject headings, etc, etc :)
Btw, Vlsergey from ruwiki did a gadget to edit Wikidata from any project, so I guess we could adapt it to edit bibliographic information. What do you think? https://www.wikidata.org/wiki/Wikidata:Project_chat#WEF_gadgets_update
The three gadgets (person, links, taxon) that exist so far can be tested by adding these 3 lines to your common.js
mediaWiki.loader.load( '//ru.wikipedia.org/w/index.php?title=MediaWiki:WEF_ExternalLinks.js&action=raw&ctype=text/javascript&maxage=86400&smaxage=21600' );
mediaWiki.loader.load( '//ru.wikipedia.org/w/index.php?title=MediaWiki:WEF_PersonEditor.js&action=raw&ctype=text/javascript&maxage=86400&smaxage=21600' );
mediaWiki.loader.load( '//ru.wikipedia.org/w/index.php?title=MediaWiki:WEF_TaxonEditor.js&action=raw&ctype=text/javascript&maxage=86400&smaxage=21600' );
Cheers, Micru
On Sat, Jul 19, 2014 at 9:22 AM, Nicolas VIGNERON < vigneron.nicolas@gmail.com> wrote:
2014-07-19 0:25 GMT+02:00 Alex Brollo alex.brollo@gmail.com:
I'm trying to realize how {{#property:}} works, and I'm confused. From my tests, it only works inside pages linked with a wikidata element - and they show the wikidata property for that wikidata element.
True, for now (and probably for a long moment), you can only get properties from the linked element with {{#property:}}.
Only one page for project can be linked to to a wikidata element - so, a
ns0 wikisource "book" can be linked to a wikidata edition element, but can't be linked, in the same time, with the related wikidata work element. So, I can't use #property tag to get properties of work items, but only for *edition* items.
It I want to retrieve propetries of a *work* wikidata element bu #property, I've to create a specific wikisource page for the work, then to link it to wikidata work element - then using #property inside it.
So far, the syntax to call a property of a wikidata element different from the element linked to current page seems not work.
So, I opened two *work* pages into it.wikisource, [[:it:Wikisource:Tommaso Moro (Pellico)]] and [[:it:Wikisource:Eufemio da Messina]], I linked them to Q15987095 and Q15987085, and I'm doing some test using those pages. I used nsWikisource just to avoid any possible mismatch between *works* and *editions".
Alex
It's a bit confusing for the works/edition but it already works perfectly for the Author: pages ;)
Do you know Lua ? You might want to take a look at : https://en.wikisource.org/wiki/Module:Wikibase to go further.
Cdlt, ~nicolas
Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l
Thanks to all. I'm going on with my test, into another thread into the same list: "A proposal for "work" pages into wikisource". I found Module:Wikibase running into it.source too, and it's really interesting, I'm reviewing my tests.
I apologyze about having opened two list threads more or less on the same topic, my suggestion is to consider this one "dead" and to go on into 'A proposal for "work" pages into wikisource'.
Alex
I got in contact with Vlsergey explaining to him wikisource needs (a "work" editor and an "edition" editor" to manage book-related wikidata elements) and Vlsergey wrote two new tools in a few ours. You can load them by:
mediaWiki.loader.load( '// ru.wikipedia.org/w/index.php?title=MediaWiki:WEF_WorkEditor.js&action=raw&ctype=text/javascript&maxage=86400&smaxage=21600' );
mediaWiki.loader.load( '// ru.wikipedia.org/w/index.php?title=MediaWiki:WEF_EditionEditor.js&action=raw&ctype=text/javascript&maxage=86400&smaxage=21600' );
These two new tools by Vlsergey, together with the "old" PersonEditor, allow to manage almost all wikidata elements currently needed by wikisource (but "publisher" element); the three editors have been uploaded into it.wikisource as MediaWiki:Gadgets and they run happily.
Please can you help me to spread those news into wikisource communities?
Alex
2014-07-20 11:23 GMT+02:00 Alex Brollo alex.brollo@gmail.com:
Thanks to all. I'm going on with my test, into another thread into the same list: "A proposal for "work" pages into wikisource". I found Module:Wikibase running into it.source too, and it's really interesting, I'm reviewing my tests.
I apologyze about having opened two list threads more or less on the same topic, my suggestion is to consider this one "dead" and to go on into 'A proposal for "work" pages into wikisource'.
Alex
wikisource-l@lists.wikimedia.org