Closed Bug 804412 Opened 14 years ago Closed 13 years ago

Patch wiki.mozilla.org message for uploading files

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task, P4)

x86_64
Linux

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gene, Assigned: nmaul)

References

Details

(Whiteboard: [triaged 20121026])

Attachments

(2 files)

The current version of mediawiki (1.17.1) requires that uploaded files have the destination name as their source name. If one attempts to upload a file with a differing destination name, mediawiki fails, reporting in invalid mime type (not the actual problem). solarce summarized the problem here : https://skitch.com/solarce/8t58h/upload-file-mozillawiki I've patched the file languages/messages/MessagesEn.php to make this clearer. I'm attaching the patch This is the line that I'm patching if you're curious : http://svn.wikimedia.org/viewvc/mediawiki/tags/REL1_17_1/phase3/languages/messages/MessagesEn.php?revision=104510&view=markup#l2139 I'm also attaching an image of what the upload page will look like after the patch is applied. Would you apply this patch to our mediawiki install (I can give you specific instructions on how to apply the patch if you like)
Blocks: 790327
We're wondering if this is still a concern with newer MediaWiki's... on our roadmap for the near future is to get it upgraded, and maybe this would go away.
Priority: -- → P4
Whiteboard: [triaged 20121026]
Jake, My hope is to put this patch in now as an interim solution until MediaWiki gets upgraded or fixed. Since it's a one line patch of a single file that merely changes a string displayed on the screen I figured it would be a low-touch, quick and simple way to reduce some headache for people while we wait for a mediawiki upgrade.
Jake would it be possible to apply my patch?
This situation is much improved now that we've (finally) upgraded wiki.mozilla.org. :)
Assignee: server-ops-webops → nmaul
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
As of the current version of mediawiki installed ( https://wiki.mozilla.org/Special:Version ) 1.19.4, filenames can now differ and this patch is no longer needed.
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: