https://bugzilla.wikimedia.org/show_bug.cgi?id=36053
Web browser: ---
Bug #: 36053
Summary: [Regression] Log in "returnto" behavior, current
(real) page title ignored
Product: MediaWiki
Version: 1.19
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
I thought I recorded this bug already can't find it. This behavior was okay up
until 1.18 and since 1.19wmf1 was deployed, it is breaking.
== Steps to reproduce ==
* When logged out, visit a url to an existing view but without a title query
parameter, for example:
- https://nl.wikipedia.org/?curid=2788608&redirect=no
- https://en.wikipedia.org/?diff=123
* Click Login in the top left and continue the login procedure
== Expected ==
The "Back to ..." link should go to where I was
== Actual ==
The link says "Main page" and goes to /wiki/Main_Page, no query at all.
I could understand if it assumes the title 'Main Page' if none was found in the
originating url (although even that is somewhat unneeded, since MediaWiki knows
the page title by the time the page is rendered, based on oldid and/or pageid).
But instead of it becoming ?title=Some_page&originalquery or ?originalquery, it
becomes /wiki/Main_Page.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l