Last modified: 2014-08-20 19:54:06 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 T67454, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65454 - Welcome Message contains an internal link in error
Welcome Message contains an internal link in error
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ConfirmAccount (Other open bugs)
REL1_23-branch
All All
: Normal normal (vote)
: MW 1.23 version
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-18 13:24 UTC by Bill Traynor
Modified: 2014-08-20 19:54 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---
legoktm.wikipedia: Backport_to_Stable+


Attachments

Description Bill Traynor 2014-05-18 13:24:47 UTC
In file i18n/confirmaccount/en.json the link used in the Welcome message links internally but should be an external wiki link:

Now: [[{{MediaWiki:Helppage}}|help pages]]

Should be: [{{MediaWiki:Helppage}} help pages]

Thanks
Comment 1 Andre Klapper 2014-05-19 10:35:49 UTC
Hi Bill! Thanks for investigating and reporting this!
Just in case you feel like fixing the code, you are welcome to use Developer access
  https://www.mediawiki.org/wiki/Developer_access
to submit this as a Git branch directly into Gerrit:
  https://www.mediawiki.org/wiki/Git/Tutorial
Putting your branch in Git makes it easier to review it quickly. If you don't want to set up Git/Gerrit, you can also use https://tools.wmflabs.org/gerrit-patch-uploader/
Comment 2 Bartosz Dziewoński 2014-05-19 10:39:44 UTC
MediaWiki:Helppage is allowed to be either an internal or external link. You should use Skin::makeInternalOrExternalUrl() to generate a correct one.
Comment 3 Bill Traynor 2014-05-19 12:36:16 UTC
That's great, but doesn't make sense to me.  The link is to a MediaWiki.org help page, which would mean that it is only an internal link to the MediaWiki.org site.  Given that, shouldn't it at least be an external link by default?

And how would I or anyone else know to use Skin::makeInternalOrExternalUrl()?
Comment 4 Gerrit Notification Bot 2014-05-19 13:10:31 UTC
Change 134063 had a related patch set uploaded by Nemo bis:
Make "helppage" link relative

https://gerrit.wikimedia.org/r/134063
Comment 5 Nemo 2014-05-19 13:22:06 UTC
(In reply to Bill Traynor from comment #3)
> Given that, shouldn't it at least be an external link
> by default?

Yes but it used to be the opposite before; there is an ongoing standardisation towards external https links.

> And how would I or anyone else know to use Skin::makeInternalOrExternalUrl()?

That's something for the code, see patch linked above. For core we had added notes about the only case we noticed, sorry for this oversight.
https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/RELEASE-NOTES-1.23#L44
Comment 6 Gerrit Notification Bot 2014-06-17 09:27:53 UTC
Change 134063 merged by Siebrand:
Make "helppage" link relative

https://gerrit.wikimedia.org/r/134063
Comment 7 Bartosz Dziewoński 2014-08-15 21:44:35 UTC
Resolved? Not resolved?
Comment 8 Gerrit Notification Bot 2014-08-20 19:53:00 UTC
Change 155344 had a related patch set uploaded by Legoktm:
Make "helppage" link relative

https://gerrit.wikimedia.org/r/155344
Comment 9 Gerrit Notification Bot 2014-08-20 19:53:42 UTC
Change 155344 merged by jenkins-bot:
Make "helppage" link relative

https://gerrit.wikimedia.org/r/155344
Comment 10 Kunal Mehta (Legoktm) 2014-08-20 19:54:06 UTC
Backported to REL1_23.

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


Navigation
Links