Page MenuHomePhabricator

frrwiki (Nordfriisk): add new namespaces and extensions for wikisource integration
Closed, ResolvedPublic

Description

The small frrwiki community decided to concentrate its work on one project and integrate its wikisource project (currently on oldwikisource) within wikipedia ([[frr:Wikipedia:Tächnische frååge#Wikisource]]) like it's already done by other small languages. A LangCom member told us that we can decide this by ourself. Some config changes are needed:

Add new namespaces for Proofread Extension:

  • 102 "Seite", alias "Page"
  • 103 "Seite Diskussion", alias "Page talk"
  • 104 "Index"
  • 105 "Index Diskussion", alias "Page talk"

Add new main "wikisource" namespace:

  • 106 "Text"
  • 107 "Text Diskussion"

Add these namespaces to content namespace:
'wgContentNamespaces' = array(

'frrwiki' => array( NS_MAIN, 102, 104, 106 )

)

Add these new non talk namespaces to default search namespace:
'wgNamespacesToBeSearchedDefault' => array(

'frrwiki' => array( -1 => 0, 0 => 1, 1 => 0,  2 => 0, 3 => 0, 4 => 0, 5 => 0, 6 => 0, 7 => 0, 8 => 0, 9 => 0, 10 => 0, 11 => 0, 12 => 0, 13 => 0, 102 => 1, 104 => 1, 106 => 1 ),

)

All these new namespaces need subpages (wgNamespacesWithSubpages), but i think that is enabled by default.

Add oldwikisource and dewikisource as additional importsources:
'wgImportSources' => array(

'frrwiki' => array( 'en', 'de', 'nds', 's:de', ''oldwikisource' ),

)

Add extensions that are used by wikisource projects by default:
DPL:
'wmgUseDPL' => array(

'frrwiki' => true

),

ProofreadPage:
'wmgUseProofreadPage' => array(

'frrwiki' => true

)

Collection:
'wmgUseCollection' => array(

'frrwiki' => true

)

Labeled Section Transclusion:
'wmgUseLST' => array(

'frrwiki' => true

)


Version: unspecified
Severity: enhancement

Details

Reference
bz38023

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:46 AM
bzimport set Reference to bz38023.

Sorry, c&p mistake:

  • 105 "Index Diskussion", alias "Index talk" - and not "Page talk" which is 103

[ Bug assigned to patch submitter. ]

reset priority to default we use for similar requests

jessen-amrum wrote:

Thanks from frrwiki for your quick reaction!