Pogovor o predlogi:Wikivar: Razlika med redakcijama
Izbrisana vsebina Dodana vsebina
mBrez povzetka urejanja |
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'''
* <nowiki>{{ns:7}} = {{ns:Image_talk}}</nowiki>
** generates: {{ns:Image_talk}} (Pogovor_k_sliki) --> '''Pogovor_o_sliki''' {{ref|1}} – '''done''' see below
* <nowiki>{{ns:9}} = {{ns:MediaWiki_talk}}</nowiki>
** generates: {{ns:MediaWiki_talk}} (MediaWiki_talk) --> '''Pogovor_o_MediaWiki''' {{ref|1}} – '''done''' see below
* <nowiki>{{ns:11}} = {{ns:Template_talk}}</nowiki>
** generates: {{ns:Template_talk}} (Pogovor_k_predlogi) --> '''Pogovor_o_predlogi''' {{ref|1}} – '''done''' see below
* <nowiki>{{ns:12}} = {{ns:Help}}</nowiki>
** generates: {{ns:Help}} (Help) --> '''Pomoč''' {{ref|1}} – '''done''' see below
* <nowiki>{{ns:13}} = {{ns:Help_talk}}</nowiki>
** generates: {{ns:Help_talk}} (Help_talk) --> '''Pogovor_o_pomoči''' {{ref|1}} – '''done''' see below
* <nowiki>{{ns:15}} = {{ns:Category_talk}}</nowiki>
** generates: {{ns:Category_talk}} (Pogovor_k_kategoriji) --> '''Pogovor_o_kategoriji''' {{ref|1}} – '''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 */ $
NS_MEDIA => 'Media',
NS_SPECIAL => '
NS_MAIN => '',
NS_TALK => '
NS_USER => '
NS_USER_TALK => '
NS_PROJECT => $wgMetaNamespace,
NS_PROJECT_TALK => FALSE, # Set in constructor
NS_IMAGE => '
NS_IMAGE_TALK => '
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => '
NS_TEMPLATE => '
NS_TEMPLATE_TALK => '
NS_HELP => '
NS_HELP_TALK => '
NS_CATEGORY => '
NS_CATEGORY_TALK => '
) + $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] = '
}
# function getBookstoreList () {
# }
function getNamespaces() {
Vrstica 89 ⟶ 107:
}
# function getQuickbarSettings() {
# }
# function getSkinNames() {
# }
# function getDateFormats() {
# }
# ... continued ...
}
</pre>
* Klemen please adjust the grammatical case!
* 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 ==
*
|