https://bugzilla.wikimedia.org/show_bug.cgi?id=62173

            Bug ID: 62173
           Summary: Flow: redlink to a Flow board causes "The action
                    specified by the URL is invalid" error
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Flow
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: sp...@wikimedia.org
                CC: ebernhard...@wikimedia.org, mpinc...@wikimedia.org,
                    pandiculat...@gmail.com, sp...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

If you follow a redlink to a Flow board, you get an error page

  Internal error - {{SITENAME}}
  The action specified by the URL is invalid. You might have mistyped the URL,
or followed an incorrect link. This might also indicate a bug in the software
used by SPageWiki. 

and depending on how your wiki is configured for errors, you get:
  [0264606c]
/wiki/index.php?title=User_talk:Selenium_user&action=edit&redlink=1 Exception
from line 80 of /home/spage/projects/core/extensions/Flow/includes/View.php:
Unrecognized get action: edit

Currently this is unlikely to happen in production, since we set up Flow in
advance on a page-by-page basis. But when we allow Flow user pages, either by
$wgFlowOccupyNamespaces or by a beta opt-in features, it's likely to happen.

We could make redlink handling aware of Flow so it just takes you to the Flow
board instead of putting action=edit on the URL. But I think it's better and
easier for Flow to swallow the exception for action=edit and let the user view
the board, since that's the precursor to choosing something to edit (the board
header, a topic title, or some post).

Maybe there are other MediaWiki-generated action links that should not result
in action errors when performed on Flow boards.  We document action handling at
https://www.mediawiki.org/wiki/Flow/Architecture#URL_actions

I filed bug 62165 about the garbled {{SITENAME}} in the title, it should be
'nosuchaction'.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to