Last modified: 2013-01-02 15:59:17 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 T44154, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42154 - "Code Review" link on personal portlet moved to far right, after the Log out link
"Code Review" link on personal portlet moved to far right, after the Log out ...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-15 17:44 UTC by Platonides
Modified: 2013-01-02 15:59 UTC (History)
3 users (show)

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


Attachments

Description Platonides 2012-11-15 17:44:07 UTC
The link to Code Review on the personal portlet has been moved to the far right, after the Log out link.

Probably introduced in 1.21wmf4
Comment 1 Andre Klapper 2012-11-16 10:13:22 UTC
(In reply to comment #0)
> The link to Code Review on the personal portlet

URLs please, always. Thanks...
Comment 2 Andre Klapper 2012-12-30 21:23:11 UTC
Platonides: Can you please provide a URL or steps to reproduce?
Comment 3 Krinkle 2012-12-30 21:26:28 UTC
Indeed. MediaWiki core interface has no such "Code Review" link. What's this about?
Comment 4 Platonides 2012-12-30 21:43:28 UTC
That link appears on https://www.mediawiki.org/ (provided by Extension:CodeReview) but is no longer at the right. Some later update seems to have fixed it.
Comment 5 Krinkle 2012-12-30 21:59:02 UTC
Extension:CodeReview adds no "Code Review" link in any portlet.

There is one in the sidebar (configured in [[mw:MediaWiki:Sidebar]]) but nothing in the personal portlet.

Where does the link point to?
Comment 6 Platonides 2012-12-30 23:17:41 UTC
It was (presumably) caused by a core change so don't blindly change it to CodeReview extension.

By “personal portlet” I mean #p-personal (we are talking about different sections?)
The link goes to http://www.mediawiki.org/wiki/Special:Code/MediaWiki
Strangely, it seems to appear on vector but not on monobook.
Comment 7 Krinkle 2012-12-31 19:26:02 UTC
Section #p-personal indeed. However there has never been such link in either core or the CodeReview extension.[1]

I guess this is added by a gadget or a user script of yours.

The position of the link is determined by the nextnode argument to addPortletLink. This logic hasn't changed since 1.17. So if it broke or was mispositioned it is likely due to the script that adds that link to your interface.


[1] ext.CodeReview has one call to addPortletLink for the scapmap above table.TablePager for ext.codereview.overview. Nothing for p-personal.
Comment 8 Platonides 2012-12-31 19:57:05 UTC
Tricked by my own code!
https://www.mediawiki.org/w/index.php?title=User:Platonides/vector.js&diff=349774&oldid=349723&diffonly=1

Still, that line has been unchanged since 2010. I suspect that #pt-userpage lost its id on November, thus having getElementById return null, and addPortletLink() put it at the end.
Comment 9 Krinkle 2013-01-02 03:12:16 UTC
(In reply to comment #8)
> Tricked by my own code!
> https://www.mediawiki.org/w/index.php?title=User:Platonides/vector.
> js&diff=349774&oldid=349723&diffonly=1
> 
> Still, that line has been unchanged since 2010. I suspect that #pt-userpage
> lost its id on November, thus having getElementById return null, and
> addPortletLink() put it at the end.

My thoughts exactly. #pt-userpage was changed briefly during the 1.20/1.21 cycle.

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


Navigation
Links