https://bugzilla.wikimedia.org/show_bug.cgi?id=18885

Krinkle <krinklem...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |krinklem...@gmail.com
         Resolution|FIXED                       |

--- Comment #9 from Krinkle <krinklem...@gmail.com> 2010-07-20 23:39:59 UTC ---
I noticed since this change that inexistant filelinks are kind of broken on
several wikis that use $wgUploadNagivationUrl as a way to send people more to
Commons.

For example on nl.wikipedia.org the value of this variable is
"http://commons.wikimedia.org/wiki/Commons:Upload/nl?uselang=nl";

When looking at the noc
[http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php] one
can see nl.wiki isn't the only one doing this.

I should note that uploading is not disabled on nl.wiki, it's just discouraged,
and the link in the Sidebar has been put to Commons. However locally
re-uploading files and uploading files with redlinks was still possible,
... and is now broken !

As illustrated in this Testcase:
http://nl.wikipedia.org/wiki/Gebruiker:Krinkle/Testcase/3

Clicking it bring me to a useless page:
http://commons.wikimedia.org/wiki/Commons:Upload/nl?uselang=nl&wpDestFile=This_file_should_not_exist_anywhere_12875203.jpg

It should've gone to :
http://commons.wikimedia.org/wiki/Special:Upload/nl?uselang=nl&wpDestFile=This_file_should_not_exist_anywhere_12875203.jpg

or:
http://nl.wikipedia.org/wiki/Special:Upload/nl?uselang=nl&wpDestFile=This_file_should_not_exist_anywhere_12875203.jpg


Since wgUploadNagivationUrl is for the navigation, the actual upload path may
vary. And as seen above the purpuse on wmf wikis for wgUploadNagivationUrl is
indeed for the navigation (and not just on wmf wikis).

The idea mentioned above to use a variable like $wgUploadWikiUrl may be better.
Or perhaps auto-construct this URL based on $ForeignAPIRepo

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to