We are performing a system maintenance on Wednesday 2021-09-22. Translatewiki.net will be inaccessible for short periods of time.

Error on Wikimedia:Citationhunt-instructions details/zh-hans

Jump to navigation Jump to search

Error on Wikimedia:Citationhunt-instructions details/zh-hans

You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in the group: Users.


You can view and copy the source of this page.

 

Return to Thread:Support/Error on Wikimedia:Citationhunt-instructions details/zh-hans.

I have marked the message as outdated. Currently missing parameters are only a warning, should we make this an error?

Nike (talk)09:13, 30 November 2020

Thank you! Yes, I think it would make sense to make it an error please. I suppose that means those strings will never be exported to the repository, right?

There's just a couple of things to watch out for, because this string handling code in Citation Hunt is not great:

  • As you can see from the example above, there are two kinds of syntax for parameters in some strings ({this} and %s).
  • Due to out of date translations, some strings now have _too many_, rather than too few parameters (e.g. https://translatewiki.net/wiki/Wikimedia:Citationhunt-instructions_details/pl has three %s, which we handle in the code, but it really should be two at this point).

But if those are OK on TranslateWiki, it's all good on my end.

Surlycyborg (talk)21:40, 30 November 2020