The Wikipedia iOS App uses Swift, Objective C and C# quite a bit in the source code:
- https://github.com/wikimedia/wikipedia-ios/search?l=swift - Currently reports as used in 80 files (when this ticket was created)
- https://github.com/wikimedia/wikipedia-ios/search?l=Objective-C - Currently reported as used in 1,292 files! (when this ticket was created)
- https://github.com/wikimedia/wikipedia-ios/search?l=C - Currently reported as used in 16 files (so not nearly as much, but maybe a code convention for this language could still be useful?)
Here's the result for Wikipedia Android app:
- https://github.com/wikimedia/apps-android-wikipedia/search?l=java - Currently reported as used in 680 files (when this ticket was created)
And results from Wikimedia Commons Android app:
- https://github.com/commons-app/apps-android-commons/search?l=Java - Currently reported as used in 66 files (when this ticket was created)
There should be some new official coding convention for these languages sorted out and written on MediaWiki.org. This would help in some ways:
- If Wikimedia decides to start branching out and write more apps, there's something to refer back to
- Also helps outside contributors learn how to write quality code so they can help out if they want to, and also gives a reference for current contributors
- Helps volunteers create their own unofficial MediaWiki apps
I'm currently not aware of any code conventions for these if they exist, but if they do please link in the comments so we can consider porting it over to MediaWiki.org :-)