Talk:AutosuggestSitelink

Latest comment: 3 months ago by SWilson (WMF) in topic Activating the tool

Move to mainspace

edit

I suggest we move this page to mainspace, as it's a project and not directly related to Meta Wiki. SWilson (WMF) (talk) 06:23, 1 February 2023 (UTC)Reply

Activating the tool

edit

Hello,

what would be necessary to activate this tool for all users of a language version (e.g. the german language wikipedia) per default?

Thanks a lot!

Also see

--M2k~dewiki (talk) 16:43, 8 April 2023 (UTC)Reply

Hello @Samwilson, Lydia Pintscher (WMDE), DMartin (WMF), HMonroy (WMF), and MusikAnimal:
what would be necessary to activate this tool for all users of a language version (e.g. the german language wikipedia, commons, ...) per default?
Is there any project plan or time schedule for testing, training/information/discussion, deploying/roll out ?
Thanks a lot! M2k~dewiki (talk) 18:14, 27 September 2023 (UTC)Reply
@M2k~dewiki: Sorry for the slow reply here! Thanks for persisting with asking about this, and reporting issues, it definitely is appreciated.
To enable for all users on one wiki, you can install it as a gadget. To do that, you should request that a local interface-admin make the required edits. Gadgets can be set to be enabled for all users if the community agrees.
As for the general development and testing of this tool, there's not a great deal going on as you can see. However, there are a few simple-looking tasks that I'm going to try to look at now. For more complicated things, did you see my reply on T329967? There are a few options, but I'm not totally clear which is the best.
Thanks. — Sam Wilson 06:30, 28 September 2023 (UTC)Reply
Hello, AutosuggestSitelink#Installing_as_a_gadget says: this is not yet recommended. Is there any project plan or time schedule for testing, training/information/discussion, deploying/roll out? Thanks a lot! M2k~dewiki (talk) 17:01, 2 September 2024 (UTC)Reply
@M2k~dewiki: The CommTech team is busy with other things these days, but I've removed the recommendation against the gadget. As it's loading the code from a central place it doesn't really prevent easy upgrades. The main concern with declaring it ready as a gadget was that lots of people would start using it before it's ready — but I don't think many people are having issues at the moment (I use it at least every week and although it's got some things to improve, it basically works). Do you know of particular bugs that should be addressed? As for adding it to German Wikipedia, you'd have to start a discussion there about that.
As far as T329967 goes, I'm still not sure what changes are being asked for.
SWilson (WMF) (talk) 04:44, 3 September 2024 (UTC)Reply
Hello @SWilson (WMF): regarding https://phabricator.wikimedia.org/T329967 the tool is not able to find the existing wikidata object when there are additional brackets (...) in the lemma, for example:
So, the part with the brackets should be removed as part of the search string for looking up for existing wikidata objects. M2k~dewiki (talk) 07:43, 3 September 2024 (UTC)Reply
@M2k~dewiki: Ah right, that makes sense. I wonder if adding a search box (prefilled with the current title) would be as useful? That way you could change the search term to remove the parentheses or make other changes to make it easier to find a matching item. I think just hard coding it to remove parenthese might be a bit limiting (e.g. we'd probably also want to split on commas and other disambiguation punctuation). SWilson (WMF) (talk) 07:51, 3 September 2024 (UTC)Reply

Nice tool

edit
Tracked in Phabricator:
Task T357081

I have activated this tool for me and it's also available as an experimental feature on cs.wiki. It would be nice if the gadget don't load on the redirect pages (or at least it should be disabled in default). — Draceane talkcontrib. 14:27, 7 February 2024 (UTC)Reply

@Draceane: Glad you like it! And excluding redirect pages is a good idea. Some wikis do like to add sitelinks for redirects, so I wonder if a good compromise could be to not show the automatic popup dialog window after saving, but still have the sidebar link in case people want to add a sitelink. What do you think? Sam Wilson 23:40, 7 February 2024 (UTC)Reply
Yes, that would be nice. I don't think that disabling it on all redirect pages would be an optimal solution, but "muting" it might be a good compromise. — Draceane talkcontrib. 09:36, 8 February 2024 (UTC)Reply
@Draceane: Great! I've created T357081 to track it. Sam Wilson 01:14, 9 February 2024 (UTC)Reply
edit

The tool doesn't work if the linked page is a redirect, so it should have an intentional sitelink to redirect badge on Wikidata, if it's relavant to attach it to an item. Jklamo (talk) 10:19, 16 February 2024 (UTC)Reply

@Jklamo: Good point, thanks! I've added this to phab:T357081. We'd want to make it clear to the user that it is adding the sitelink to a redirect, and perhaps link to the documentation about what this means. Sam Wilson 13:33, 16 February 2024 (UTC)Reply

No options match

edit

If I am creating a page and it pops up options, it does not give me the option to create my own. It only pops that up when nothing is found. Would it be possible to make that an option at the bottom of the list? This is a redirect page, but it pops up a bunch of other objects but no option to create my own. So I have to manually do it. Da LambTalk to me!Please don't eat da 🐑! 11:26, 4 April 2024 (UTC)Reply

@PotsdamLamb: Good idea, I've also been thinking the same when I've used the gadget. I've created task T361834. I wonder if it'd be good for it to ask for the label and description (and maybe instance-of or subclass-of) within the dialog window, or if it's just as easy to leave that for the Wikidata side considering that the user will have to go there anyway to add more properties? SWilson (WMF) (talk) 13:09, 4 April 2024 (UTC)Reply
@SWilson (WMF) Thanks for the quick response. I like how when it doesn't find one and allows you to start it and the page it opens is more than what the default is for starting a new object in wikidata. The more info that can be filled in the better, but I know some editors who work outside of WD do not really care about what goes in them and I have found some with just a title but absolutely no other information so no clue about what it is/was for. Da LambTalk to me!Please don't eat da 🐑! 13:12, 4 April 2024 (UTC)Reply
@PotsdamLamb: I guess there's a trade off between getting people to create the item, and getting them to add as much info as possible; we don't want to discourage them. But still, I might have a think about how to make it suggest more. :) And even if there's no other info, at least the sitelink is there. I use d:User:NMaia/WikidataInfo.js in addition to this, so often use that link to create rather than AutosuggestSitelink's (but would rather have it all in one gadget). SWilson (WMF) (talk) 00:41, 8 April 2024 (UTC)Reply
@SWilson (WMF) My thing is that it doesn’t open the same page to create. One is very basic where the other requires a bit more info. I’ll have to try this out too. Thanks, and be well! Da LambTalk to me!Please don't eat da 🐑! 04:22, 8 April 2024 (UTC)Reply

Dark Mode

edit

When using the tool in German Wikipedia, the text is not readable in dark mode. But as the same normal "save changes" dialogue has the same problem, this problem might not be related to the specific tool. Discostu (talk) 20:25, 18 June 2024 (UTC)Reply

edit
 
default values for all languages

Hello, does AutosuggestSitelink also check for mul-Labels (multiple languages)?

Thanks a lot! M2k~dewiki (talk) 18:18, 15 August 2024 (UTC)Reply

@M2k~dewiki: It uses the list=search API, which (as far as I know, although I can't find a source for this right now) searches across all languages' labels, aliases, and descriptions. The search returns a 'title' (the QID) and 'snippet' (in the site's language). Actually, looking into this now I'm a bit confused — it looks like we should perhaps be using action=wbsearchentities instead! I'm hoping to work on phab:T362592 at some point, which should help with being able to change the search term used and so get better results.
It's not immediately clear to me what language we should use on e.g. Multilingual Wikisource: I'd imagine that one would expect the search results to be in the current interface language, rather than the content language. SWilson (WMF) (talk) 03:43, 16 August 2024 (UTC)Reply
Return to "AutosuggestSitelink" page.