Last modified: 2012-06-23 08:46:41 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 T29512, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27512 - Enforce restrictions on internal name of a gadget in the UI
Enforce restrictions on internal name of a gadget in the UI
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Gadgets (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 35126
  Show dependency treegraph
 
Reported: 2011-02-17 22:58 UTC by uv.wiki
Modified: 2012-06-23 08:46 UTC (History)
3 users (show)

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


Attachments

Description uv.wiki 2011-02-17 22:58:35 UTC
In the README file for the Gadgets extension, around line 51 please change
"Note that the internal name must start with an ASCII letter, ..."
to
"Note that the internal name must start with an ASCII letter, must not be longer than 25 bytes, ..."
per bug 19410 and bug 19408.

(I just experienced this problem on la.wikipedia and it took me a while to find the cause - would have been easier if this (non-obvious) limitation had been documented in the README file in the first place.)

Thank you in advance!
Comment 1 Niklas Laxström 2011-02-18 08:05:54 UTC
Better yet, enforce the limitation in the UI.
Comment 2 Sam Reed (reedy) 2011-02-18 11:04:44 UTC
Documentation updated in r82389

Retitling per Nikerabbit
Comment 3 Bugmeister Bot 2011-08-19 19:12:24 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
Comment 4 Helder 2012-02-06 18:30:27 UTC
(In reply to comment #0)
> (I just experienced this problem on la.wikipedia and it took me a while to find
> the cause

We had a similar problem on pt.wikipedia because of accented characters.
https://pt.wikipedia.org/w/index.php?title=MediaWiki:Gadgets-definition&action=history
I believe the extension should provide some error message to the user in case the choosen name is not valid.
Comment 5 Krinkle 2012-06-23 08:46:41 UTC
Fixed in the 2.0 branch. Backporting unlikely. Patches are welcome.

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


Navigation
Links