Actions

Dev/mediawiki

From Whonix

< Dev


[edit]

donate

Production[edit]

Testing[edit]

Mediawiki Replacement Discussion[edit]

CodeSelect[edit]

CodeSelect with pipes[edit]

Use

{{!}}

rather than

|

Or simply have a look at the mediawiki markup for the following example.

Exec=cat file | grep something

https://phabricator.whonix.org/T614 [archive]

pre tag with white spaces[edit]

Try making the opening tag

<pre style="white-space: pre-wrap;">
...

instead of normal pre>.

There are a number of other wrapping/whitespace options [archive] if that doesn't work for what you need.

Locations to Edit[edit]

Check if scripts are loaded[edit]

Using a dektop browser with mobile skin these scripts get loaded (the bold one contains the mobile.js):


But using the emulated mobile device with the same skin only these get loaded:


search for

sdShowDetailed

the error only occurs when a mobile device is used and the mobile theme is active

Caching[edit]

Cookies[edit]

curl --cookie test=yes ../Tor_Controller

Fixing[edit]

Sometimes this helps.

../Tor_Controller?action=purge [archive]

../Tor_Controller?useformat=mobile?action=purge [archive]

Test[edit]

curl ../Tor_Controller?useformat=mobile > 1
curl --user-agent "android.mobile" ../Tor_Controller?useformat=mobile > 2
curl ../Tor_Controller?useformat=mobile > 3
curl --user-agent "android.mobile" ../Tor_Controller > 4
curl --user-agent "android.mobile" ../Tor_Controller?useformat=mobile > 5
curl ../Tor_Controller?useformat=mobile?useformat=mobile > 6
meld 1 2

cache clear[edit]

apc_cache_clear

rm -r /var/www/w/cache/*

varnishadm 'ban req.url ~ "."'

mediawiki Mobile Frontend[edit]

There is no Table of Contents (TOC) when using MobileFrontend with javascript disabled.

misc notes[edit]

mediawiki server[edit]

Links[edit]

pagespeed[edit]

load.php caching[edit]

load.php debug mode[edit]

?pagespeed has no effect on css or js loads

https://github.com/jthingelstad/foreground/issues/370 [archive]

  • debug=true

49 js 12 css

  • debug=false

26 js 1 css

instead of

  • load.php?[...]modulename.namespace.tool,tool2,tool3|differentmodule.tool,tool2

we have

  • load.php?[...]modulename.namespace.tool
  • load.php?[...]modulename.namespace.tool2
  • load.php?[...]modulename.namespace.tool3
  • load.php?[...]differentmodule.tool

Forum discussion[edit]

https://forums.whonix.org/t/short-and-detailed-buttons-in-the-wiki-html-help-wanted [archive]

Redirect[edit]



Fosshost is sponsors Kicksecure ™ stage server 100px
Fosshost About Advertisements

Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki


Follow: 1024px-Telegram 2019 Logo.svg.png Iconfinder Apple Mail 2697658.png Twitter.png Facebook.png Rss.png Reddit.jpg 200px-Mastodon Logotype (Simple).svg.png

Support: Discourse logo.png

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contribute

Whonix donate bitcoin.png Monero donate Whonix.png United Federation of Planets 1000px.png

Twitter-share-button.png Facebook-share-button.png Telegram-share.png Iconfinder Apple Mail 2697658.png Reddit.jpg Hacker.news.jpg 200px-Mastodon Logotype (Simple).svg.png

Have you contributed to Whonix ™? If so, feel free to add your name and highlight what you did on the Whonix ™ authorship page.

https link onion link Priority Support | Investors | Professional Support

Whonix | © ENCRYPTED SUPPORT LP | Heckert gnu.big.png Freedom Software / Osi standard logo 0.png Open Source (Why?)

The personal opinions of moderators or contributors to the Whonix ™ project do not represent the project as a whole.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent.