Currently getUrl() of mw.Title does not support fragments.
new mw.Title( 'Title Ä#Fragment Ä' ).getUrl( { useskin: 'vector' } )
evaluates to /wiki/Title_%C3%84?useskin=vector.
Expected result: /wiki/Title_%C3%84?useskin=vector#Fragment_.C3.A4
Currently getUrl() of mw.Title does not support fragments.
new mw.Title( 'Title Ä#Fragment Ä' ).getUrl( { useskin: 'vector' } )
evaluates to /wiki/Title_%C3%84?useskin=vector.
Expected result: /wiki/Title_%C3%84?useskin=vector#Fragment_.C3.A4
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Support fragments in getUrl() of mw.Title | mediawiki/core | master | +10 -2 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Unicornisaurous | T103715 Support fragments in getUrl() of mw.Title | |||
Resolved | Unicornisaurous | T103553 Support fragments in mw.util.getUrl() | |||
Resolved | Fomafix | T103661 Reimplement Sanitizer::escapeId in JavaScript |
Hi @Saptak013, thanks for your interest in contributing! The task description describes steps to reproduce and expectations.
For general information how to test, please see How to become a MediaWiki hacker.
If you have specific questions about this task, please don't hesitate to ask in this task! Thanks!
Since the blocking task was completed, could this task get published @Aklapper? Thanks.
Change 261171 had a related patch set uploaded (by Unicornisaurous):
Support fragments in getUrl() of mw.Title