Last modified: 2013-07-04 11:37:42 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 T51535, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49535 - Add $page_encoded and $username_encoded to wm-bot variable list for @configure recent-changes-template
Add $page_encoded and $username_encoded to wm-bot variable list for @configu...
Status: RESOLVED FIXED
Product: Utilities
Classification: Unclassified
WM-Bot (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Peter Bena
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-13 16:47 UTC by Technical 13
Modified: 2013-07-04 11:37 UTC (History)
1 user (show)

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


Attachments

Description Technical 13 2013-06-13 16:47:20 UTC
Looking for a couple more variables so that a configure string like:

@configure recent-changes-template=$url?title=$username_encoded changed $url?title=$page_encoded ($summary) on $wiki *-* Diff: $url?diff=$link

will work... Currently, any spaces in $username and $page breaks the link.
Comment 1 Peter Bena 2013-06-15 08:48:14 UTC
$encoded_page
$encoded_username

that way it's simpler to parse
Comment 2 Technical 13 2013-06-16 01:04:12 UTC
Request for underscore encoding instead of plus encoding for spaces to be more like wiki as http://enwp.org/User:Technical+13 doesn't work but http://enwp.org/User:Technical_13 does.
Comment 3 Peter Bena 2013-06-17 08:36:10 UTC
ok I will create $encoded_wiki_page because this is a bug in mediawiki.

using + symbol is correct way to encode url

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


Navigation
Links