Page MenuHomePhabricator

mediawiki fixes #2
Open, NormalPublic

Description

too much white space after headline

example:
https://www.whonix.org/wiki/Linux_Kernel_Runtime_Guard_LKRG

Between Linux Kernel Runtime Guard (LKRG) and Introduction is too much whitespace.


two separate pre tags get intermingled and shown as one box

<pre>
text 1
</pre>

<pre>
text 2
</pre>

Shows one box only. Should be two separate boxes separated by a space.

Example:
~~https://www.whonix.org/wiki/Testpage2~~

replace Menu bar with hardcoded links

Can we remove the Menu drop down menu?

And instead, can we have some - clickable - without javascript - (even hardcoded) links up there HOME DOWNLOAD DOCS HELP NEWS in the top bar?

See also upstream bug report:
~~https://github.com/jthingelstad/foreground/issues/182~~

This was fixed. Now always visible links. Links functional without noscript.

https://www.whonix.org/wiki/MediaWiki:Sidebar


clickable expand button inside text (solved T868#19256)

Example: www.whonix.org/wiki/Template:Reload_Tor

If you are using a terminal-only Whonix-Gateway, press on Expand on the right.

A bit hard for the users to look to the very right side. Would be nicer if we could say

If you are using a terminal-only Whonix-Gateway, click on {{Expand}}.

({{Expand}} is just a placeholder for some code we would place there.)

Bonus: Hiding the mediawiki's default Expand button on the right but not very important.

If this is very difficult to do, please don't use too much time on it.


Whonix wiki footer

Whonix wiki footer links...

Imprint
Privacy Policy
Cookie Policy
Terms of Service
DMCA
E-Sign Consent
Priority Support
Investors
Professional Support

are currently using one new line per footer link.

However, should be more reasonable in one (or two) Imprint | Privacy Policy ... lines.


CookieWarning on mobile devices CSS

CookieWarning on mobile devices is too big.

Details

Impact
Normal

Related Objects

Event Timeline

Patrick triaged this task as Normal priority.Oct 2 2018, 11:22 AM
Patrick created this task.
Patrick updated the task description. (Show Details)Oct 2 2018, 5:13 PM
Patrick updated the task description. (Show Details)Oct 2 2018, 5:29 PM
Patrick updated the task description. (Show Details)Oct 4 2018, 2:14 PM
Patrick updated the task description. (Show Details)Oct 4 2018, 2:18 PM
Patrick updated the task description. (Show Details)
Patrick updated the task description. (Show Details)Dec 14 2018, 12:37 PM
Patrick updated the task description. (Show Details)Dec 14 2018, 12:45 PM
Patrick updated the task description. (Show Details)
Patrick updated the task description. (Show Details)
Patrick updated the task description. (Show Details)Dec 14 2018, 12:49 PM
Patrick updated the task description. (Show Details)Dec 14 2018, 12:52 PM
Patrick updated the task description. (Show Details)Dec 14 2018, 3:29 PM
Patrick updated the task description. (Show Details)Oct 23 2019, 4:00 PM
Patrick updated the task description. (Show Details)Nov 8 2019, 3:51 PM
Patrick updated the task description. (Show Details)
Patrick updated the task description. (Show Details)
Patrick updated the task description. (Show Details)Nov 8 2019, 3:56 PM
Patrick mentioned this in T809: mediawiki fixes.
Patrick updated the task description. (Show Details)
Patrick updated the task description. (Show Details)Nov 8 2019, 3:58 PM
Patrick updated the task description. (Show Details)
Patrick updated the task description. (Show Details)Nov 8 2019, 4:21 PM
Patrick updated the task description. (Show Details)Nov 8 2019, 4:50 PM
Patrick updated the task description. (Show Details)Dec 5 2019, 9:13 AM
Patrick updated the task description. (Show Details)
Patrick updated the task description. (Show Details)Jan 7 2020, 6:39 AM
Patrick updated the task description. (Show Details)Jan 17 2020, 8:40 AM
Patrick updated the task description. (Show Details)Jan 17 2020, 9:03 AM
JasonJAyalaP added a subscriber: JasonJAyalaP.EditedJan 18 2020, 4:53 AM

too much whitespace
There is unnecessary whitespace from the html line:

<h5 id="siteSub" class="subtitle"></h5>

which shows nothing + padding all h5's get.

The proper way, I presume, is to tell mediawiki to not display "subtitle", whatever that is. It seems to be similar to "tagline" which is set to "From Whonix" and outputted in html but set to hidden via css (dumb but whatever).

This can be solved in css with the code

#siteSub {
display: none;
}

