Re: Porting website FAQ to the wiki

Bert Massop <[email protected]>
Newsgroups gmane.network.freenet.devel
Message-ID <CAKJOob9f4oNSinKJqmY11Ew+a+QABuGLj10Wmj8hymOPEPF2UA@mail.gmail.com>
Op 7 aug. 2016 09:23 schreef "Arne Babenhauserheide" <[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" + """

As a general note here: please keep the translation units as free from HTML
markup as possible. Having to change translations to keep the site
functional is not fun ;-)

Kind regards,
Bert
_______________________________________________
Devl mailing list
[email protected]
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
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.