Last modified: 2014-02-16 08:33:06 UTC
Kindly enable shortuts for different name spaces in Hindi wiki as following - 'wgNamespaceAliases' => array( 'hiwiki' => array( 'वि' => NS_PROJECT, 'वि वा' => NS_PROJECT_TALK, 'C' => NS_CATEGORY, 'CT' => NS_CATEGORY_TALK, 'वि' => NS_PROJECT, 'W' => NS_PROJECT, 'WT' => NS_PROJECT_TALK, 'u' => NS_USER, 'ut' => NS_USER_TALK, 'स' => NS_USER, 'स वा' => NS_USER 'सा' => NS_TEMPLATE 'सा वा' => NS_TEMPLATE_TALK 'T' => NS_TEMPLATE 'TT' => NS_TEMPLATE_TALK 'P' => NS_PORTAL 'PT' => NS_PORTAL_TALK 'प्र' => NS_PORTAL 'प्र वा' => NS_PORTAL_TALK ), Local consesnus can be found here-http://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:%E0%A4%A8%E0%A4%AF%E0%A5%80_%E0%A4%B8%E0%A5%81%E0%A4%B5%E0%A4%BF%E0%A4%A7%E0%A4%BE%E0%A4%8F%E0%A4%81, 10 user are in support without any oppose. Regards MAyur
PT: and TT: conflict with language codes, will not be added.
Per the above, have you any other replacements, or do you want them adding without it?
'wgNamespaceAliases' => array( 'hiwiki' => array( 'वि' => NS_PROJECT, 'वि वा' => NS_PROJECT_TALK, 'Wikipedia' => NS_PROJECT,, 'C' => NS_CATEGORY, 'CT' => NS_CATEGORY_TALK, 'वि' => NS_PROJECT, 'W' => NS_PROJECT, 'WT' => NS_PROJECT_TALK, 'u' => NS_USER, 'ut' => NS_USER_TALK, 'स' => NS_USER, 'स वा' => NS_USER 'सा' => NS_TEMPLATE 'सा वा' => NS_TEMPLATE_TALK 'T' => NS_TEMPLATE 'T T' => NS_TEMPLATE_TALK 'P' => NS_PORTAL 'P T' => NS_PORTAL_TALK 'प्र' => NS_PORTAL 'प्र वा' => NS_PORTAL_TALK ), I think as per above I have made one space like P T and T T, is it ok?
I think it is final as per your suggestion, I have removed TT and PT 'wgNamespaceAliases' => array( 'hiwiki' => array( 'वि' => NS_PROJECT, 'वि वा' => NS_PROJECT_TALK, 'Wikipedia' => NS_PROJECT,, 'C' => NS_CATEGORY, 'CT' => NS_CATEGORY_TALK, 'वि' => NS_PROJECT, 'W' => NS_PROJECT, 'WT' => NS_PROJECT_TALK, 'u' => NS_USER, 'ut' => NS_USER_TALK, 'स' => NS_USER, 'स वा' => NS_USER 'सा' => NS_TEMPLATE 'सा वा' => NS_TEMPLATE_TALK 'T' => NS_TEMPLATE 'T T' => NS_TEMPLATE_TALK 'P' => NS_PORTAL 'P T' => NS_PORTAL_TALK 'प्र' => NS_PORTAL 'प्र वा' => NS_PORTAL_TALK ),
Now can this be enabled on hindi wiki?
Done
(In reply to comment #6) > Done Thanks a Lot!
Namespace aliases with spaces do not work, so वि वा, स वा, सा वा, T T, P T, and प्र वा do not work. I suggest removing the spaces between the Hindi alises and either just removing the Latin ones (TT / PT, since they conflict with language codes) or finding something else to talk them.
'wgNamespaceAliases' => array( 'hiwiki' => array( 'वि' => NS_PROJECT, 'विवा' => NS_PROJECT_TALK, 'Wikipedia' => NS_PROJECT,, 'C' => NS_CATEGORY, 'CT' => NS_CATEGORY_TALK, 'वि' => NS_PROJECT, 'W' => NS_PROJECT, 'WT' => NS_PROJECT_TALK, 'u' => NS_USER, 'ut' => NS_USER_TALK, 'स' => NS_USER, 'सवा' => NS_USER 'सा' => NS_TEMPLATE 'सावा' => NS_TEMPLATE_TALK 'T' => NS_TEMPLATE 'P' => NS_PORTAL 'प्र' => NS_PORTAL 'प्रवा' => NS_PORTAL_TALK ), Yeah, Casey Brown is right. SO you can remove space between these as per above and PT and TT have been removed.
Also, w: is an intewiki code for English Wikipedia.
'wgNamespaceAliases' => array( 'hiwiki' => array( 'वि' => NS_PROJECT, 'विवा' => NS_PROJECT_TALK, 'Wikipedia' => NS_PROJECT,, 'WP' => NS_PROJECT, 'WPT' => NS_PROJECT_TALK, 'u' => NS_USER, 'ut' => NS_USER_TALK, 'स' => NS_USER, 'सवा' => NS_USER 'श्र' => NS_CATEGORY, 'श्रवा' => NS_CATEGORY_TALK, 'C' => NS_CATEGORY, 'CT' => NS_CATEGORY_TALK, 'सा' => NS_TEMPLATE 'सावा' => NS_TEMPLATE_TALK 'T' => NS_TEMPLATE 'मी' => NS_MEDIAWIKI 'मीवा' => NS_MEDIAWIKI_TALK 'MW' => NS_MEDIAWIKI 'MWT' => NS_MEDIAWIKI_TALK 'P' => NS_PORTAL 'प्र' => NS_PORTAL 'प्रवा' => NS_PORTAL_TALK ), Ok converted W to WP and also added Mediawiki shortcuts MW and MWT.
'hiwiki' => array( 'वि' => NS_PROJECT, 'विवा' => NS_PROJECT_TALK, 'Wikipedia' => NS_PROJECT, 'WP' => NS_PROJECT, 'WPT' => NS_PROJECT_TALK, 'U' => NS_USER, 'UT' => NS_USER_TALK, 'स' => NS_USER, 'सवा' => NS_USER, 'श्र' => NS_CATEGORY, 'श्रवा' => NS_CATEGORY_TALK, 'C' => NS_CATEGORY, 'CT' => NS_CATEGORY_TALK, 'सा' => NS_TEMPLATE, 'सावा' => NS_TEMPLATE_TALK, 'T' => NS_TEMPLATE, 'मी' => NS_MEDIAWIKI, 'मीवा' => NS_MEDIAWIKI_TALK, 'MW' => NS_MEDIAWIKI, 'MWT' => NS_MEDIAWIKI_TALK, 'P' => 100, 'प्र' => 100, 'प्रवा' =>101, ), Index: InitialiseSettings.php =================================================================== --- InitialiseSettings.php (revision 2079) +++ InitialiseSettings.php (working copy) @@ -2265,27 +2265,30 @@ 'באור' => 106, 'שיחת_באור' => 107, ), - 'hiwiki' => array( + 'hiwiki' => array( 'वि' => NS_PROJECT, - 'वि वा' => NS_PROJECT_TALK, + 'विवा' => NS_PROJECT_TALK, 'Wikipedia' => NS_PROJECT, + 'WP' => NS_PROJECT, + 'WPT' => NS_PROJECT_TALK, + 'U' => NS_USER, + 'UT' => NS_USER_TALK, + 'स' => NS_USER, + 'सवा' => NS_USER, + 'श्र' => NS_CATEGORY, + 'श्रवा' => NS_CATEGORY_TALK, 'C' => NS_CATEGORY, 'CT' => NS_CATEGORY_TALK, - 'वि' => NS_PROJECT, - 'W' => NS_PROJECT, - 'WT' => NS_PROJECT_TALK, - 'u' => NS_USER, - 'ut' => NS_USER_TALK, - 'स' => NS_USER, - 'स वा' => NS_USER, 'सा' => NS_TEMPLATE, - 'सा वा' => NS_TEMPLATE_TALK, + 'सावा' => NS_TEMPLATE_TALK, 'T' => NS_TEMPLATE, - 'T T' => NS_TEMPLATE_TALK, - 'P' => NS_PORTAL, - 'P T' => NS_PORTAL_TALK, - 'प्र' => NS_PORTAL, - 'प्र वा' => NS_PORTAL_TALK, + 'मी' => NS_MEDIAWIKI, + 'मीवा' => NS_MEDIAWIKI_TALK, + 'MW' => NS_MEDIAWIKI, + 'MWT' => NS_MEDIAWIKI_TALK, + 'P' => 100, + 'प्र' => 100, + 'प्रवा' =>101, ),
> + 'MW' => NS_MEDIAWIKI, > + 'MWT' => NS_MEDIAWIKI_TALK, That's a problem and needs to be removed. "MW' is an interwiki prefix for http://mediawiki.org/
MW/MWT have been removed mw is an interwiki link, and mwt seems to be a valid language code