Re: Porting website FAQ to the wiki

Arne Babenhauserheide <arne_bab-S0/[email protected]>
Newsgroups gmane.network.freenet.devel
Message-ID <[email protected]>
Hi Stephen,

Stephen Oliver writes:

> Hi everyone,
>
> As discussed earlier on IRC, I have ported all of the FAQ content from the freenetproject.org website over to our wiki, merged with the existing FAQ page[1].

Looks good! Thank you!

To keep existing #faq links working, we could add the anchor to the Get
Support section. Here’s a patch which would do that and still ensure
that the section is visible when clicking the anchor, but it’s a bit
hacky:

diff --git a/pages/help.py b/pages/help.py
--- a/pages/help.py
+++ b/pages/help.py
@@ -65,7 +65,7 @@ class SupportSection(Section):
     def get_content(self):
         # License: GFDL (from old freenetproject.org website)
         return text(md(_("""
-If you need help installing Freenet for the first time, or have trouble using Freenet and can't find an answer to your problem in the [FAQ][faq_link] or in the [Knowledge Base][kb_link], please create a new discussion on our support forum.
+        <div style="position: absolute; margin-top: -5em;"><a name='faq'></a></div>If you need help installing Freenet for the first time, or have trouble using Freenet and can't find an answer to your problem in the [FAQ][faq_link] or in the [Knowledge Base][kb_link], please create a new discussion on our support forum.
 
 When writing your support request, please make sure you include a full description of the problem, your current version of Java, your operating system and current Freenet version.
 """) + "\n\n" + """

Best wishes,
Arne

> [1] https://wiki.freenetproject.org/FAQ
>
> [2] https://github.com/freenet/website/pull/69
> _______________________________________________
> Devl mailing list
> [email protected]
> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl


-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken

_______________________________________________
Devl mailing list
[email protected]
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
signature.asc (application/pgp-signature, 818 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXpuHRAAoJEBPvjUUkA8PrZzkQAJC5ABnUTQg7tsI6IJAKvCNt
LcEZ7TOPqelokX7qXjwyMTVHdSsdn5pk4EVDdMS+OpkU6mw1zE8fKMFXhCJrdXJY
kna5EGVAmjZgViVpJaL04k89dMe1gY1mwxEg75K3sXzayFTjtkQdSOG/qK8mLn1f
zA/nXJIGi/ZsKxCDuFncr9xbjTnU28qPt04LpVFuCq9oRs62yULY72fJI3hleso1
jKoyDvSxJHLIj6fVsEnzcg4MbgYZPDpyJMuK62UcJdC7SUWblPBfhMyaRL1f/po/
YtLqdMlsEVSCI9fNCkX71uacevf3j7VkxklXE5i50zM4aKS9BpIJlqviAjATdR2s
7GlB52r8rkypuN3sf84LGSZdOiBbe7Ky/yBar532af0uGpgDQtRCKM1nTAplDsnp
M2fDCV0FNoci5irhOERWLHTupLo9a/IEOb4TBI5si6VRdrQ2ahGc0WLREQJyodaO
+qpNJjHdmpLeIaI6WAqCl1VgoOqeuBwJLRq1YILTxdu/xIPByVC7Uaz2V/ARmye7
Eo7/Utj0ZjdduuxvKFHkKjGX7Cbbtuw9z4XF087fRrF3V41K69L36l8JLLj7tLjV
gPlWQlX75v53fnccUOCnBaxG4D24pF2nc4WUEeAv3vUP0YrbAWMVFGRkuKr1Wz5y
4u4MQDHzEPQqLyHb+Amu
=bGXE
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.