User talk:Lahwaacz.bot

From ArchWiki
Jump to: navigation, search

Auto update i18n pages

One idea come into my mind, it should be easy for your bot. Please check if you have time to implement.

For Chinese pages, there are many links to English pages and I think it should be linked to i18n page.

  1. If Page is end with (简体中文)
  2. Find all English page links in the page.
  3. For each English name, check if English name (简体中文) exist and make sure it is not flagged by Template:Translateme and Template:Translateme (简体中文).

Then: Change [[English name]] to [[English name (简体中文)|English name]].

Maybe not all translation teams want this feature, so it should be enable/disable by languages.

Hope I describe my thought clearly. Waiting for your feedback. --Fengchao (talk) 03:04, 16 March 2016 (UTC)

That sounds like a nice idea. I was actually thinking about some other things that could be done automatically on i18n pages, e.g. renaming if the English page has been recently renamed, adding the same categories etc. so I'll add your idea to the list of new features. -- Lahwaacz (talk) 21:18, 16 March 2016 (UTC)
Great, I will wating for those new features. --Fengchao (talk) 05:49, 17 March 2016 (UTC)

marking AUR links to pkgbase as broken link

hi, your bot marked a policydAUR link as broken (on https://wiki.archlinux.org/index.php?title=Postfix&diff=next&oldid=431606#Rule-based_mail_processing). the pkgbase policyd exists, but packages derived from it have different names. can you fix this please? thank you! Fordprefect (talk) 18:05, 24 April 2016 (UTC)

Hi, that's a general problem of the Template:AUR, which works only for packages and not pkgbases. For policydAUR the link does not work, it leads to a 404 page. I think that this behaviour is fine because users can install only packages and not pkgbases. -- Lahwaacz (talk) 18:53, 24 April 2016 (UTC)
Hm, I see the problem here. How could i implement a link to https://aur.archlinux.org/pkgbase/policyd with the AUR annotation? Fordprefect (talk) 18:59, 24 April 2016 (UTC)
Ok fixed it: policydAUR Fordprefect (talk) 19:03, 24 April 2016 (UTC)
Hmm, that's not perfect either, because users expect such links to be packages that can be installed—on the other hand, pkgbases can't be installed. -- Lahwaacz (talk) 16:30, 16 July 2016 (UTC)