Last modified: 2006-10-24 12:31:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 7620 - Add {{urlencodenw:}} colon function
Add {{urlencodenw:}} colon function
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-18 08:59 UTC by Danny B.
Modified: 2006-10-24 12:31 UTC (History)
0 users

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


Attachments

Description Danny B. 2006-10-18 08:59:11 UTC
Since {{urlencode:}} & {{fullurl:}} do the encoding the way to comply MediaWiki
needs, there's a need for similar functions to do the "real" url encoding.

The difference is _ vs. + for space character.

{{urlencode:Lorem ipsum}} produces Lorem_ipsum
{{urlencodenw:Lorem ipsum}} should produce Lorem+ipsum
{{fullurlnw:}} should behave on the same principle

(I choose nw suffix like nowiki, but if you prefer another name, go for it...)

Thanks.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-10-19 02:07:47 UTC
Since fullurl is only relevant to MediaWiki sites, I can't see why it would need
a version for non-MediaWiki sites.
Comment 2 Danny B. 2006-10-19 17:09:23 UTC
(In reply to comment #1)

Oh, yes, you're right, of course. In fact I can't remember why I added it there. :-/

Anyway, the {{urlencodenw:}} is still needed though.

Changing the summary according to your suggestion.
Comment 3 Fyren 2006-10-24 12:28:40 UTC
{{urlencode:Lorem ipsum}} DOES produce Lorem+ipsum... so marking invalid.
Comment 4 Andrew Garrett 2006-10-24 12:31:19 UTC
Reopening to change to WORKSFORME
Comment 5 Andrew Garrett 2006-10-24 12:31:40 UTC
Reclosing as WORKSFORME

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


Navigation
Links