wikiblame
wikiblame copied to clipboard
Translatewiki - Improve source strings and related message documenation
Following support tickets were raised on Translatewiki.net support page -
1 - Support ticket : https://translatewiki.net/wiki/Thread:Support/About_Wikimedia:Messages%5Cx5b%27revision_date_format%27%5Cx5d/nl Message: https://translatewiki.net/wiki/Wikimedia:Messages%5Cx5b%27revision_date_format%27%5Cx5d/nl Comment: This needs qqq.
2 - Support ticket: https://translatewiki.net/wiki/Thread:Support/About_Wikimedia:Messages%5Cx5b%27paste_url%27%5Cx5d/en Message: https://translatewiki.net/wiki/Wikimedia:Messages%5Cx5b%27paste_url%27%5Cx5d/en Comment: URL needs to be capitalized in this message.
3 - Support ticket: https://translatewiki.net/wiki/Thread:Support/About_Wikimedia:Messages%5Cx5b%27no_valid_url%27%5Cx5d/en Message: https://translatewiki.net/wiki/Wikimedia:Messages%5Cx5b%27no_valid_url%27%5Cx5d/en Comment: URL needs to be capitalized in this message.
4 - Support ticket: https://translatewiki.net/wiki/Thread:Support/About_Wikimedia:Messages%5Cx5b%27inverse_stuck%27%5Cx5d/en Message: https://translatewiki.net/wiki/Wikimedia:Messages%5Cx5b%27inverse_stuck%27%5Cx5d/en Comment: This message needs support for PLURAL.
5 - Support ticket: https://translatewiki.net/wiki/Thread:Support/About_Wikimedia:Messages%5Cx5b%27from_url%27%5Cx5d/en Message: https://translatewiki.net/wiki/Wikimedia:Messages%5Cx5b%27from_url%27%5Cx5d/en Comment: URL should be capitalized in this message.
Thanks for migrating those.
The first one is probably another case for the mechanism you installed in https://github.com/FlominatorTM/wikiblame/issues/24 . It is used here for formatting the date/time data of the revisions. In theory it can contain all the placeholders from https://www.php.net/manual/en/function.strftime.php , where %B is currently manually replaced by the localized month name.
I don't know how to support PLURAL or what to do with "URL needs to be capitalized in this message.", though @siebrand / @translatewiki
Hi @FlominatorTM
- I've added message documentation for that message. You can see it here.
- Regarding the URL needs to be capitalized, the following change needs to be made - Please paste url to MediaWiki page ---> Please paste URL to MediaWiki page
- Regarding the PLURAL support, you should modify your English string since there can be one or more revisions. Something similar to this,
The following {{PLURAL:$1|page is|$1 pages are}} in the current category.View {{PLURAL:$1|one deleted edit|$1 deleted edits}}- Where $1 is the number of edits
Thanks. Did the URL part.
Regarding PLURAL support: is this only supposed to support different texts for "one" and for "more than one"? I heard that there are countries which have more than these two forms ...
@FlominatorTM - We support different plural forms based on the language. Your can read more about plural forms here.
But what do I need to implement?