Page MenuHomePhabricator

Enable subpages on frwikisource
Closed, ResolvedPublic

Description

The frwikisource community would like give the ability to rename all pages of a given books to admins (they already have the rights 'move-subpages' and 'suppressredirect'). To achieve that, it is required:

  1. to activate the subpages on the Page: and Discussion_Page: namespaces (104 and 105):

$wgNamespacesWithSubpages = ...

'frwikisource'       => 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=>0, 15=>1, 104=>1 105=>1),
  1. and to increase the $wgMaximumMovedPages to 500 (at least, the average number of pages is 400-450) and preferably to 1000 (about maximum number of pages for a book).

Version: unspecified
Severity: enhancement
URL: http://fr.wikisource.org/wiki/Wikisource:Scriptorium/Juillet_2010#Renomage_des_sous-pages

Details

Reference
bz24458

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:00 PM
bzimport set Reference to bz24458.
bzimport added a subscriber: Unknown Object (MLST).

jeluf wrote:

Done.

Index: InitialiseSettings.php

  • InitialiseSettings.php (revision 1022)

+++ InitialiseSettings.php (working copy)
@@ -2470,6 +2470,7 @@

'wikisource'        => 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=>0, 15=>1),
'cswikisource'        => array(-1=>0, 0=>1, 1=>1, 2=>1, 3=>1, 4=>1, 5=>1, 6=>0, 7=>1, 8=>1, 9=>1, 10=>1, 11=>1, 12=>1, 13=>1, 14=>0, 15=>1, 100=>1, 101=>1), #16277
'enwikisource'        => array(-1=>0, 0=>1, 1=>1, 2=>1, 3=>1, 4=>1, 5=>1, 6=>0, 7=>1, 8=>0, 9=>1, 10=>0, 11=>1, 100=>1, 101=>1, 102=>1, 103=>1),

+ 'frwikisource' => 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=>0, 15=>1, 104=>1, 105=>1),

'hewikisource'        => 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, 100=>1, 101=>1, 102=>1, 103=>1, 104=>1, 105=>1, 106=>1 ), 
'huwikisource'        => array(-1=>0, 0=>1, 1=>1, 2=>1, 3=>1, 4=>1, 5=>1, 6=>0, 7=>1, 8=>0, 9=>1, 10=>0, 11=>1, 100=>1, 101=>1, 102=>1, 103=>1),
'idwikisource'        => array(-1=>0, 0=>1, 1=>1, 2=>1, 3=>1, 4=>1, 5=>1, 6=>0, 7=>1, 8=>0, 9=>1, 10=>0, 11=>1, 100=>1, 101=>1, 102=>1, 103=>1),

Is it possible to increase also $wgMaximumMovedPages to 500 or preferably to 1000? (Since the mean number of pages is 400-450 and the maximum number of pages is about 1000 pages.)

jeluf wrote:

Done.

Index: InitialiseSettings.php

  • InitialiseSettings.php (revision 1071)

+++ InitialiseSettings.php (working copy)
@@ -7668,8 +7668,9 @@

'wgMaximumMovedPages' => array(

'default' => 100,

+ 'enwikibooks' => 500,
+ 'frwikisource' => 500,

'incubatorwiki' => 500,
  • 'enwikibooks' => 500, ),

    'wgGroupsAddToSelf' => array(