https://bugzilla.wikimedia.org/show_bug.cgi?id=16180
--- Comment #1 from Kanjy <[email protected]> 2009-02-21 17:18:49 UTC --- I'm sorry, my sample code (1) - (4) in the previous message was not good. I reviewed the current InitialiseSettings.php at the noc, and I rewrote my sample code as I posted to our village-pump page: http://ja.wikiversity.org/w/index.php?oldid=3981#Upload_and_transwiki_2 (1) RESTRICT UPLOAD: We decided that only custodians (= sysops) may upload files locally. Most files should go to Commons. 'groupOverrides' => array( ...... 'jawikiversity' => array( 'user' => array( 'upload' => false ), 'autoconfirmed' => array( 'upload' => false ), 'sysop' => array( 'upload' => true ), ), (2) ADD TRANSWIKI-IMPORT SOURCE: We accept transwiki-import from English Wikiversity. We would like to add 'en' to wgImportSources for 'jawikiversity'. 'wgImportSources' => array( ...... 'jawikiversity' => array( 'w', 'wikt', 'b', 'q', 's', 'n', 'en', 'betawikiversity' ), (3) NEW NAMESPACE "Transwiki": We need a new custom namespace "Transwiki" as the 110th namespace. Its talk space should be "Transwiki‐ノート". 'wgExtraNamespaces' => array( ...... 'jawikiversity' => array( 100 => 'School', 101 => 'School‐ノート', 102 => 'Portal', 103 => 'Portal‐ノート', 104 => 'Topic', 105 => 'Topic‐ノート', 110 => 'Transwiki', 111 => 'Transwiki‐ノート', ), (4) NAMESPACE NAME "Wikiversity_talk": We wish that a namespace name "Wikiversity_talk" should be recognized as the 5th (project talk) namespace, so as not to import Beta/English project talk pages into our article namespace. 'wgNamespaceAliases' => array( ...... 'jawikiversity' => array( 'Wikiversity_talk' => NS_PROJECT_TALK, ), --- InitialiseSettings.php +++ InitialiseSettingsChange.php @@ -1664,6 +1664,9 @@ 'Shelf' => 102, 'Shelf_talk' => 103, ), + 'jawikiversity' => array( + 'Wikiversity_talk' => NS_PROJECT_TALK, + ), 'kawikiquote' => array( 'Wikiquote' => 4, 'Wikiquote_განხილვა' => 5, @@ -3741,6 +3744,8 @@ 103 => 'Portal‐ノート', 104 => 'Topic', 105 => 'Topic‐ノート', + 110 => 'Transwiki', + 111 => 'Transwiki‐ノート', ), ), @@ -4393,6 +4398,11 @@ 'jawikinews' => array( 'user' => array( 'move' => false ), // autoconfirmed only, per request by britty 2007-05-16 ), + 'jawikiversity' => array( + 'user' => array( 'upload' => false ), + 'autoconfirmed' => array( 'upload' => false ), + 'sysop' => array( 'upload' => true ), + ), 'lawiki' => array( 'user' => array( 'upload' => false ), 'autoconfirmed' => array( 'upload' => false ), @@ -4877,7 +4887,7 @@ 'itwikibooks' => array('w', 'wikt', 'q', 'n', 's', 'en'), 'incubatorwiki' => array('meta', 'commons', 'w'), 'jawikibooks' => array( 'w', 'wikt', 'q', 's', 'v', 'en' ), - 'jawikiversity' => array( 'betawikiversity', 'w', 'wikt', 'b', 'q', 's', 'n' ), + 'jawikiversity' => array( 'w', 'wikt', 'b', 'q', 's', 'n', 'en', 'betawikiversity' ), 'jawiktionary' => array('w'), 'kaawiki' => array( 'incubator' ), 'kowikiquote' => array( 'w' ), Thank you very much in advance. -- http://ja.wikiversity.org/wiki/User:Kanjy -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
