Last modified: 2014-02-23 08:18:12 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 T63750, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61750 - Implement a proper edit preview for MediaWiki:Sidebar
Implement a proper edit preview for MediaWiki:Sidebar
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.23.0
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-21 15:25 UTC by Nate Bezanson
Modified: 2014-02-23 08:18 UTC (History)
2 users (show)

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


Attachments
Screenshot of how this preview looks when I try it. (82.75 KB, image/png)
2014-02-21 15:25 UTC, Nate Bezanson
Details

Description Nate Bezanson 2014-02-21 15:25:08 UTC
Created attachment 14646 [details]
Screenshot of how this preview looks when I try it.

While trying to edit the sidebar on my wiki, I hit the "preview" button. But what's previewed bears little resemblance to an actual sidebar; it appears to not be parsed the same, and it's not a useful tool to see what effect my edits actually have.

As a result, last night's RecentChanges is full of me commiting a half-dozen attempts. Not a big deal (hence the "minor" severity), but it certainly made the editing more difficult!
Comment 1 Andre Klapper 2014-02-21 19:34:09 UTC
Thanks for taking the time to report this!

I looked at the attached screenshot but cannot see any differences in items.

Or did you refer to the rendering of the links in the main pane, dropping most of the [[foo|bar]] wiki markup?
Could you please clarify what behavior you'd expect? Also, which MediaWiki version is this about?
Comment 2 Nate Bezanson 2014-02-21 20:05:57 UTC
Usually I use preview to see if my links work, to see if my link-text is done right (Is it target|name or name|target? I always forget), etc.

This preview doesn't do that. Half the tricks used in the sidebar don't work in regular pages, and they don't work in preview either. Stuff like the * SEARCH gizmo and all the naked (bracketless) thing-url|thing links. That's a syntax entirely foreign to me, and I can't use it on another page to test it out.

The behavior I'd expect is that, when previewing the Sidebar page, the links in the preview would render exactly like the links in the actual sidebar. Or the preview function would actually put my content in the physical sidebar, and just show some lorem-ipsum text, or the edit box, in the main section of the window.

To clarify further: In the screenshot, you see in the actual sidebar, the text "front page (blog)" is a link. But in the preview pane, the text "front page (blog)" is not a link, it's just useless text hanging off the side and it looks like I did something wrong. There's no way to know that it'll actually become the link text without trying it, and that means the preview isn't doing its job.

If you want a better view of the troubles I was having, diff some of the trainwreck that is http://i3detroit.org/wi/index.php?title=MediaWiki:Sidebar&action=history and witness my confusion! I forgot some separators, certain links don't work without title text, all sorts of stuff I couldn't tell was broken in the preview.

As for the version, I just discovered Special:Version, and it reports 1.21.1. 

Thanks for taking the time to look into it, and putting up with my noobish bug report! :)

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


Navigation
Links