User talk:Rominet: Difference between revisions

→‎Linking to article sections: Examples on how to link to an article heading. Headings already are anchors, so there is no need to add anchors to them.
(→‎Tip: User subpages: Reply to Jhan G.)
(→‎Linking to article sections: Examples on how to link to an article heading. Headings already are anchors, so there is no need to add anchors to them.)
Line 32: Line 32:
: Thank you for the suggestion. Indeed, I'd have adopted it if I had known this was possible beforehand. The intent is to move the material (or part of it) to the main article namespace, but I don't have the time for this right now (I'd need to check the already existing material on the destination page and update it where it is outdated, which adds to the required time). Besides, Torsten very recently mentioned mirrors of the FG repositories on GitLab which I wasn't aware of, and the one for FGData might offer a simpler solution for users who just need read-only access...
: Thank you for the suggestion. Indeed, I'd have adopted it if I had known this was possible beforehand. The intent is to move the material (or part of it) to the main article namespace, but I don't have the time for this right now (I'd need to check the already existing material on the destination page and update it where it is outdated, which adds to the required time). Besides, Torsten very recently mentioned mirrors of the FG repositories on GitLab which I wasn't aware of, and the one for FGData might offer a simpler solution for users who just need read-only access...
: --[[User:Rominet|Rominet]] ([[User talk:Rominet|talk]]) 10:38, 15 April 2019 (EDT)
: --[[User:Rominet|Rominet]] ([[User talk:Rominet|talk]]) 10:38, 15 April 2019 (EDT)
== Linking to article sections ==
Hi Rominet,
I noted this edit [http://wiki.flightgear.org/index.php?title=FFGo&diff=121100&oldid=108682 Add an anchor for the “Using pip (generic method)” section] to the [[FFGo]] article.
Please do not add separate anchors to headings, the headings are anchors in themselves.
To link to a section from another article on the wiki use:
* <code><nowiki>[[FFGo#Using pip (generic method)]]</nowiki></code> (renders as [[FFGo#Using pip (generic method)]]), or
* <code><nowiki>[[FFGo#Using pip (generic method)|Installing FFGo using pip]]</nowiki></code> ([[FFGo#Using pip (generic method)|Installing FFGo using pip]])
And when linking from other websites use:
* <code><nowiki><a href="http://wiki.flightgear.org/FFGo#Using_pip_.28generic_method.29">Installing FFGo with pip</a></nowiki></code> ([http://wiki.flightgear.org/FFGo#Using_pip_.28generic_method.29 Installing FFGo with pip]) (Copy the link from the table of contents in the article).
Sometimes you might want to link specifically to the current revision of the page (in case it will alter later). For those instances there is a link on the left sidebar, "Permanent link" (under "Tools"), that you can copy and when linking to the specific section open that link and copy the link from the table of contents.
—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 16:15, 25 November 2019 (EST)