https://bugzilla.wikimedia.org/show_bug.cgi?id=10237

John Mark Vandenberg <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #13 from John Mark Vandenberg <[email protected]> ---
(In reply to Helder from comment #12)
> Maybe this will be possible to implement using Lua + WikiData?

This depends on Wikidata having an item for the target page, which isnt 100%
guaranteed.  Anyway, the data is mostly ready for this, and there is an API to
implement it using Wikidata.

https://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki&titles=Death_Star&props=labels&languages=nn&format=json

(but wiktionary isnt supported yet)

A #ifexists implemented in wikidata and lua (see but 11 comment 25) would be
dependent on bug 47930.

Native #ifexist support would like be PHP invoking the target wiki API per
comment 7, but the hard part is then tracking when the local page with the
#ifexist call needs updating because the link target page is created or deleted
on the link target wiki.  Maybe mediawiki can re-use/general the external site
changes notification work that Wikidata is doing in bug 47288, so that
mediawiki sites can notify each other of these events. (or re-use an existing
message bus framework that has PHP support) non-mediawikis on the interwiki map
could be periodically polled by backend processes, and events fired into
message bus when changes are found.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to