[Wikidata-bugs] [Maniphest] [Commented On] T133719: Content translation should add sitelink for new article
KartikMistry added a comment. @Ladsgroup Thanks a lot! If result too can be also published somewhere (number of articles etc - missed to link etc), that will help us. TASK DETAIL https://phabricator.wikimedia.org/T133719 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: KartikMistry Cc: KartikMistry, Ladsgroup, Lydia_Pintscher, Amire80, Jane023, Wittylama, Aklapper, Multichill, D3r1ck01, Nizil, Ixocactus, Izno, Wikidata-bugs, aude, Jsahleen, Arrbee, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T133719: Content translation should add sitelink for new article
Ladsgroup added a comment. Hey, Sorry for late response. I reworked my bot and reran it a week ago. Before that, the bot actually searched for all articles created by CX, and checked if they are connected or not and based on possible scenarios, it added the link to the wikidata but since CX got really big (\o/), Using this method became eventually very slow. What I do right now is searching for unconnected articles that have been made by CX (which is a SQL query) and acts based on that. I'm running it in a weekly basis and I'm going to publish the source code after some minor polishing. It fixed a lot of cases but a significant proportion of them left out. Biggest issue here is interwiki conflicts. I can list them anywhere you want (Or update a certain page). Which way would be the most convenient way for you? TASK DETAIL https://phabricator.wikimedia.org/T133719 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ladsgroup Cc: KartikMistry, Ladsgroup, Lydia_Pintscher, Amire80, Jane023, Wittylama, Aklapper, Multichill, D3r1ck01, Nizil, Ixocactus, Izno, Wikidata-bugs, aude, Jsahleen, Arrbee, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T133719: Content translation should add sitelink for new article
Amire80 added a comment. In https://phabricator.wikimedia.org/T133719#2247074, @Jane023 wrote: > Interesting! Is there any way to alert when the user hits save that the wikidata item is or could not be updated? Mmm... probably. Can you please open a separate task? > I mean I have in the past saved to a userpage as a test, so obviously linking that to the wikidata item would not work (I just saved under another name). The Content Translation code only auto-links translation if it is in the article space, under the following assumptions: - That other namespaces can be disallowed in WIkidata, such as User:. - That people who translate to other namespaces know what they are doing :) > Then when I move the article to mainspace, the original item should be shown again somehow. Making this automatic would be out of scope of Content Translation, which tries to focus on the article creation stage and not on further editing or curation (this may change in the future, but I don't expect this to happen for at least a year). > Maybe if the link is unsuccessful that the saved article should just include wikitext in the form of [[Category:Articles without Wikidata items]] or just . I suppose only the first is visible to the Visual editors though. The original Wikidata item can be found more or less easily by checking the first revision of the translated article. Its edit summary includes a link to the source article, and from it the Wikidata item can be found. @Ladsgroup's bot does something like this, but he may add further details. TASK DETAIL https://phabricator.wikimedia.org/T133719 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Amire80 Cc: KartikMistry, Ladsgroup, Lydia_Pintscher, Amire80, Jane023, Wittylama, Aklapper, Multichill, D3r1ck01, Nizil, Ixocactus, Izno, Wikidata-bugs, aude, Jsahleen, Arrbee, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T133719: Content translation should add sitelink for new article
Jane023 added a comment. Interesting! Is there any way to alert when the user hits save that the wikidata item is or could not be updated? I mean I have in the past saved to a userpage as a test, so obviously linking that to the wikidata item would not work (I just saved under another name). Then when I move the article to mainspace, the original item should be shown again somehow. Maybe if the link is unsuccessful that the saved article should just include wikitext in the form of [[Category:Articles without Wikidata items]] or just . I suppose only the first is visible to the Visual editors though. TASK DETAIL https://phabricator.wikimedia.org/T133719 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jane023 Cc: Ladsgroup, Lydia_Pintscher, Amire80, Jane023, Wittylama, Aklapper, Multichill, D3r1ck01, Nizil, Ixocactus, Izno, Wikidata-bugs, aude, Jsahleen, Arrbee, KartikMistry, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs