Last modified: 2009-06-03 15:46:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18180, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16180 - Upload and Transwiki settings for Japanese Wikiversity
Upload and Transwiki settings for Japanese Wikiversity
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Rob Halsell
http://ja.wikiversity.org/wiki/WV:VP#...
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-30 14:08 UTC by Kanjy
Modified: 2009-06-03 15:46 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kanjy 2008-10-30 14:08:21 UTC
Hello, I am a custodian (= sysop) of Japanese Wikiversity.  As decided at our village pump discussion (the URL above), please configure our Japanese Wikiversity (jawikiversity) as follows:

(1) RESTRICT UPLOAD:
We decided that only custodians (= sysops) may upload files locally. Most files should go to Commons.
We would like our $wgGroupPermissions to enable 'upload' for the group 'sysop', but not for others such as 'users' or 'autoconfirmed'.
I think that the configuration would be:
 $wgGroupPermissions['user']['upload'] = false;
 $wgGroupPermissions['autoconfirmed']['upload'] = false;
 $wgGroupPermissions['sysop']['upload'] = true;

(2) ADD TRANSWIKI-IMPORT SOURCE:
We accept transwiki-import from English Wikiversity.
We would like to add 'en' to $wgImportSources for 'jawikiversity'.

(3) NEW NAMESPACE "Transwiki":
We need a new custom namespace "Transwiki" (probably as the 106th namespace).
Its talk space should be "Transwiki‐ノート".
I think that the configuration would be:
 $wgExtraNamespaces[106] = "Transwiki";
 $wgExtraNamespaces[107] = "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.
This would be to add (( 'Wikiversity_talk' => NS_PROJECT_TALK )) to our $NamespaceAliases.

Thank you very much in advance.
-- http://ja.wikiversity.org/wiki/User:Kanjy
Comment 1 Kanjy 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
Comment 2 Rob Halsell 2009-06-03 15:46:44 UTC
Firstly, EXCELLENT bug report.  All that was required was asking for the features, however, adding all the settings like that just really ensures that we are on the same page for the changes.  It is HIGHLY appreciated!!!

I have made the requested changes and they are now live on the cluster.  If you have any questions or concerns, please do not hesitate to let me know!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links