if mediawiki doesn't cooperate. (There is display:none for #siteSub in the css for #siteSub under specific sections, but not simply in the <body>)

two separate pre tags get intermingled and shown as one box
Can you link me to an example (or create a page with one)?

replace Menu bar with hardcoded links
Isn't this a mediawiki configuration option? It should have basic nav choices.

JasonJAyalaP added a comment.EditedJan 18 2020, 5:32 AM

clickable expand button inside text

Done. Check: https://www.whonix.org/wiki/Template:Reload_Tor

Change text as necessary, observe the example. The -suffix goes on both the "customtoggle" and the collapsible area. The class names for the collapsible area is

"mw-collapsible mw-collapsed"

instead of

"mw-collapsible-content"

for some reason.

example:

If you want to see more, click
<span class="mw-customtoggle-myDivision">HERE</span>
for instructions.

<div id="mw-customcollapsible-myDivision" class="mw-collapsible mw-collapsed">
Complete the following steps.

Reload Tor.
</div>

Another note: That template had a weird extra collapsible <div> wrapped around the "terminal" line AND its instructions that seemed to do nothing. I removed it but can't explain why it was there.

https://www.whonix.org/w/index.php?title=Template:Reload_Tor&diff=54237&oldid=47515
(https://www.mediawiki.org/wiki/Manual:Collapsible_elements)

two separate pre tags get intermingled and shown as one box
Can you link me to an example (or create a page with one)?

https://www.whonix.org/wiki/Testpage2

Patrick updated the task description. (Show Details)Jan 18 2020, 12:12 PM

replace Menu bar with hardcoded links
Isn't this a mediawiki configuration option? It should have basic nav choices.

Actually not easy. See https://github.com/jthingelstad/foreground/issues/182 for more discussion.

Patrick updated the task description. (Show Details)Jan 18 2020, 12:14 PM

JasonJAyalaP (Jason J. Ayala P.):

JasonJAyalaP added a comment.

**clickable expand button inside text**

Done. Check: https://www.whonix.org/wiki/Template:Reload_Tor

Awesome! (Announced here:)

https://forums.whonix.org/t/long-wiki-edits-thread/3477/1696

Patrick updated the task description. (Show Details)Jan 18 2020, 12:42 PM

JasonJAyalaP (Jason J. Ayala P.):

JasonJAyalaP added a comment.

**too  much whitespace**
This is unnecessary whitespace from the html line:

  <h5 id="siteSub" class="subtitle"></h5>

which shows nothing + padding all h5's get.

The proper way, I presume, is to tell mediawiki to not display "subtitle", whatever that is. It seems to be similar to "tagline" which is set to "From Whonix" and outputted in html but set to hidden via css (dumb but whatever).

Indeed. Mediawiki doesn't support that.

https://www.mediawiki.org/wiki/Manual:Tagline_(Site_Subtitle)

This can be solved in css with the code

  #siteSub {
  display: none;
  }

if mediawiki doesn't cooperate

That helped. Less whitespace now. But still too much whitespace.

Patrick updated the task description. (Show Details)Feb 23 2020, 5:01 PM
Patrick updated the task description. (Show Details)Mar 5 2020, 3:40 PM
Patrick updated the task description. (Show Details)