Last modified: 2014-09-12 23:20:49 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 T62465, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60465 - Flow: provide View Source (showing the wikitext) of someone's post
Flow: provide View Source (showing the wikitext) of someone's post
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
https://www.mediawiki.org/w/index.php...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-27 09:35 UTC by spage
Modified: 2014-09-12 23:20 UTC (History)
7 users (show)

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


Attachments

Description spage 2014-01-27 09:35:25 UTC
As the anon user asks in https://www.mediawiki.org/w/index.php?title=Talk:Flow&workflow=050f371f63d1034818d4782bcb077299 ,

  "Will there be a way to view the source of someone's comment, for things like viewing code examples where the commenter hasn't put it in <code> tags?

  I don't expect just anyone to be able to edit others comments, but being able to see their code would be useful."

In wiki pages, action=edit always shows the source of the page, and if you don't have rights to change it then it switches to a read-only "View source for <e.g. Main Page> ... You can view and copy the source of this page:". When the wiki think you can't edit a page, its [Edit] tab changes to [View source]. But the equivalent action=edit-post for a Flow post simply fails with "Insufficient permission to access the content."

So perhaps Edit in a post's action menu could similarly switch to View source if you don't have rights to edit (geeky "View source" icon TBD).

(In a former life I requested action=view_source for wiki pages in bug 19681, Brion Vibber shot it down 8-) .)
Comment 1 Quiddity 2014-01-27 18:57:12 UTC
Notes from the old Mingle card #638:

* Narrative
As a user, I want to have the ability to look at the wikitext of other users' posts, so that I can learn by example, and so that I can copy content into the article.

* Notes

Suggest putting a "view wikitext" link in the action menu.

Initially mentioned here https://en.wikipedia.org/wiki/Wikipedia_talk:Flow#Future_feature_planning

and here http://ee-flow.wmflabs.org/w/index.php?title=Talk:Flow_workshop&workflow=050a6ebc737bf00fc8b1fa163e68c4ac#flow-post-050b5ac6318ff00fc8b1fa163e68c4ac

and here https://en.wikipedia.org/wiki/Wikipedia_talk:Flow/Design_FAQ#Everything
Comment 2 Bingle 2014-01-28 23:54:59 UTC
The WMF core features team tracks this bug on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/flow/cards/735, but people from the community are welcome to contribute here and in Gerrit.
Comment 4 Gerrit Notification Bot 2014-09-12 23:20:47 UTC
Change 160160 had a related patch set uploaded by EBernhardson:
Add "View Source" link to post actions menu

https://gerrit.wikimedia.org/r/160160

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


Navigation
Links