r102696 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102695‎ | r102696 | r102697 >
Date:21:48, 10 November 2011
Author:brion
Status:ok
Tags:
Comment:
Provisional .yaml group definition for WikipediaMobile - <https://bugzilla.wikimedia.org/show_bug.cgi?id=32324&gt;
Modified paths:
  • /trunk/translatewiki/WikipediaMobile (added) (history)
  • /trunk/translatewiki/WikipediaMobile/README (added) (history)
  • /trunk/translatewiki/WikipediaMobile/WikipediaMobile.yaml (added) (history)

Diff [purge]

Index: trunk/translatewiki/WikipediaMobile/README
@@ -0,0 +1,29 @@
 2+Check out a copy with github account already set up (read/write if sufficient rights):
 3+$ git clone git@github.com:nitobi/Wikipedia.git
 4+
 5+
 6+Check out a read-only copy:
 7+$ git clone https://github.com/nitobi/Wikipedia.git
 8+
 9+
 10+Message files are in assets/www/messages/messages-*.properties
 11+as Java-style properties files, using raw UTF-8.
 12+
 13+
 14+messages-en.properties has master entries.
 15+messages-qqq.properties has message descriptions.
 16+
 17+
 18+
 19+To commit:
 20+
 21+ # must add any new or changed files!
 22+ git add assets/www/messages/messages-*.properties
 23+
 24+ # commit locally
 25+ git commit -m "Updates from TranslateWiki.net"
 26+
 27+ # push upstream
 28+ git push origin master
 29+
 30+
Index: trunk/translatewiki/WikipediaMobile/WikipediaMobile.yaml
@@ -0,0 +1,18 @@
 2+---
 3+BASIC:
 4+ description: "{{int:bw-desc-wikipediamobile}}"
 5+ namespace: NS_WIKIPEDIAMOBILE
 6+ id: out-wikipedia-mobile
 7+ label: Wikipedia Mobile
 8+ display: out/WikipediaMobile
 9+ class: FileBasedMessageGroup
 10+ codeBrowser: https://github.com/nitobi/Wikipedia/blob/master/%FILE%#L%LINE%
 11+
 12+FILES:
 13+ class: JavaFFS
 14+ sourcePattern: %GROUPROOT%/Wikipedia/assets/www/messages/messages-%CODE%.properties
 15+ definitionFile: %GROUPROOT%/Wikipedia/assets/www/messages/messages-en.properties
 16+ targetPattern: Wikipedia/assets/www/messages/messages-%CODE%.properties
 17+ header: |
 18+ # This file is distributed under the same license as the Wikipedia Mobile package.
 19+ #

Status & tagging log