Web browser: ---
            Bug ID: 60465
           Summary: Flow: provide View Source (showing the wikitext) of
                    someone's post
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Flow
    Classification: Unclassified
   Mobile Platform: ---

As the anon user asks in

  "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-) .)

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to