[[Pywikibot:Cosmetic changes-append/en]]

From Support
Jump to navigation Jump to search

Missing from Pywikibot

Picture

Milićević (talk)12:19, 4 January 2023

It took me a couple of minutes to understand the report, but I think I understood it :)

Does this happen in a current version of Pywikibot? If not, can you please update and try again?

Amir E. Aharoni (talk)10:33, 5 January 2023

Current version (downloaded 18 dec 22). I tried adding message manually in i18n/en.json but its just pops up new error message

Milićević (talk)11:10, 5 January 2023

18 dec 22 is not so new. Please try updating from Gerrit and running again.

Amir E. Aharoni (talk)11:20, 5 January 2023

Version, error; I tried adding message manually here but it did not help (’cosmetic_changes-append’)

Milićević (talk)10:09, 6 January 2023

I'm really not a big expert on pywikibot, but from what I know, its users usually update from Gerrit and rely more on the Gerrit version number based on the last commit. If you got pywikibot from Gerrit, you can check it by running git log -1.

As far as I can see, the usage of the message "cosmetic_changes-append" has changed recently, and I think that if you update to the latest version from Gerrit, the problem will be fixed.

If you try this and it's still not fixed, then I'll try to involve pywikibot developers.

Amir E. Aharoni (talk)11:30, 6 January 2023

Honestly i just wanted to notify someone (anyone) about missing message its not something really important far as i am concerned

Regards

Milićević (talk)15:24, 6 January 2023
 
 
 
 
 

The "cosmetic_changes-append" message was replaced with "pywikibot-cosmetic-changes" message in Pywikibot 7 and was removed in Pywikibot 8, see https://doc.wikimedia.org/pywikibot/stable/changelog.html#will-be-removed-in-pywikibot-8. This problem may happen if you have updated the i18n files but your Pywikibot release is older than 7.0.0. I propose to update the Pywikibot to the current stable version (7.7.2).

Xqt (talk)13:40, 7 January 2023

My previous answer is wrong. The translation of Pywikibot 7+ does not work as expected. The i18n.twtranslate() function raises that exception even a fallback is given; this is not intentional and is a real bug. I'll fix it soon. See phab:T326470.

Xqt (talk)13:58, 7 January 2023

Thanks!

Amir E. Aharoni (talk)14:28, 7 January 2023