Page MenuHomePhabricator

Reconfigure Turkish Wikibooks
Closed, ResolvedPublic

Description

Author: serhat.er.95

Description:
Hi, we have decided to make some configurations for trwikibooks. Link to the decision: http://tr.wikibooks.org/wiki/Vikikitap:K%C3%B6y_%C3%A7e%C5%9Fmesi#De.C4.9Fi.C5.9Fiklik_.C3.B6nerileri

  • First of all, we would like subpage feature to be enabled for the following namespaces: Vikiçocuk (110) and Şablon (NS_TEMPLATE).
  • Second, we want to add aliases for the Vikikitap, Kategori, Vikiçocuk and Kitaplık namespaces. So please add the following array to the 'wgNamespaceAliases' array: 'trwikibooks' => array(

'VK' => NS_PROJECT,
'VÇ' => 110,
'KAT' => NS_CATEGORY,
'KİT' => 112,

),
  • And finally, we want that the pages in the Yemek (100) and the Vikiçocuk (110) namespaces to be included in content namespaces. Currently in trwikibooks pages in the main namespace are considered as 'content' only. So please add the following array to the 'wgContentNamespaces' array:

    'trwikibooks' => array( 0, 100, 110 ),

Thanks in advance.


Version: unspecified
Severity: enhancement

Details

Reference
bz24579

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:09 PM
bzimport set Reference to bz24579.

jeluf wrote:

Done.

Index: InitialiseSettings.php

  • InitialiseSettings.php (revision 1036)

+++ InitialiseSettings.php (working copy)
@@ -2272,11 +2272,17 @@

'tkwiktionary' => array(
	'Wiktionary' => NS_PROJECT,
),

+ 'trwikibooks' => array(
+ 'VK' => NS_PROJECT,
+ 'VÇ' => 110,
+ 'KAT' => NS_CATEGORY,
+ 'KİT' => 112,
+ ),

'ttwiki' => array(
  • 'WP' => NS_PROJECT,
  • 'ВП' => NS_PROJECT,
  • 'Wikipedia' => NS_PROJECT,
  • 'Wikipedia_talk' => NS_PROJECT_TALK,

+ 'WP' => NS_PROJECT,
+ 'ВП' => NS_PROJECT,
+ 'Wikipedia' => NS_PROJECT,
+ 'Wikipedia_talk' => NS_PROJECT_TALK,

),
'ukwikibooks' => array(
	'ВП'	=> NS_PROJECT,

@@ -2464,6 +2470,7 @@

'nlwikibooks'     => array( -1 => 0, 0 => 1, 1 => 1, 2 => 1, 3 => 1, 4 => 0, 5 => 1, 6 => 0, 7 => 1, 8 => 0, 9 => 1, 10 => 0, 11 => 1, 104 => 1, 105 => 1),
'plwikibooks'        => array(-1=>0, 0=>1, 1=>1, 2=>1, 3=>1, 4=>1, 5=>1, 6=>0, 7=>1, 8=>0, 9=>1, 10=>1, 11=>1, 12=>1, 13=>1, 14=>1, 15=>1, 100=>1, 101=>1, 102=>1, 103=>1, 104=>1, 105=>1,), 
'ptwikibooks'        => array(-1=>0, 0=>1, 1=>1, 2=>1, 3=>1, 4=>1, 5=>1, 6=>0, 7=>1, 8=>0, 9=>1, 10=>1, 11=>1, 12=>1, 13=>1, 14=>1, 15=>1, 100=>1, 101=>1, 102=>1, 103=>1),

+ '+trwikibooks' => array( NS_TEMPLATE=>1, NS_TEMPLATE_TALK=>1, 110=>1, 111=>1 ),

'ukwikibooks'        => array(-1=>0, 0=>1, 1=>1, 2=>1, 3=>1, 4=>1, 5=>1, 6=>0, 7=>1, 8=>0, 9=>1, 10=>1, 11=>1, 12=>1, 13=>1, 14=>1, 15=>1, 100=>1, 101=>1, 102=>1, 103=>1),
 
// Wikisource

@@ -7004,6 +7011,7 @@

'idwikibooks' => array( 0, 100, 102 ), // http://bugzilla.wikimedia.org/show_bug.cgi?id=7282
'mediawikiwiki' => array( 0, 100, 102 ), // Manuals && Extensions
'srwikibooks' => array( 0, 102, ), // #15282

+ 'trwikibooks' => array( 0, 100, 110, ),
),

'wgRevisionCacheExpiry' => array(

jeluf wrote:

The following pages could not be moved automatically to the new namespaces. They've got renamed to "...--DUP" and need to be fixed manually:

... 7690 (0,"VK:")
... * cannot resolve automatically; illegal title *
... * old title
...
* new title --DUP
... * using suffixed form [[Vikikitap:--DUP]] *
... resolving on page... ok.
... 5111 (0,"VK:SSS") -> (4,"SSS") [[Vikikitap:SSS]]
... * cannot resolve automatically; page exists with ID 5113 *
... * old title SSS
...
* new title SSS--DUP
... * using suffixed form [[Vikikitap:SSS--DUP]] *
... resolving on page... ok.