Last modified: 2011-03-13 18:06:45 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 6588 - Empty fragment [[#]] does not work
Empty fragment [[#]] does not work
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
Other All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-07-08 02:08 UTC by omniplex
Modified: 2011-03-13 18:06 UTC (History)
0 users

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


Description omniplex 2006-07-08 02:08:57 UTC
[[#]] should result in href="#", but it's stripped,
same effect as with
my browser. A crude workaround preserving the # is
[{{fullurl:{{FULLPAGENAME}}}}# #].
Comment 1 Antoine "hashar" Musso (WMF) 2006-07-10 21:05:17 UTC
What is the point in an empty anchor ? We just ignore it
when it is empty, no point in having a link pointing to nothing.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-07-10 22:05:01 UTC
See "If the fragment-id is void, the hash
sign may be omitted: A void fragment-id with or without the hash sign means that
the URL refers to the whole object."  However, see what the difference is (if
any) between these two links in your browser:

In Firefox, at least, the former reloads the page, the latter jumps to the top
of the page.
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-07-10 22:05:47 UTC
Well, except that Bugzilla's URL-capturing doesn't accept empty fragments
either.  You'll have to manually enter it into the URL bar to see.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-07-10 22:11:17 UTC
Yes, I know I shouldn't have triple-posted, but anyway, all pages have id
globalWrapper at the very top.  Use that instead; it's a standards-compliant way
of achieving the same effect.

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