I'm pretty sure it's #2 On Sun, Oct 16, 2011 at 7:30 PM, Jon Davis <[email protected]> wrote:
> I read this question 2 ways. > > #1 - You want an extension that will automatically link words to Wikipedia, > that are not currently linked. This would be very difficult to > implement efficiently (with multi word titles being taken into account) and > would end up with half of your text as wikilinks, IE [1][2][3][4] > > #2 - You want an extension that will replace redlinks, where possible, with > links to wikipedia. I don't know how the parser engine handles links like > that, but I'm sure a hack could be made that would be reasonable. > > Which were you talking about? > -Jon > > [1] https://en.wikipedia.org/wiki/Right > [2] https://en.wikipedia.org/wiki/Now > [3] https://en.wikipedia.org/wiki/The > [4] https://en.wikipedia.org/wiki/Logic > > On Sat, Oct 15, 2011 at 16:55, Wjhonson <[email protected]> wrote: > > > > > Right now the logic is that if you have a link using the [[ ]] the code > > will check that there is a page with that name. > > > > What I want to do is add to that, that if there is NOT, then it checks to > > see if there is a page with that name at En.Wikipedia > > > > Is there already an extension that does that? Does anyone see any > problem > > with modding the code to do this? > > > > > > _______________________________________________ > > MediaWiki-l mailing list > > [email protected] > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > > > > -- > Jon > [[User:ShakataGaNai]] / KJ6FNQ > http://snowulf.com/ > http://ipv6wiki.net/ > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > -- John _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
