From tat.wright at googlemail.com Thu Feb 7 20:17:37 2008 From: tat.wright at googlemail.com (Tom Wright) Date: Thu, 7 Feb 2008 20:17:37 +0000 Subject: [search-ui] Mini-article redirects Message-ID: <2813c4970802071217i6d84ed0cg2afe6cecbad45a4c@mail.gmail.com> At the moment mini-articles redirects don't work. This is (probably) a problem with wfGetArticleJSON function. Is the source code for this available anywhere? Tom From jeremie at jabber.org Thu Feb 7 20:50:46 2008 From: jeremie at jabber.org (jer) Date: Thu, 7 Feb 2008 14:50:46 -0600 Subject: [search-ui] Mini-article redirects In-Reply-To: <2813c4970802071217i6d84ed0cg2afe6cecbad45a4c@mail.gmail.com> References: <2813c4970802071217i6d84ed0cg2afe6cecbad45a4c@mail.gmail.com> Message-ID: I'll try to get it checked into the re.search subversion shortly... In what ways should mini articles use redirects? On Feb 7, 2008, at 2:17 PM, Tom Wright wrote: > At the moment mini-articles redirects don't work. This is (probably) a > problem with wfGetArticleJSON function. > > Is the source code for this available anywhere? > > Tom > _______________________________________________ > Search-UI mailing list > Search-UI at wikia.com > http://lists.wikia.com/mailman/listinfo/search-ui From tat.wright at googlemail.com Thu Feb 7 21:13:45 2008 From: tat.wright at googlemail.com (Tom Wright) Date: Thu, 7 Feb 2008 21:13:45 +0000 Subject: [search-ui] Mini-article redirects In-Reply-To: References: <2813c4970802071217i6d84ed0cg2afe6cecbad45a4c@mail.gmail.com> Message-ID: <2813c4970802071313l5f5300cbr23265d94804b220@mail.gmail.com> Redirects would be used to display identical content for search terms that are that have exactly the same intent. For example plurals should problem map to their singular equivalent, and some acronyms should expand to their full meaning (if there is only one expansion). This would only redirect the content of the mini-articles - not the search itself, though perhaps this is a possibily. Also redirects could be used to deal with the capitalization problem - though perhaps a more automatic solution would be better. I think it's confusing to have different behaviours for the mediawiki display and the insearch display of mini-articles. Tom On Feb 7, 2008 8:50 PM, jer wrote: > I'll try to get it checked into the re.search subversion shortly... > > In what ways should mini articles use redirects? > > > On Feb 7, 2008, at 2:17 PM, Tom Wright wrote: > > > At the moment mini-articles redirects don't work. This is (probably) a > > problem with wfGetArticleJSON function. > > > > Is the source code for this available anywhere? > > > > Tom > > _______________________________________________ > > Search-UI mailing list > > Search-UI at wikia.com > > http://lists.wikia.com/mailman/listinfo/search-ui > > _______________________________________________ > Search-UI mailing list > Search-UI at wikia.com > http://lists.wikia.com/mailman/listinfo/search-ui > From tat.wright at googlemail.com Thu Feb 7 21:14:51 2008 From: tat.wright at googlemail.com (Tom Wright) Date: Thu, 7 Feb 2008 21:14:51 +0000 Subject: [search-ui] Mini-article redirects In-Reply-To: <2813c4970802071313l5f5300cbr23265d94804b220@mail.gmail.com> References: <2813c4970802071217i6d84ed0cg2afe6cecbad45a4c@mail.gmail.com> <2813c4970802071313l5f5300cbr23265d94804b220@mail.gmail.com> Message-ID: <2813c4970802071314l1b0f785em95530229a678819f@mail.gmail.com> p.s There are probably some issues to be discussed about when redirects are appropriate. On Feb 7, 2008 9:13 PM, Tom Wright wrote: > Redirects would be used to display identical content for search terms > that are that have exactly the same intent. For example plurals should > problem map to their singular equivalent, and some acronyms should > expand to their full meaning (if there is only one expansion). > > This would only redirect the content of the mini-articles - not the > search itself, though perhaps this is a possibily. > > Also redirects could be used to deal with the capitalization problem - > though perhaps a more automatic solution would be better. > > I think it's confusing to have different behaviours for the mediawiki > display and the insearch display of mini-articles. > > Tom > > > > On Feb 7, 2008 8:50 PM, jer wrote: > > I'll try to get it checked into the re.search subversion shortly... > > > > In what ways should mini articles use redirects? > > > > > > On Feb 7, 2008, at 2:17 PM, Tom Wright wrote: > > > > > At the moment mini-articles redirects don't work. This is (probably) a > > > problem with wfGetArticleJSON function. > > > > > > Is the source code for this available anywhere? > > > > > > Tom > > > _______________________________________________ > > > Search-UI mailing list > > > Search-UI at wikia.com > > > http://lists.wikia.com/mailman/listinfo/search-ui > > > > _______________________________________________ > > Search-UI mailing list > > Search-UI at wikia.com > > http://lists.wikia.com/mailman/listinfo/search-ui > > > From balinny at gmail.com Thu Feb 7 21:27:06 2008 From: balinny at gmail.com (Balinny) Date: Thu, 07 Feb 2008 22:27:06 +0100 Subject: [search-ui] Mini-article redirects In-Reply-To: References: <2813c4970802071217i6d84ed0cg2afe6cecbad45a4c@mail.gmail.com> Message-ID: <47AB77AA.9040203@gmail.com> jer wrote: > I'll try to get it checked into the re.search subversion shortly... > > In what ways should mini articles use redirects? > User searches for 'Foo bar' [[Mini:Foo_bar]] is a redirect to [[Mini:Foo_Bar]] The contents of [[Mini:Foo_Bar]] should be shown. It'd be cleaner to have wfGetArticleJSON retrieve anything and resolve the redirect on client, but more efficient sending the right page first time. That function needs to cleanup to detect the right article no matter how the user types the query. There has been some comments - I think on wikiasearch. It's not clear how to do it. And there's still the language thing... From tat.wright at googlemail.com Thu Feb 7 22:10:23 2008 From: tat.wright at googlemail.com (Tom Wright) Date: Thu, 7 Feb 2008 22:10:23 +0000 Subject: [search-ui] Mini-article redirects In-Reply-To: <47AB77AA.9040203@gmail.com> References: <2813c4970802071217i6d84ed0cg2afe6cecbad45a4c@mail.gmail.com> <47AB77AA.9040203@gmail.com> Message-ID: <2813c4970802071410y727124a6v677ac4df9f079efb@mail.gmail.com> Hmm. My understanding was that wfGetArticleJSON was a mediawiki extension, which gets run on the server... On Feb 7, 2008 9:27 PM, Balinny wrote: > jer wrote: > > I'll try to get it checked into the re.search subversion shortly... > > > > In what ways should mini articles use redirects? > > > User searches for 'Foo bar' > [[Mini:Foo_bar]] is a redirect to [[Mini:Foo_Bar]] > The contents of [[Mini:Foo_Bar]] should be shown. > > It'd be cleaner to have wfGetArticleJSON retrieve anything and resolve > the redirect on client, > but more efficient sending the right page first time. > > That function needs to cleanup to detect the right article no matter how > the user types the query. > There has been some comments - I think on wikiasearch. It's not clear > how to do it. And there's > still the language thing... > > _______________________________________________ > Search-UI mailing list > Search-UI at wikia.com > http://lists.wikia.com/mailman/listinfo/search-ui > From balinny at gmail.com Fri Feb 8 14:59:46 2008 From: balinny at gmail.com (Balinny) Date: Fri, 08 Feb 2008 15:59:46 +0100 Subject: [search-ui] Mini-article redirects In-Reply-To: <2813c4970802071410y727124a6v677ac4df9f079efb@mail.gmail.com> References: <2813c4970802071217i6d84ed0cg2afe6cecbad45a4c@mail.gmail.com> <47AB77AA.9040203@gmail.com> <2813c4970802071410y727124a6v677ac4df9f079efb@mail.gmail.com> Message-ID: <47AC6E62.4090008@gmail.com> Tom Wright wrote: > Hmm. My understanding was that wfGetArticleJSON was a mediawiki > extension, which gets run on the server... > Yes, it is. Or maybe i should call it a function extension :P