Pogovor o predlogi:Wikivar: Razlika med redakcijama

Izbrisana vsebina Dodana vsebina
Gangleri (pogovor | prispevki)
mBrez povzetka urejanja
Gangleri (pogovor | prispevki)
m Please go ahead!
Vrstica 7:
* <nowiki>{{ns:4}} = {{ns:Project}}</nowiki>
** generates: {{ns:Project}} (Wikipedija) --> '''Wikinavedek''' {{ref|2}}
<br />the configuration will be made in another place
* <nowiki>{{ns:5}} = {{ns:Project_talk}}</nowiki>
** generates: {{ns:Project_talk}} (Pogovor_k_Wikipediji) --> '''Pogovor_o_Wikinavedku''' {{ref|2}}<br />'''done''' see below ([[#function LanguageSl]])
* <nowiki>{{ns:7}} = {{ns:Image_talk}}</nowiki>
** generates: {{ns:Image_talk}} (Pogovor_k_sliki) --> '''Pogovor_o_sliki''' {{ref|1}} &ndash; '''done''' see below
* <nowiki>{{ns:9}} = {{ns:MediaWiki_talk}}</nowiki>
** generates: {{ns:MediaWiki_talk}} (MediaWiki_talk) --> '''Pogovor_o_MediaWiki''' {{ref|1}} &ndash; '''done''' see below
* <nowiki>{{ns:11}} = {{ns:Template_talk}}</nowiki>
** generates: {{ns:Template_talk}} (Pogovor_k_predlogi) --> '''Pogovor_o_predlogi''' {{ref|1}} &ndash; '''done''' see below
* <nowiki>{{ns:12}} = {{ns:Help}}</nowiki>
** generates: {{ns:Help}} (Help) --> '''Pomoč''' {{ref|1}} &ndash; '''done''' see below
* <nowiki>{{ns:13}} = {{ns:Help_talk}}</nowiki>
** generates: {{ns:Help_talk}} (Help_talk) --> '''Pogovor_o_pomoči''' {{ref|1}} &ndash; '''done''' see below
* <nowiki>{{ns:15}} = {{ns:Category_talk}}</nowiki>
** generates: {{ns:Category_talk}} (Pogovor_k_kategoriji) --> '''Pogovor_o_kategoriji''' {{ref|1}} &ndash; '''done''' see below
* <nowiki>{{SITENAME}}</nowiki>
** generates: {{SITENAME}} (Wikiquote) --> '''Wikinavedek''' {{ref|2}}<br />this must be specified in the request at [[bugzilla:]]<br />please just specify that SITENAME should have the same value as <nowiki>{{ns:Project}}</nowiki> if this is the case
----
*{{note|1}} - Same for all Slovene MediaWiki space.
Vrstica 32 ⟶ 33:
== links ==
 
# [[template:Wikivar]] [[template_talk:Wikivar|T]]
# [[template:Wikivar/GRAMMAR]]
# '''[http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/ CVS]:''' [http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/ languages/]
## [http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/LanguageCs.php LanguageCs.php], [http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/LanguageCs.php?view=markup markup]
Vrstica 38 ⟶ 41:
## [http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/LanguageRu.php LanguageCs.php], [http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/LanguageRu.php?view=markup markup]
## [http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/LanguageSk.php LanguageCs.php], [http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/LanguageRu.php?view=markup markup]
# '''[[w:en:IRC]]:''' '''[irc://irc.freenode.net/mediawiki #mediawiki]''', [irc://irc.freenode.net/wiktionary #wiktionary]
# [[meta:Help:Magic words#GRAMMAR:]]
## [[meta:special:Search/GRAMMAR]]<br />'''notes:'''<br />result depends on the search namespaces activated at [[meta:special:Preferences]]<br />[http://.wikimedia.org/w/index.php?title=Special%3ASearch&search=%7B%7Bgrammar%3A&fulltext=Search search={{grammar:] does not provide the pages including "''{{grammar:''"
 
== to-do ==
 
* at [[template:Wikivar/GRAMMAR]]: include / add all names of the sister projects: b:, n:, q:, s:, wikt:, w:
* identify what value (what [[:en:List of grammatical cases|grammatical case]]) must / should be used together with "'''Pogovor_o_'''" at [[#function LanguageSl]]
* ...
 
== additions for the names of the namespaces ==
 
Vrstica 44 ⟶ 56:
you / we need:
: '''NS_PROJECT_TALK => FALSE, # Set in constructor'''
example starting from LanguageFi.php<br />
'''reference:''' [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|oldid=3844}}#names_of_the_namespaces oldid=3844] (code from LanguageFi.php)<br />
 
'''note:''' Please note that spaces are '''not''' allowed in the names of the namespaces. It is a '''must''' to use underscores instead.
<pre>
/* private */ $wgNamespaceNamesFiwgNamespaceNamesSl = array(
NS_MEDIA => 'Media',
NS_SPECIAL => 'ToiminnotPosebno',
NS_MAIN => '',
NS_TALK => 'KeskusteluPogovor',
NS_USER => 'KäyttäjäUporabnik',
NS_USER_TALK => 'Keskustelu_käyttäjästäUporabniški_pogovor',
NS_PROJECT => $wgMetaNamespace,
NS_PROJECT_TALK => FALSE, # Set in constructor
NS_IMAGE => 'KuvaSlika',
NS_IMAGE_TALK => 'Keskustelu_kuvastaPogovor_o_sliki',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => 'MediaWiki_talkPogovor_o_MediaWiki',
NS_TEMPLATE => 'MallinePredloga',
NS_TEMPLATE_TALK => 'Keskustelu_mallineestaPogovor_o_predlogi',
NS_HELP => 'OhjePomoč',
NS_HELP_TALK => 'Keskustelu_ohjeestaPogovor_o_pomoči',
NS_CATEGORY => 'LuokkaKategorija',
NS_CATEGORY_TALK => 'Keskustelu_luokastaPogovor_o_kategoriji'
 
) + $wgNamespaceNamesEn;
</pre>
 
* Klemen please confirm that this is right! [[Uporabnik:Gangleri|Gangleri]] 14:57, 23 januar 2006 (UTC)
 
=== function LanguageSl ===
example starting from LanguageFi.php<br />
'''reference:''' [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|oldid=3844}}#names_of_the_namespaces oldid=3844] (code from LanguageFi.php)
<pre>
class LanguageSl extends LanguageUtf8 {
Vrstica 76 ⟶ 94:
global $wgNamespaceNamesSl, $wgMetaNamespace;
LanguageUtf8::LanguageUtf8();
$wgNamespaceNamesSl[NS_PROJECT_TALK] = 'Keskustelu_Pogovor_o_' . $this->convertGrammar( $wgMetaNamespace, '??????elative' );
}
 
# function getBookstoreList () {
# global $wgBookstoreListSl ;
# return $wgBookstoreListSl ;
# }
 
function getNamespaces() {
Vrstica 89 ⟶ 107:
}
 
# function getQuickbarSettings() {
# global $wgQuickbarSettingsSl;
# return $wgQuickbarSettingsSl;
# }
 
# function getSkinNames() {
# global $wgSkinNamesSl;
# return $wgSkinNamesSl;
# }
 
# function getDateFormats() {
# global $wgDateFormatsSl;
# return $wgDateFormatsSl;
# }
 
# ... continued ...
}
</pre>
 
* Klemen please adjust the grammatical case!
== one moment ==
* I have no clue what other functions you need. Just take a look at the [http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/ LanguageXx.php (and MessagesXx.php)] files using [[w:en:Slavic languages|Slavic languages]]. Thanks in advance! [[Uporabnik:Gangleri|Gangleri]]
 
== wait / go ahead ==
 
* ...Please ...go ahead! [[Uporabnik:Gangleri|Gangleri]] 14:57, 23 januar 2006 (UTC)
Vrnitev na stran »Wikivar«.