https://bugzilla.wikimedia.org/show_bug.cgi?id=39828

--- Comment #10 from Timeshifter <[email protected]> ---
See [[WP:Bugzilla]]. Testing the pound character (#).

Standard MediaWiki-style section links do not work. For example; this standard
section link ends up being a link to the top of the page, and not to the
section:

[[Wikipedia:Bug reports and feature requests#Links from within Bugzilla]]

There is a way to make working section links in Bugzilla without having to use
the full URL. Copy the URL from the location bar of your browser, and add
brackets around part of it. This works (assuming the section header uses the
same name when you test it):

[[Wikipedia:Bug_reports_and_feature_requests#Links_from_within_Bugzilla]]

In Bugzilla threads it seems that once the pound key (#) is found in the link
wikitext then spaces that follow break the link to the section or tab. Links to
[[Special:Preferences]] tabs work due to the lack of spaces in the link
wikitext:

[[Special:Preferences#mw-prefsection-gadgets]]

Another test. Spaces in the link before the pound character (#). No spaces
after it: 
*[[Wikipedia:Bug reports and feature requests#Links_from_within_Bugzilla]]

I don't think it will work because this method did not work before in a
previous comment using this link:
*[[mw:Bugzilla#Website links within Bugzilla comments]] 

But one link is a Wikipedia.org link, and one link is a Mediawiki.org link. So
the test is useful.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to