Last modified: 2007-03-01 15:42:52 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 T10728, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8728 - Enable wiki text for MediaWiki:Badfiletype
Enable wiki text for MediaWiki:Badfiletype
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal enhancement with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-22 05:39 UTC by brianna.laugher
Modified: 2007-03-01 15:42 UTC (History)
0 users

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


Attachments

Description brianna.laugher 2007-01-22 05:39:41 UTC
Although wikitext such as [[links]] show correctly when you edit the MediaWiki
page itself, they don't show correctly in actual usage.

You can prompt this error message by going to Special:Upload and changing the
destination filename to something without a file extension, or a disallowed
extension (like .mp3).
Comment 1 brianna.laugher 2007-01-22 06:46:49 UTC
It's also collapsing all whitespace which is not so useful.
Comment 2 brianna.laugher 2007-01-22 06:55:52 UTC
Also, a comment from http://commons.wikimedia.org/wiki/MediaWiki_talk:Badfiletype :
"It looks like $1 is never an empty string, even when you have no extension, yet
the html code of the page will not give the its value."

This is a problem because we want to user parser functions to account for two
distinct mistakes (no extension/bad extension) which both result in this error
warning, but we can't.
Comment 3 rami 2007-01-22 19:39:33 UTC
Or, simply parserfunctions might not be able to handle the $1 variable.
Comment 4 Raimond Spekking 2007-03-01 15:42:52 UTC
MediaWiki:Badfiletype splitted in r20100 into 3 new messages:

filetype-missing: for files without extension (wikisyntax enanbled)
filetype-badtype: for files of unwanted types. The list of enabled types will be
shown as $2 (wikisyntax enabled)
filetype-badmime: for invalid mime types (no wikisyntax)

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


Navigation
Links