Last modified: 2008-09-29 20:30:53 UTC
Because it is required to process strings to have correct persian plurals in output Persian wiktionary requires to have StringFunctions extension insalled. Me as an active user on fa.wikipedia ,whom was expected to make a required template for there, report this bug and assert its requirement there. Thanks
*** This bug has been marked as a duplicate of bug 6455 ***
Can you explain why you need StringFunctions for plurals? http://www.mediawiki.org/wiki/Extension:StringFunctions
I am who want this function in Persian wiktionary.And I hope It will be installed urgently. persian plural suffix is "ها". there are 2 methods for make plural form of noun, based on the last character of noun. if last character is one ch from below string "بپتثجچحخسشصضطظعغفقکگلمنهیئ" method is noun + ZWJ + suffix (ZWJ=Zero width _joiner) else method is noun + suffix Thanks
StringFunctions could be helpful here, because it could give us a way to know if the last letter of the word in question is a joiner letter or not. However, StringFunctions is an overkill. If the only use of the extensions is for that, and there is no way to avoid that, I suggest we create a simple extension just for that reason. Is it good enough?
Bug 13712 is much like what I said. Thanks to Niklas for pointing it out over IRC.
as we know String Functions are powerful part in each language. And as one who didn't had experience in code writing in wiki, but with experience in one Language(VB.Net) I think it is unbelievable to code writing without this functions especially in wiki projects.because in wiki we had big process in text. in fact in my opinion this functions must install in all wikies as unseprated part without any voting or any discussion like this! ;)
Dear Matin, This bug is not about whether that extension should be installed everywhere or not. I'm sure there are people who disagree with you with good reasons. This bug is only seeking a solution for the problem mentioned. I have suggested a solution in the above; I've also given a link. If you think this is what is being asked, please let me know. Otherwise, please describe how that doesn't fit the needs. Good luck, Hojjat (aka Huji)
Matin, programming languages are different than encyclopedia writing. In particular, wikisyntax MUST NOT be turing complete (we do not just want the function to halt, but to halt in a small time). That said, StringFunctions looks quite safe, but I'm sure some users will to use it in unexpected and dirty ways, specially #pad, #replace and #explode.