Last modified: 2009-06-15 15:32:09 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 T20637, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18637 - Gadgets with names containing non-ASCII characters are not displayed
Gadgets with names containing non-ASCII characters are not displayed
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Gadgets (Other open bugs)
unspecified
All All
: Normal critical with 1 vote (vote)
: ---
Assigned To: Daniel Kinzler
http://ksh.wikipedia.org/w/index.php?...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-30 18:14 UTC by Purodha Blissenbach
Modified: 2009-06-15 15:32 UTC (History)
3 users (show)

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


Attachments

Description Purodha Blissenbach 2009-04-30 18:14:20 UTC
A gadget is not shown in Preferences. Currently, it is th elast butone on the definition list. Maybe, the reason is a non-ASCII character in its name.

See:
http://ksh.wikipedia.org/wiki/MediaWiki:Gadget-Einleidung-%C3%A4ndere
http://ksh.wikipedia.org/wiki/MediaWiki:Gadget-Einleidung-%C3%A4ndere.js
http://ksh.wikipedia.org/w/index.php?title=MediaWiki:Gadgets-definition&action=edit

If you want to do quick on-site testing, feel free to ask http://ksh.wikipedia.org/wiki/User:Purodha for temporary adminship.
Comment 1 Happy-melon 2009-04-30 23:19:35 UTC
Checked on test.wiki; the issue is the non-ASCII character in the *name*; using the character in the script file is ok, it seems. And adding a non-ASCII character to the name of another script that had strictly ASCII scriptfile, also made it disappear.  Retitling for clarity.
Comment 2 Daniel Kinzler 2009-06-15 15:32:09 UTC
Gadget IDs have to follow the rules for XML IDs, so they are restricted to alphanumeric ASCII characters and can't start with a number. This is by design, and also documented on the extension's description page <http://www.mediawiki.org/wiki/Extension:Gadgets>.

It would in theory be possible to use the same encoding MediaWiki uses for section IDs to get around that limitation. It would need some fiddeling. If you feel a real need for this, reopen as a feature request.

Closing as invalid, since this is expected behavior.

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


Navigation
Links