[HOME PAGE] [STORES] [CLASSICISTRANIERI.COM] [FOTO] [YOUTUBE CHANNEL]


Bug 8800 – Underscores in wikilinks should be changed to spaces for link text

Last modified: 2007-02-02 18:39:23 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 8800 - Underscores in wikilinks should be changed to spaces for link text
Underscores in wikilinks should be changed to spaces for link text
Status: RESOLVED INVALID
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: 2007-01-28 02:19 UTC by Matthew Flaschen
Modified: 2007-02-02 18:39 UTC (History)
0 users

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


Attachments

Description Matthew Flaschen 2007-01-28 02:19:55 UTC
Wikilinks like [[Glassfish_Application_Server]] are currently parsed into <a
href="/wiki/Glassfish_Application_Server"
title="">Glassfish_Application_Server</a>.  This is ugly and awkward.  People
will continue to include underscores in wikilinks since it's easiest to copy
them that way.  There are multiple ways to solve this, but the easiest would
just be to globally replace underscores with space when generating anchors and
titles of links.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-01-28 02:22:56 UTC
I disagree.  First of all, you can copy easily from the page's actual title rather than the URL.  
Second of all, there are some page names that should actually contain underscores, and we don't 
need to introduce even *more* places where this is difficult or impossible.  And finally, that 
leaves the underscores in the wikitext, where it's still ugly and counterintuitive.
Comment 2 Matthew Flaschen 2007-01-28 02:27:39 UTC
The title was meant to be "Underscores in wikilinks should be changed to spaces
for anchor".  Sorry for the confusion.
Comment 3 Matthew Flaschen 2007-01-28 02:32:05 UTC
First, what pages contain underscores, and how do you create them?  

Second, if this is the case, the software can detect this distinction.  As for
the underscores being ugly, that's true (and I usually avoid them), but it's not
as big a deal.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-01-28 02:35:07 UTC
(In reply to comment #3)
> First, what pages contain underscores, and how do you create them?

None do, but some *should*.  The first one that comes to mind is the redirect [[mod_rewrite]].

> Second, if this is the case, the software can detect this distinction.

Not easily, if at all.
Comment 5 Matthew Flaschen 2007-01-28 02:40:54 UTC
Then your reasoning doesn't make sense to me.  Underscore titles aren't
supported, and I don't see how they could be.  Why should we let that stop us
from improving parsing this way?
Comment 6 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-01-28 03:14:09 UTC
Underscore titles are not *currently* supported in the page titles themselves.  Eventually, one 
hopes, we'll get around to allowing underscores along with initial lowercase letters and so on 
(while treating them as more or less canonically equivalent for the purposes of user input, just 
not for display).

Underscore titles *are* currently supported in some places, such as wikilinks, and this should not 
change.
Comment 7 Matthew Flaschen 2007-01-28 04:15:40 UTC
First, initial lowercases are allowed, and even used on wiktionary.  However,
they are disabled on Wikipedia.

If underscore titles were allowed, thousands of current wikilinks would have to
be changed.  One way to avoid that is to rewrite (on save) underscores into
wikilinks into spaces, *until* the ability to have titles with underscores was
created.  That would resolve my concerns while still allowing the possibility of
future underscore titles.

However, this begs the question of what we would use as a URL delimiter in place
of underscores.  Do you have any ideas?  We would either have to come up with an
escape scheme (awkward when manually typing URLs), or sacrifice a different
character.
Comment 8 Brion Vibber 2007-02-02 18:39:23 UTC
The link text is the text as written, period.

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


Contents Listing Alphabetical by Author:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Unknown Other

Contents Listing Alphabetical by Title:
# A B C D E F G H I J K L M N O P Q R S T U V W Y Z Other

Medical Encyclopedia

Browse by first letter of topic:


A-Ag Ah-Ap Aq-Az B-Bk Bl-Bz C-Cg Ch-Co
Cp-Cz D-Di Dj-Dz E-Ep Eq-Ez F G
H-Hf Hg-Hz I-In Io-Iz J K L-Ln
Lo-Lz M-Mf Mg-Mz N O P-Pl Pm-Pz
Q R S-Sh Si-Sp Sq-Sz T-Tn To-Tz
U V W X Y Z 0-9

Biblioteca - SPANISH

Biblioteca Solidaria - SPANISH

Bugzilla

Ebooks Gratuits

Encyclopaedia Britannica 1911 - PDF

Project Gutenberg: DVD-ROM 2007

Project Gutenberg ENGLISH Selection

Project Gutenberg SPANISH Selection

Standard E-books

Wikipedia Articles Indexes

Wikipedia for Schools - ENGLISH

Wikipedia for Schools - FRENCH

Wikipedia for Schools - SPANISH

Wikipedia for Schools - PORTUGUESE

Wikipedia 2016 - FRENCH

Wikipedia HTML - CATALAN

Wikipedia Picture of the Year 2006

Wikipedia Picture of the Year 2007

Wikipedia Picture of the Year 2008

Wikipedia Picture of the Year 2009

Wikipedia Picture of the Year 2010

Wikipedia Picture of the Year 2011