I could try but I am sure Jona knows exactly all the changes on the dump
branch and could merge it more easily :-)

For what regards the magic word it is required to be in the article itself,
either directly or transcluded. But of course it is easier to modify the
disambiguation templates other than editing each article :)

Example of the change is in [1]

For what regards the implementation of automatic download from the
MediaWiki:Disambiguationspage I have reused some code from Jona [2] and
added the relevant hooks in GeneratePageSettings.scala

Will send a pull request as soon as I can.

Cheers
Andrea

[1] http://en.wikipedia.org/w/index.php?title=Template:Dmbox&action=edit
[2] https://github.com/dbpedia/extraction-framework/issues/12
Il 22/ott/2013 06:37 "Pablo N. Mendes" <[email protected]> ha scritto:

>
> The branches should be merged, of course. It's a matter of checking with
> Jona when. Or would Andrea be up for the challenge?
>
> Also, is this magic word within the template definitions or within the
> disambiguation pages?
>
>
> On Mon, Oct 21, 2013 at 8:26 AM, Andrea Di Menna <[email protected]>wrote:
>
>> On top of this:
>>
>> Looks like MediaWiki is currently superseding the 
>> MediaWiki:Disambiguationspage
>> and moving to a magic word [1][2]
>>
>> There are already Wikipedias which have removed the 
>> MediaWiki:Disambiguationspage
>> and transitioned to the __DISAMBIG__ magic word.
>> Unfortunately this means that probably it will be needed to preprocess
>> wikipedia dumps to extract the list of disambiguation templates by looking
>> at __DISAMBIG__ or any alias defined (which can be retrieved using
>> GenerateWikiSettings.scala).
>>
>> WDYT?
>>
>> Andrea
>>
>> [1] https://www.mediawiki.org/wiki/Manual:Interface/Disambiguationspage
>> [2]
>> http://www.mail-archive.com/[email protected]/msg69704.html
>>
>>
>> 2013/10/21 Andrea Di Menna <[email protected]>
>>
>>> Hi all,
>>>
>>> I have noticed there are a lot of pages in the enwiki which are not
>>> detected as disambiguation pages by the DBpedia EF.
>>> This is because of the not-maintained map of disambiguation templates in
>>> [1]
>>>
>>> I am working on the suggestion which appears in [1] and parsing
>>> MediaWiki:Disambiguationspage* *pages to collect disambiguation
>>> template names.
>>>
>>> Anyway I have a couple of questions:
>>> 1) Should I work on DEF master branch or dump branch? The dump branch
>>> seems to be the most updated one (source of DBpedia 3.9?) Are you going to
>>> merge it back to master?
>>> 2) Since there are many differences between [1] and what we can get with 
>>> MediaWiki:Disambiguationspage
>>> should we merge them or simply remove [1]?
>>>
>>> Would be great to have your opinion on this.
>>>
>>> Cheers
>>> Andrea
>>>
>>> [1]
>>> https://github.com/dbpedia/extraction-framework/blob/dump/core/src/main/scala/org/dbpedia/extraction/wikiparser/impl/wikipedia/Disambiguation.scala
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> October Webinars: Code for Performance
>> Free Intel webinars can help you accelerate application performance.
>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
>> from
>> the latest Intel processors and coprocessors. See abstracts and register >
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Dbpedia-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dbpedia-developers
>>
>>
>
>
> --
>
> Pablo N. Mendes
> http://pablomendes.com
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Dbpedia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-developers

Reply via email to