[MediaWiki-commits] [Gerrit] Changing wgMainPageTitle to use wgPageName. - change (mediawiki...LastModified[master])

2012-09-21 Thread Ori.livneh (Code Review)
Ori.livneh has submitted this change and it was merged.

Change subject: Changing wgMainPageTitle to use wgPageName.
..


Changing wgMainPageTitle to use wgPageName.

Before this change, the links to the history pages are always pointing
to the history page of "Main Page", which is rather annoying to users
that actually click on the link on any other page, but is being directed
to the wrong history page.

This change changes the link to use the variable for the current page
that a user is looking at and outputs the correct link for the user.

Change-Id: I8153358c6025108aec946db9b2cf8e904f838d1b
---
M modules/lastmodified.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ori.livneh: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/24428
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8153358c6025108aec946db9b2cf8e904f838d1b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LastModified
Gerrit-Branch: master
Gerrit-Owner: Hydriz 
Gerrit-Reviewer: Jpostlethwaite 
Gerrit-Reviewer: Ori.livneh 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Changing wgMainPageTitle to use wgPageName. - change (mediawiki...LastModified[master])

2012-09-20 Thread Hydriz (Code Review)
Hydriz has uploaded a new change for review.

Change subject: Changing wgMainPageTitle to use wgPageName.
..

Changing wgMainPageTitle to use wgPageName.

Before this change, the links to the history pages are always pointing
to the history page of "Main Page", which is rather annoying to users
that actually click on the link on any other page, but is being directed
to the wrong history page.

This change changes the link to use the variable for the current page
that a user is looking at and outputs the correct link for the user.

Change-Id: I8153358c6025108aec946db9b2cf8e904f838d1b
---
M modules/lastmodified.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LastModified 
refs/changes/28/24428/1
--
To view, visit https://gerrit.wikimedia.org/r/24428
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8153358c6025108aec946db9b2cf8e904f838d1b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LastModified
Gerrit-Branch: master
Gerrit-Owner: Hydriz 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits