Last modified: 2008-12-13 02:20:11 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 T13152, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11152 - Remove ?title=*** parameter from RC entries url
Remove ?title=*** parameter from RC entries url
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
irc://irc.wikimedia.org/
:
: 13033 (view as bug list)
Depends on:
Blocks: 16599
  Show dependency treegraph
 
Reported: 2007-09-02 08:00 UTC by Kalan
Modified: 2008-12-13 02:20 UTC (History)
5 users (show)

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


Attachments

Description Kalan 2007-09-02 08:00:31 UTC
If you join a channel for wiki that's main characters are non-latin (for example, ru.wikipedia), you'll see long URLs that are not usable and sometimes exceed the 512-bytes limit for single message, enforced by IRC protocol. Title is the longest part of them.

I've expiremented with the 'title' parameter, and I found no changes if you just remove it. http://ru.wikipedia.org/w/index.php?title=%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%92%D0%B8%D0%BA%D0%B8%D0%B2%D1%81%D1%82%D1%80%D0%B5%D1%87%D0%B8&diff=5383455&oldid=5383355 and http://ru.wikipedia.org/w/index.php?diff=5383455&oldid=5383355 (and even http://ru.wikipedia.org/wiki/?diff=5383455&oldid=5383355 ) do absolutely the same without polluting channel by these redundant characters.

Urls for new pages can be replaced with permalinks for their creation ( http://ru.wikipedia.org/w/index.php?oldid=1234567 ).
Comment 1 Danny B. 2007-09-03 11:22:15 UTC
Speaking about shortening of URLs: diff=prev (which actually also gives the meaning of link for the first sight) can also be used to save some characters/bytes, so

http://ru.wikipedia.org/w/index.php?oldid=5383355&diff=prev (Википедия:Викивстречи)

So counted all together with stuff in comment #0 the links could (or should?) look this way:

http://ru.wikipedia.org/wiki/?oldid=150852
   for new page
http://ru.wikipedia.org/wiki/?oldid=5383355&diff=prev
   for edit
Comment 2 Kalan 2007-09-03 11:28:34 UTC
> Speaking about shortening of URLs: diff=prev (which actually also gives the
> meaning of link for the first sight) can also be used to save some
> characters/bytes

I thought about this too, but it may break the functionality of some IRC bots that may need the both version numbers. Article name can be taken in the beginning anyway, so that wouldn't hurt anyone.
Comment 3 Brion Vibber 2007-09-04 21:06:02 UTC
In general, removing the titles would make the feeds near-useless for humans.

Using prettier encoding for non-latin chars might be nicer, though; they're pretty illegible as it is. :P :)
Comment 4 Danny B. 2007-09-05 00:07:09 UTC
(In reply to comment #3)
> In general, removing the titles would make the feeds near-useless for humans.

Why? The feed already contains the pagename in [[...]] and UTF encoded. The title parameter in URL is de facto duplicating of this wikilink-like title.
Comment 5 Brion Vibber 2007-09-05 14:31:40 UTC
Ah, so it does. :) Objection withdrawn.
Comment 6 Danny B. 2008-02-16 12:52:53 UTC
*** Bug 13033 has been marked as a duplicate of this bug. ***
Comment 7 lɛʁi לערי ריינהארט 2008-02-17 02:05:08 UTC
(In reply to comment #6)
> *** Bug 13033 has been marked as a duplicate of this bug. ***
(In reply to comment #4)
> 
> Why? The feed already contains the pagename in [[...]] and UTF encoded. The
> title parameter in URL is de facto duplicating of this wikilink-like title.

bug 013033 bot migration to short link format *contains also*:

note: These channel do display the user names only for users with Latin++ type
user names. This is of no help at a large number of wikis. Please consider to
display the user names anyhow.

I mean display the user names UTF encoded.
Comment 8 Danny B. 2008-05-15 10:18:32 UTC
Bug 14045 related.
Comment 9 Brad Jorsch 2008-11-05 21:56:49 UTC
The original request here was taken care of in r42695, with a minor adjustment in r42711 (see bug 4253). I don't know the status of the issue raised in comment #7.
Comment 10 Danny B. 2008-12-13 02:18:59 UTC
Closing this bug since the requested feature has been added to MediaWiki.

Re comment #7: Please open a new bug for that.

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


Navigation
Links