NS_TALK => 'Bäxäs',
NS_USER => 'Äğzä',
NS_USER_TALK => "Äğzä_bäxäse",
- NS_WIKIPEDIA => "Wikipedia",
- NS_WIKIPEDIA_TALK => "Wikipedia_bäxäse",
+ NS_PROJECT => "Wikipedia",
+ NS_PROJECT_TALK => "Wikipedia_bäxäse",
NS_IMAGE => "Räsem",
NS_IMAGE_TALK => "Räsem_bäxäse",
NS_MEDIAWIKI => "MediaWiki",
"tog-showtoolbar" =>"Show edit toolbar",
"tog-editondblclick" => "Edit pages on double click (JavaScript)",
"tog-editsection" =>"Enable section editing via [edit] links",
-"tog-editsectiononrightclick"=>"Enable section editing by right clicking<br> on section titles (JavaScript)",
-"tog-showtoc" =>"Show table of contents<br>(for articles with more than 3 headings)",
+"tog-editsectiononrightclick"=>"Enable section editing by right clicking<br /> on section titles (JavaScript)",
+"tog-showtoc" =>"Show table of contents<br />(for articles with more than 3 headings)",
"tog-rememberpassword" => "Remember password across sessions",
"tog-editwidth" => "Edit box has full width",
"tog-watchdefault" => "Add pages you edit to your watchlist",
class LanguageTt extends LanguageUtf8 {
- function getDefaultUserOptions () {
- $opt = Language::getDefaultUserOptions();
- return $opt;
- }
+ function getBookstoreList () {
+ global $wgBookstoreListTt;
+ return $wgBookstoreListTt;
+ }
- function getBookstoreList () {
- global $wgBookstoreListTt;
- return $wgBookstoreListTt;
- }
+ function getNamespaces() {
+ global $wgNamespaceNamesTt;
+ return $wgNamespaceNamesTt;
+ }
- function getNamespaces() {
- global $wgNamespaceNamesTt;
- return $wgNamespaceNamesTt;
- }
+ function getNsText( $index ) {
+ global $wgNamespaceNamesTt;
+ return $wgNamespaceNamesTt[$index];
+ }
- function getNsText( $index ) {
- global $wgNamespaceNamesTt;
- return $wgNamespaceNamesTt[$index];
- }
+ function getNsIndex( $text ) {
+ global $wgNamespaceNamesTt;
- function getNsIndex( $text ) {
- global $wgNamespaceNamesTt;
+ foreach ( $wgNamespaceNamesTt as $i => $n ) {
+ if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
+ }
+ return false;
+ }
- foreach ( $wgNamespaceNamesTt as $i => $n ) {
- if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
- }
- return false;
- }
+ function getQuickbarSettings() {
+ global $wgQuickbarSettingsTt;
+ return $wgQuickbarSettingsTt;
+ }
- function specialPage( $name ) {
- return $this->getNsText( Namespace::getSpecial() ) . ":" . $name;
- }
+ function getSkinNames() {
+ global $wgSkinNamesTt;
+ return $wgSkinNamesTt;
+ }
- function getQuickbarSettings() {
- global $wgQuickbarSettingsTt;
- return $wgQuickbarSettingsTt;
- }
+ function getDateFormats() {
+ global $wgDateFormatsTt;
+ return $wgDateFormatsTt;
+ }
- function getSkinNames() {
- global $wgSkinNamesTt;
- return $wgSkinNamesTt;
- }
+ # Inherit userAdjust()
- function getDateFormats() {
- global $wgDateFormatsTt;
- return $wgDateFormatsTt;
- }
+ function date( $ts, $adj = false ) {
+ if ( $adj ) { $ts = $this->userAdjust( $ts ); }
- # Inherit userAdjust()
+ $d = (0 + substr( $ts, 6, 2 )) . ". " .
+ $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . " " .
+ substr( $ts, 0, 4 );
+ return $d;
+ }
- function date( $ts, $adj = false ) {
- if ( $adj ) { $ts = $this->userAdjust( $ts ); }
+ function time( $ts, $adj = false ) {
+ if ( $adj ) { $ts = $this->userAdjust( $ts ); }
- $d = (0 + substr( $ts, 6, 2 )) . ". " .
- $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . " " .
- substr( $ts, 0, 4 );
- return $d;
- }
+ $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
+ return $t;
+ }
- function time( $ts, $adj = false ) {
- if ( $adj ) { $ts = $this->userAdjust( $ts ); }
+ function timeanddate( $ts, $adj = false ) {
+ return $this->date( $ts, $adj ) . ", " . $this->time( $ts, $adj );
+ }
- $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
- return $t;
- }
+ # Inherit rfc1123()
- function timeanddate( $ts, $adj = false ) {
- return $this->date( $ts, $adj ) . ", " . $this->time( $ts, $adj );
- }
+ function getValidSpecialPages() {
+ global $wgValidSpecialPagesTt;
+ return $wgValidSpecialPagesTt;
+ }
- # Inherit rfc1123()
+ function getSysopSpecialPages() {
+ global $wgSysopSpecialPagesTt;
+ return $wgSysopSpecialPagesTt;
+ }
- function getValidSpecialPages() {
- global $wgValidSpecialPagesTt;
- return $wgValidSpecialPagesTt;
- }
+ function getDeveloperSpecialPages() {
+ global $wgDeveloperSpecialPagesTt;
+ return $wgDeveloperSpecialPagesTt;
+ }
- function getSysopSpecialPages() {
- global $wgSysopSpecialPagesTt;
- return $wgSysopSpecialPagesTt;
- }
+ function getMessage( $key ) {
+ global $wgAllMessagesTt;
+ if( isset( $wgAllMessagesTt[$key] ) ) {
+ return $wgAllMessagesTt[$key];
+ } else {
+ return Language::getMessage( $key );
+ }
+ }
- function getDeveloperSpecialPages() {
- global $wgDeveloperSpecialPagesTt;
- return $wgDeveloperSpecialPagesTt;
- }
+ # Inherit iconv()
- function getMessage( $key ) {
- global $wgAllMessagesTt;
- if( isset( $wgAllMessagesTt[$key] ) )
- return $wgAllMessagesTt[$key];
- return "";
- }
+ # Inherit ucfirst()
- # Inherit iconv()
+ # Inherit lcfirst()
- # Inherit ucfirst()
+ # Inherit checkTitleEncoding()
- # Inherit lcfirst()
+ # Inherit stripForSearch()
- # Inherit checkTitleEncoding()
+ # Inherit setAltEncoding()
- # Inherit stripForSearch()
+ # Inherit recodeForEdit()
- # Inherit setAltEncoding()
+ # Inherit recodeInput()
- # Inherit recodeForEdit()
+ # Inherit isRTL()
- # Inherit recodeInput()
+ # Inherit getMagicWords()
- # Inherit isRTL()
-
- # Inherit getMagicWords()
-
- function fallback8bitEncoding() {
- # Windows codepage 1252 is a superset of iso 8859-1
- # override this to use difference source encoding to
- # translate incoming 8-bit URLs.
- return "windows-1254";
- }
+ function fallback8bitEncoding() {
+ # Windows codepage 1252 is a superset of iso 8859-1
+ # override this to use difference source encoding to
+ # translate incoming 8-bit URLs.
+ return "windows-1254";
+ }
}
?>