Last modified: 2011-02-16 01:07:35 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 T15287, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13287 - "Edit" link not working as expected
"Edit" link not working as expected
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Gadgets (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Daniel Kinzler
: easy
: 16393 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-07 22:32 UTC by Huji
Modified: 2011-02-16 01:07 UTC (History)
6 users (show)

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


Attachments

Description Huji 2008-03-07 22:32:06 UTC
On Special:Gadgets, you see an "edit" link for each gadget description. As the name sounds, we should use this link when we want to edit the description text. However, clicking on it does not send us to the edit page; instead, we see the MediaWiki:Gadget-blah page and have to click on the "edit" link again. This extra step should be removed.
Comment 1 Chad H. 2008-07-01 22:18:07 UTC
Fixed in r36867.
Comment 2 Robin Pepermans (SPQRobin) 2008-07-06 22:12:21 UTC
Also something for the edit link:
I think the edit link should be hidden when you don't have the "editinterface" right, so when you can't edit the MediaWiki pages. Otherwise if you click on the link, you see an error page saying you can't edit...
Comment 3 Brion Vibber 2008-08-01 22:32:07 UTC
Perhaps 'view source' would be appropriate? Though honestly it's unclear that the link is to edit the description, rather than the code, to begin with.
Comment 4 Chad H. 2008-08-01 22:45:50 UTC
What if the messages were split (Gadgets-specific). Edit-description and Edit-gadget could say different messages and link to different pages. Although, hiding the links entirely might be more beneficial to non-sysops.
Comment 5 Chad H. 2008-08-02 00:11:38 UTC
In fact, I went back and looked at it. The EDIT links all over the Special:Gadgets page is a mess. Adding more of them (for the JS files) would make the page even more cluttered. A UI cleanup may be in order.
Comment 6 Daniel Kinzler 2008-10-28 09:46:37 UTC
I agree, but I don't have a good idea. Suggestions?
Comment 7 Robin Pepermans (SPQRobin) 2008-11-19 20:33:20 UTC
*** Bug 16393 has been marked as a duplicate of this bug. ***
Comment 8 Mike.lifeguard 2008-11-19 20:40:22 UTC
(In reply to comment #5)
> In fact, I went back and looked at it. The EDIT links all over the
> Special:Gadgets page is a mess. Adding more of them (for the JS files) would
> make the page even more cluttered. A UI cleanup may be in order.
> 

Probably linking to the pages (not the edit form) in all cases will be fine. Then you'll get the edit/view source tab as appropriate. It's confusing as-is: some links go to the page, some go to edit form.
Comment 9 Chad H. 2009-03-17 04:22:16 UTC
Removed the edit links entirely in r48479
Comment 10 Brion Vibber 2009-03-17 21:50:16 UTC
Reverted r48479 in r48498. Removing the description edit links means you have to poke around and try to manually figure out the right message page name to update the gadget descriptions. IMHO this is pretty terrible and a big step back in administrative usability.
Comment 11 Philippe Verdy 2009-11-14 16:02:40 UTC
Most probably, all gadgets presented in the Preferences should have at least one link, not there for "editing" it but going to a more complete description page (from which you'll find a full description, example snapshots, usage help, versioning info, bugs and discussions for corrections, suggestions for improvements, and a link to its current implementation, which may consist in more than just a single Javascript source, but could also contain images, translable/localizable items...)

My feeling is that each one should show a "details" (or just "help"?) link (which itself is localizable), immediately after the summary line, for reaching this Gadget's description page.

The current summary line shown in the Gadgets tab after their respective checkbox is clearly not enough (and even the links that may be present sometimes in some summary lines, do not necessary reach this page but can just link to the description of an associated concept, such as a Wikipedia article). inserting the link within the summary line is not the best place for that as it is really confusive.

Ideally, there should also be absolutely NO link WITHIN the summary line itself (this is not necessary if we always have a "details/help" link displayed with each gadget), which should be a basic text.

The target page or URL for this "help/details" description page can be anywhere (including on another wiki): it should be up to each gadget to specify the location of their Gadget's help page, and each wiki importing the gadget should also have the possibility to customize this default page (for example to provide local help and local discussion pages, even if the local page contains another link to the default Gadget's detail page, which it really should).

The same is true for all other localizable summary lines found in the preferences. This is easy to understand, look at most standalone applications for desktops (Windows, Mac, Linux...) that include such a "help" functionality in their GUI (forms and dialogs) for all user selectable items, and sometimes even for some display-only status. The per-item "help" is needed simply for usability and is much better than just a global help page for a full input form.
Comment 12 Mike.lifeguard 2009-11-14 17:09:00 UTC
(In reply to comment #11)
> Most probably, all gadgets presented in the Preferences should have at least
> one link, not there for "editing" it but going to a more complete description
> page (from which you'll find a full description, example snapshots, usage help,
> versioning info, bugs and discussions for corrections, suggestions for
> improvements, and a link to its current implementation, which may consist in
> more than just a single Javascript source, but could also contain images,
> translable/localizable items...)

That can and should be implemented by the users writing these scripts.
Comment 13 Philippe Verdy 2009-11-14 19:39:31 UTC
In simple words: separate clearly the short gadget description string that appears in the Preferences tab, from the full pagename describing it. Make them into two separate ressources, also localizable separately (and still customizable on local wikis that will want to provide their own help page). And drop all links from the short localizable description strings as they are irrelevant.
Comment 14 Sam Reed (reedy) 2011-02-10 14:11:28 UTC
The Edit links seem to work fine in MaxSems rewrite of the extension (or at least, the current version, if it wasn't max that fixed it)

What else needs doing for this now?

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


Navigation
Links