• Re: Trouble when editing a Debian wiki page

    From Greg Wooledge@21:1/5 to Franco Martelli on Wed Jul 24 15:40:01 2024
    On Wed, Jul 24, 2024 at 15:19:29 +0200, Franco Martelli wrote:
    https://wiki.debian.org/EnvironmentVariables

    The trouble is that the page has lost indentation, the text begins on the left side of the page.

    The only part that was indented was the table of contents itself. I
    fixed that.

    Could anybody tell me what I did wrong?

    You had a leading space before the << tag. That caused the TOC to be
    indented. I removed that.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Greg Wooledge@21:1/5 to Franco Martelli on Wed Jul 24 20:20:01 2024
    On Wed, Jul 24, 2024 at 20:08:08 +0200, Franco Martelli wrote:
    On 24/07/24 at 15:34, Greg Wooledge wrote:
    Could anybody tell me what I did wrong?
    You had a leading space before the << tag. That caused the TOC to be indented. I removed that.

    Oh, Thank you very much Greg, what confused me it was the page that I took
    as reference:

    https://wiki.debian.org/Permissions?action=raw

    here there's a space before the << tag and, as I said, clicking on the "Preview" button when in edit mode, it didn't help.

    Well, the table of contents is indented on that page as well.

    It sounds like you're ... not seeing what I'm seeing, though. I checked
    in both Chrome and Firefox, and everything looks fine, assuming you
    don't mind the TOC being indented.

    Are you seeing something *else*? In what browser?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Greg Wooledge@21:1/5 to Max Nikulin on Thu Jul 25 05:50:02 2024
    On Thu, Jul 25, 2024 at 09:50:43 +0700, Max Nikulin wrote:
    https://wiki.debian.org/EnvironmentVariables?action=raw&rev=33

    has one empty line after "<<TableOfContents(3)>>" while rev=22 has 2 empty lines and it may be more significant than a space before "<<".

    I assume you mean "while rev=32". I removed the extra blank line at
    the same time I removed the leading space. The leading space causes indentation, but a blank line should just be ignored when rendering
    the HTML. It has no significance in the final appearance.

    The Permissions article has an extra space in the translations line causing extra indentation due to rather weird markup

    <table style="&amp;quot; width: 100%; &amp;quot;">

    I don't touch the translation stuff. Whatever the Debian translation team wants to do, I let them do it. If the wiki markup for the translations
    table is broken, someone on that team will have to be the one to fix it.

    I feel sympathy for anyone who's trying to translate a wiki page that
    keeps changing. I can only imagine how much effort that must be.

    I suspect that part of the reason the Debian wiki doesn't get updated as
    often as it probably should is because people don't want to create extra
    work for the translators.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Greg Wooledge@21:1/5 to Max Nikulin on Thu Jul 25 14:20:02 2024
    On Thu, Jul 25, 2024 at 18:54:38 +0700, Max Nikulin wrote:
    A space before " <<TableOfContents(3)>>" combined with 2 empty lines after cause extra "</div>" closing <div id="content"> before following text. So most of article text has no left margin.

    https://wiki.debian.org/WikiSandBox?action=recall&rev=144 https://wiki.debian.org/EnvironmentVariables?action=recall&rev=32

    So, a bug in MoinMoin -- not a huge shock.

    But y'all are still seeing something other than what I'm seeing. I guess
    my browsers are just ignoring the invalid HTML and giving me a page that
    looks fine, while some of you are seeing... I don't know what. I can't
    quite guess what "text has no left margin" means here.

    Oh -- if I do it in a Chrome Incognito window, I get different results.

    So, I guess being logged in to the wiki changes the HTML just enough to
    work around the bugs, to the point where most editors aren't aware that
    there *is* a bug, because we're all logged in. Or there's something
    else in my normal browser environment, which is absent in Incognito,
    which works around this particular bug.

    Weird.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Greg Wooledge@21:1/5 to Max Nikulin on Thu Jul 25 15:10:01 2024
    On Thu, Jul 25, 2024 at 20:02:11 +0700, Max Nikulin wrote:
    On 25/07/2024 19:11, Greg Wooledge wrote:
    On Thu, Jul 25, 2024 at 18:54:38 +0700, Max Nikulin wrote:
    https://wiki.debian.org/EnvironmentVariables?action=recall&rev=32
    [...]
    I can't quite guess what "text has no left margin" means here.

    Firefox-115, see the attachment. Notice that "General", unlike table of contents, is not separated from window border by 52px margin.

    Yeah... I have to use a Private window (Firefox) or an Incognito window (Chrome) to duplicate this. If I'm using my regular browser sessions
    where I'm logged in to the wiki, I don't get that result.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From debian-user@howorth.org.uk@21:1/5 to Franco Martelli on Thu Jul 25 16:40:02 2024
    Franco Martelli <martellif67@gmail.com> wrote:
    On 25/07/24 at 15:07, Greg Wooledge wrote:
    Yeah... I have to use a Private window (Firefox) or an Incognito
    window (Chrome) to duplicate this. If I'm using my regular browser sessions where I'm logged in to the wiki, I don't get that result.


    When in editing mode by clicking "Preview" button it shows the page
    with indentation (all looks OK) but when saving the changes by
    clicking "Save Changes" button then the page lost indentation (no
    margin). This it happened to me when I added the TOC to
    EnvironmentVariables

    Cheers

    And now the server is mostly giving "503 Service Unailable" with the
    occasional very slow service of a page.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Steve McIntyre@21:1/5 to debian-user@howorth.org.uk on Fri Jul 26 03:30:02 2024
    debian-user@howorth.org.uk wrote:
    Franco Martelli <martellif67@gmail.com> wrote:
    On 25/07/24 at 15:07, Greg Wooledge wrote:
    Yeah... I have to use a Private window (Firefox) or an Incognito
    window (Chrome) to duplicate this. If I'm using my regular browser
    sessions where I'm logged in to the wiki, I don't get that result.


    When in editing mode by clicking "Preview" button it shows the page
    with indentation (all looks OK) but when saving the changes by
    clicking "Save Changes" button then the page lost indentation (no
    margin). This it happened to me when I added the TOC to
    EnvironmentVariables

    Cheers

    And now the server is mostly giving "503 Service Unailable" with the >occasional very slow service of a page.

    Yes, we had a bit of a DoS happen this afternoon. :-(

    --
    Steve McIntyre, Cambridge, UK. steve@einval.com Can't keep my eyes from the circling sky,
    Tongue-tied & twisted, Just an earth-bound misfit, I...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)