[Wikitech-l] Re: gotointerwiki-external
bawolff ezt írta (időpont: 2023. jún. 1., Cs, 14:24): > Ensure that the iw_local field is set to 1. Otherwise the interwiki is not > considered safe for automatic redirection. > Great, it works, thank you! ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
[Wikitech-l] Re: gotointerwiki-external
Hi, On Thu, 2023-06-01 at 14:04 +0200, Bináris wrote: > Sorry for disturbing, but I did not find the answer in the docs. > > I installed a MW 1.39.3 with an automated tool. Then I inserted a > row into the interwiki table to make 'hu:' interwiki to recognize > huwiki. > > Now I write hu:anything into the search box, and get a message that I > want to leave my wiki. Of course, I know, that's why I did it. > What I could dig from translatewiki that the name of this message is > 'gotointerwiki-external'. > How could I switch this feature off and make my wiki just to go to > the desired link? https://codesearch.wmcloud.org/core/?q=gotointerwiki-external==.*json%24= points to https://gerrit.wikimedia.org/g/mediawiki/core/+/7833f3a238cee8b758c9166b94fb55e7d3a87c85/includes/specials/SpecialGoToInterwiki.php for code to potentially change locally, and https://phabricator.wikimedia.org/T122209 for additional context. It seems there is no setting for this. Cheers, andre -- Andre Klapper (he/him) | Bugwrangler https://blogs.gnome.org/aklapper/ ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
[Wikitech-l] Re: gotointerwiki-external
Ensure that the iw_local field is set to 1. Otherwise the interwiki is not considered safe for automatic redirection. -- Brian On Thu, Jun 1, 2023 at 5:05 AM Bináris wrote: > Sorry for disturbing, but I did not find the answer in the docs. > > I installed a MW 1.39.3 with an automated tool. Then I inserted a row > into the interwiki table to make 'hu:' interwiki to recognize huwiki. > > Now I write hu:anything into the search box, and get a message that I want > to leave my wiki. Of course, I know, that's why I did it. > What I could dig from translatewiki that the name of this message is > 'gotointerwiki-external'. > How could I switch this feature off and make my wiki just to go to the > desired link? > > -- > Bináris > ___ > Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org > To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org > https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/ ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/