Last modified: 2014-11-09 19:06:53 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 T25186, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23186 - Enable upload in portuguese Wikipedia
Enable upload in portuguese Wikipedia
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-13 23:50 UTC by Danilo
Modified: 2014-11-09 19:06 UTC (History)
5 users (show)

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


Attachments

Description Danilo 2010-04-13 23:50:50 UTC
It have already been discused in portuguese Wikipedia, we are creating a non-free content policy.
We have decided use the follow settings:
FileExtensions: 'png', 'gif', 'jpg', 'jpeg', 'svg', 'djvu', 'ogg', 'oga' and 'mid'
MaxUploadSize: 500KB

The upload will be only allowed to users that have more than 1000 edits and 45 days of registration, than it is need to create a 'uploader' user group to be automatic promoted.
Comment 1 Roan Kattouw 2010-04-14 09:19:49 UTC
Please provide a link to consensus for this change.
Comment 3 Bryan Tong Minh 2010-04-14 15:01:45 UTC
$wgMaxUploadSize is currently broken in MediaWiki and needs fixing before this request can be implemented.
Comment 4 Bryan Tong Minh 2010-04-15 10:19:42 UTC
(In reply to comment #3)
> $wgMaxUploadSize is currently broken in MediaWiki and needs fixing before this
> request can be implemented.

Now fixed in trunk, requires deployment of r65049.
Comment 5 Danilo 2010-04-22 22:21:38 UTC
Reading the comments of bug 17941 I see the problem can be fixed using JavaScript, I have developed the follow script to create adicional fields on the upload form (it is in Wikibooks to test, the upload is disabled in pt.wiki):
http://pt.wikibooks.org/wiki/Usuário:Danilo.mac/monobook.js
Can I add something to this script to help the MediaWiki to limit the upload size?
Comment 6 Bryan Tong Minh 2010-04-23 08:30:44 UTC
(In reply to comment #5)
> Can I add something to this script to help the MediaWiki to limit the upload
> size?

No.
Comment 7 Lestaty de Lioncourt 2010-08-18 22:47:41 UTC
After many time... The problem has been solved? Is possible enable uploads on ptwiki?

Thanks;

[[m:user:Sir Lestaty de Lioncourt]]
Comment 8 JeLuF 2010-08-31 04:47:50 UTC
Done.
===================================================================
Index: InitialiseSettings.php
===================================================================
--- InitialiseSettings.php	(revision 1079)
+++ InitialiseSettings.php	(working copy)
@@ -818,7 +818,6 @@
     'ndswiki' => false, # http://mail.wikipedia.org/pipermail/wikitech-l/2005-October/032136.html
     'plwikinews' => true,
     'plwikiquote' => false,
-    'ptwiki' => false, # bug 7742
     'ptwiktionary'  => false, # bug 14193
     'ruwikiquote' => false,
     'specieswiki'	=> false,
@@ -7874,6 +7873,7 @@
 'wgMaxUploadSize' => array(
      // Only affects URL uploads; web uploads are enforced by PHP.
      'default' => 1024*1024*500, // 500MB try this :D
+     'ptwiki'  => 1024*500, // 500 KB, as requested in #23186
 ),
 
 'wmgUseCommunityVoice' => array (
Comment 9 Lestaty de Lioncourt 2010-08-31 22:59:22 UTC
Hi, first thanks, second, need to change 'wgUploadNavigationUrl' to default upload link. Thanks again.

[[m:user:Sir Lestaty de Lioncourt]]
Comment 10 JeLuF 2010-09-01 06:42:09 UTC
Done.
===================================================================
Index: InitialiseSettings.php
===================================================================
--- InitialiseSettings.php	(revision 1089)
+++ InitialiseSettings.php	(working copy)
@@ -854,7 +854,7 @@
     'mlwiki'		=> 'http://ml.wikipedia.org/wiki/വിക്കിപീഡിയ:അപ്‌ലോഡ്',
     'ndswiki'       => 'http://commons.wikimedia.org/wiki/Special:Upload',
     'nlwiki'        => 'http://commons.wikimedia.org/wiki/Commons:Upload/nl?uselang=nl',
-    'ptwiki'        => '/wiki/Ajuda:Como_carregar_ficheiros_no_Commons',
+    # 'ptwiki'        => '/wiki/Ajuda:Como_carregar_ficheiros_no_Commons',
     'rowiki'		=> '/wiki/Wikipedia:Trimite_fi%C5%9Fier',
     'thwiki'        => '/wiki/%E0%B8%A7%E0%B8%B4%E0%B8%81%E0%B8%B4%E0%B8%9E%E0%B8%B5%E0%B9%80%E0%B8%94%E0%B8%B5%E0%B8%A2:%E0%B8%AD%E0%B8%B1%E0%B8%9B%E0%B9%82%E0%B8%AB%E0%B8%A5%E0%B8%94',
     'zhwiki'        => '/wiki/Project:%E4%B8%8A%E4%BC%A0',
Comment 11 JeLuF 2010-09-09 19:36:31 UTC
Done.
===================================================================
Index: InitialiseSettings.php
===================================================================
--- InitialiseSettings.php	(revision 1116)
+++ InitialiseSettings.php	(working copy)
@@ -853,7 +853,7 @@
     'mlwiki'		=> 'http://ml.wikipedia.org/wiki/വിക്കിപീഡിയ:അപ്‌ലോഡ്',
     'ndswiki'       => 'http://commons.wikimedia.org/wiki/Special:Upload',
     'nlwiki'        => 'http://commons.wikimedia.org/wiki/Commons:Upload/nl?uselang=nl',
-    # 'ptwiki'        => '/wiki/Ajuda:Como_carregar_ficheiros_no_Commons',
+    'ptwiki'        => 'http://pt.wikipedia.org/wiki/Wikipedia:Carregar_ficheiro',
     'rowiki'		=> '/wiki/Wikipedia:Trimite_fi%C5%9Fier',
     'thwiki'        => '/wiki/%E0%B8%A7%E0%B8%B4%E0%B8%81%E0%B8%B4%E0%B8%9E%E0%B8%B5%E0%B9%80%E0%B8%94%E0%B8%B5%E0%B8%A2:%E0%B8%AD%E0%B8%B1%E0%B8%9B%E0%B9%82%E0%B8%AB%E0%B8%A5%E0%B8%94',
     'zhwiki'        => '/wiki/Project:%E4%B8%8A%E4%BC%A0',

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


Navigation
Links