Index: trunk/translatewiki/MediaWiki/mediawiki-defines.txt |
— | — | @@ -1810,7 +1810,6 @@ |
1811 | 1811 | Wikimedia Incubator Info Page |
1812 | 1812 | descmsg = wminc-desc |
1813 | 1813 | file = WikimediaIncubator/InfoPage.i18n.php |
1814 | | -optional = wminc-infopage-title |
1815 | 1814 | ignored = wminc-logo-wikipedia, wminc-logo-wiktionary, wminc-logo-wikibooks, wminc-logo-wikinews |
1816 | 1815 | ignored = wminc-logo-wikiquote, wminc-logo-wikisource, wminc-logo-wikiversity, wminc-logo-meta-wiki |
1817 | 1816 | ignored = wminc-logo-wikimedia-commons, wminc-logo-wikispecies, wminc-logo-mediawiki |
Index: trunk/extensions/WikimediaIncubator/WikimediaIncubator.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | 'name' => 'Wikimedia Incubator', |
19 | 19 | 'author' => 'SPQRobin', |
20 | 20 | 'version' => '4.5', |
21 | | - 'url' => 'http://www.mediawiki.org/wiki/Extension:WikimediaIncubator', |
| 21 | + 'url' => '//www.mediawiki.org/wiki/Extension:WikimediaIncubator', |
22 | 22 | 'descriptionmsg' => 'wminc-desc', |
23 | 23 | ); |
24 | 24 | |
Index: trunk/extensions/WikimediaIncubator/InfoPage.i18n.php |
— | — | @@ -25,7 +25,13 @@ |
26 | 26 | 'wminc-logo-wikispecies' => 'WikiSpecies.svg', # only translate if necessary |
27 | 27 | 'wminc-logo-mediawiki' => 'MediaWiki.svg', # only translate if necessary |
28 | 28 | 'wminc-manual-url' => 'Help:Manual', # only translate if necessary |
29 | | - 'wminc-infopage-title' => '$1 $2', # only translate if necessary |
| 29 | + 'wminc-infopage-title-p' => 'Wikipedia $1', |
| 30 | + 'wminc-infopage-title-b' => 'Wikibooks $1', |
| 31 | + 'wminc-infopage-title-t' => 'Wiktionary $1', |
| 32 | + 'wminc-infopage-title-q' => 'Wikiquote $1', |
| 33 | + 'wminc-infopage-title-n' => 'Wikinews $1', |
| 34 | + 'wminc-infopage-title-s' => 'Wikisource $1', |
| 35 | + 'wminc-infopage-title-v' => 'Wikiversity $1', |
30 | 36 | 'wminc-infopage-welcome' => 'Welcome to the Wikimedia Incubator, a project of the Wikimedia Foundation ([[{{MediaWiki:Aboutpage}}|About]])', |
31 | 37 | |
32 | 38 | 'wminc-infopage-missingwiki-text' => 'A $1 in this language does not yet exist.', |
— | — | @@ -55,10 +61,13 @@ |
56 | 62 | */ |
57 | 63 | $messages['qqq'] = array( |
58 | 64 | 'wminc-infopage-enter' => 'Text of a link to the Main Page of a test wiki at Incubator.', |
59 | | - 'wminc-infopage-title' => '{{optional}} |
60 | | -* $1 is the project, e.g. "Wikipedia" or "Wiktionary" |
61 | | -* $2 is the language name from CLDR, i.e. it takes the name in your language if available. Otherwise, it\'s in English. |
62 | | -Here you can change the title as it appears on e.g. http://incubator.wikimedia.org/wiki/Wn/en. You can change it to e.g. "$1 in $2".', |
| 65 | + 'wminc-infopage-title-p' => 'This is the main title of the info page. $1 is the language name from CLDR, i.e. it takes the name in your language if available. Otherwise, it\'s in English.', |
| 66 | + 'wminc-infopage-title-b' => 'This is the main title of the info page. $1 is the language name from CLDR, i.e. it takes the name in your language if available. Otherwise, it\'s in English.', |
| 67 | + 'wminc-infopage-title-t' => 'This is the main title of the info page. $1 is the language name from CLDR, i.e. it takes the name in your language if available. Otherwise, it\'s in English.', |
| 68 | + 'wminc-infopage-title-q' => 'This is the main title of the info page. $1 is the language name from CLDR, i.e. it takes the name in your language if available. Otherwise, it\'s in English.', |
| 69 | + 'wminc-infopage-title-n' => 'This is the main title of the info page. $1 is the language name from CLDR, i.e. it takes the name in your language if available. Otherwise, it\'s in English.', |
| 70 | + 'wminc-infopage-title-s' => 'This is the main title of the info page. $1 is the language name from CLDR, i.e. it takes the name in your language if available. Otherwise, it\'s in English.', |
| 71 | + 'wminc-infopage-title-v' => 'This is the main title of the info page. $1 is the language name from CLDR, i.e. it takes the name in your language if available. Otherwise, it\'s in English.', |
63 | 72 | 'wminc-infopage-welcome' => 'Do not change <tt><nowiki>{{MediaWiki:Aboutpage}}</nowiki></tt>.', |
64 | 73 | 'wminc-infopage-missingwiki-text' => "'''$1''' is a project: Wikipedia/Wiktionary/...", |
65 | 74 | 'wminc-infopage-option-startwiki' => 'Do not change <code><nowiki>{{fullurl:{{FULLPAGENAME}}|action=edit}}</nowiki></code> or <code><nowiki>{{MediaWiki:Wminc-manual-url}}</nowiki></code>', |
Index: trunk/extensions/WikimediaIncubator/InfoPage.php |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | $this->mLangNames = IncubatorTest::getLanguageNames(); |
41 | 41 | $this->mLangName = ( isset( $this->mLangNames[$this->mLangCode] ) ? |
42 | 42 | $this->mLangNames[$this->mLangCode] : wfMsg( 'wminc-unknownlang', $this->mLangCode ) ); |
43 | | - $this->mFormatTitle = wfMsgHtml( 'wminc-infopage-title', $this->mProjectName, $this->mLangName ); |
| 43 | + $this->mFormatTitle = wfMsgHtml( 'wminc-infopage-title-' . $this->mProjectCode, $this->mLangName ); |
44 | 44 | return; |
45 | 45 | } |
46 | 46 | |
— | — | @@ -97,7 +97,7 @@ |
98 | 98 | if( !is_array( $wmincMultilingualProjects ) ) { return; } |
99 | 99 | foreach( $wmincMultilingualProjects as $url => $name ) { |
100 | 100 | $list[$url] = '<li>' . $this->makeLogo( $name, true, |
101 | | - 75, null, 'http://'.$url.'/') . '</li>'; |
| 101 | + 75, null, '//'.$url.'/') . '</li>'; |
102 | 102 | } |
103 | 103 | return '<ul class="wminc-infopage-multilingualprojects">' . |
104 | 104 | implode( '', $list ) . '</ul>'; |