Page MenuHomePhabricator

htmlProject
ActivePublic

Members (1)

Watchers

  • This project does not have any watchers.

Details

Description

html code

Recent Activity

May 10 2019

madaidan added a comment to T795: Customized welcome page and bookmarks for I2P / Alt TBB (keyword: homepage).

Alternatively, you could change the home page to the program's interface e.g. 127.0.0.1:7657 for I2P and start the browser with a script that creates a popup box using zenity or similar that tells the user the information.

May 10 2019, 6:48 PM · html, whonix-welcome-page, Whonix

Sep 17 2018

Patrick closed T808: mediawiki foreground skin: make items in navigation clickable without drop-down and without javascript as Invalid.

merged into T809

Sep 17 2018, 9:27 PM · Whonix, javascript, website, html

Jul 10 2018

Patrick updated the task description for T808: mediawiki foreground skin: make items in navigation clickable without drop-down and without javascript.
Jul 10 2018, 8:06 AM · Whonix, javascript, website, html
Patrick renamed T808: mediawiki foreground skin: make items in navigation clickable without drop-down and without javascript from mediawiki foreground skin: make items in navigation clickable without drop-down to mediawiki foreground skin: make items in navigation clickable without drop-down and without javascript.
Jul 10 2018, 8:05 AM · Whonix, javascript, website, html

Jul 7 2018

Patrick triaged T808: mediawiki foreground skin: make items in navigation clickable without drop-down and without javascript as Normal priority.
Jul 7 2018, 2:47 PM · Whonix, javascript, website, html

May 27 2018

Patrick added a comment to T795: Customized welcome page and bookmarks for I2P / Alt TBB (keyword: homepage).

Please reference

May 27 2018, 7:05 AM · html, whonix-welcome-page, Whonix
Patrick added a comment to T795: Customized welcome page and bookmarks for I2P / Alt TBB (keyword: homepage).

I don't know about running multiple Tor Browser's in parallel, but as
far as this environment variable is concerned, there won't be an issue
most likely.

May 27 2018, 7:02 AM · html, whonix-welcome-page, Whonix
iry added a comment to T795: Customized welcome page and bookmarks for I2P / Alt TBB (keyword: homepage).

The starter script of the alternative TBB instance could overwrite this

global, default environment variable.

May 27 2018, 4:50 AM · html, whonix-welcome-page, Whonix

May 26 2018

Patrick added a comment to T795: Customized welcome page and bookmarks for I2P / Alt TBB (keyword: homepage).

The starter script of the alternative TBB instance could overwrite this
global, default environment variable.

May 26 2018, 5:05 PM · html, whonix-welcome-page, Whonix
iry added a comment to T795: Customized welcome page and bookmarks for I2P / Alt TBB (keyword: homepage).

I realized the homepage was set by an environment variable.

May 26 2018, 10:53 AM · html, whonix-welcome-page, Whonix

May 8 2018

Patrick renamed T795: Customized welcome page and bookmarks for I2P / Alt TBB (keyword: homepage) from Customized landing page and bookmarks I2P/Alt TBB to Customized welcome page and bookmarks for I2P / Alt TBB (keyword: homepage).
May 8 2018, 9:22 PM · html, whonix-welcome-page, Whonix

Feb 23 2017

Patrick closed T613: fix mediawiki eating leading spaces in <pre> tag as Resolved.

https://www.whonix.org/wiki/Dev/mediawiki#pre_tag_with_white_spaces

Feb 23 2017, 5:11 PM · Whonix, research, website, html
Patrick closed T614: make our mediawiki's CodeSelect compatible with | as Resolved.

Great! Updated the wiki and documented here:

Feb 23 2017, 5:03 PM · Whonix, research, website, html
fortasse added a comment to T614: make our mediawiki's CodeSelect compatible with |.

Replacing the | with {{!}} will render a | as expected. {{!}} is a "magic word" to Mediawiki, and it converts it to a pipe character.

Feb 23 2017, 5:12 AM · Whonix, research, website, html
fortasse added a comment to T613: fix mediawiki eating leading spaces in <pre> tag.

Try making the opening tag <pre style="white-space: pre-wrap;"> instead of normal <pre>. There are a number of other wrapping/whitespace options if that doesn't work for what you need.

Feb 23 2017, 5:02 AM · Whonix, research, website, html

Jan 20 2017

Patrick updated subscribers of T613: fix mediawiki eating leading spaces in <pre> tag.
Jan 20 2017, 7:42 AM · Whonix, research, website, html
Patrick created T614: make our mediawiki's CodeSelect compatible with |.
Jan 20 2017, 7:41 AM · Whonix, research, website, html
Patrick created T613: fix mediawiki eating leading spaces in <pre> tag.
Jan 20 2017, 7:35 AM · Whonix, research, website, html

Feb 10 2016

Patrick created T470: Whonix home page redesign.
Feb 10 2016, 8:38 PM · html, user documentation, Whonix

Feb 10 2015

Patrick closed T93: copy to clipboard button for mediawiki code boxes as Resolved.
Feb 10 2015, 3:01 PM · javascript, html, research, website, Whonix
Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.

Closeable.

Feb 10 2015, 2:19 PM · javascript, html, research, website, Whonix
Patrick added a comment to T93: copy to clipboard button for mediawiki code boxes.

Closeable or anything left to do here?

Feb 10 2015, 2:11 PM · javascript, html, research, website, Whonix
Patrick assigned T93: copy to clipboard button for mediawiki code boxes to Linostar.
Feb 10 2015, 1:35 PM · javascript, html, research, website, Whonix
Patrick added a comment to T93: copy to clipboard button for mediawiki code boxes.

Yes.

Feb 10 2015, 1:35 PM · javascript, html, research, website, Whonix
Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.
In T93#1816, @Patrick wrote:

What about moving [select code] inside the codebox? Is that even possible? Optically non-ideal, but in my opinion still better than the gap. Users who manually select select all, would they also select the text [select code] or could that be made exempt?

Feb 10 2015, 1:28 PM · javascript, html, research, website, Whonix
Patrick added a comment to T93: copy to clipboard button for mediawiki code boxes.

Okay, I see. So without having this feature natively supported by the skin or even mediawiki itself, there is no way?

Feb 10 2015, 12:38 PM · javascript, html, research, website, Whonix
Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.

Making only the lines before a CodeSelect shorter is not possible, because you can't know what element comes next or before in css. Making all lines shorter is possible perhaps, but will likely break the layout of other elements and the page.

Feb 10 2015, 11:43 AM · javascript, html, research, website, Whonix
Patrick added a comment to T93: copy to clipboard button for mediawiki code boxes.

Could it be done using https://www.whonix.org/wiki/MediaWiki:Common.css or the theme?

Feb 10 2015, 11:20 AM · javascript, html, research, website, Whonix
Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.

Nope. Controlling something outside the widget is not possible from inside the widget, especially when the lines outside are put in <p> element, which is an element that does not possess a width attribute.

Feb 10 2015, 10:01 AM · javascript, html, research, website, Whonix
Patrick added a comment to T93: copy to clipboard button for mediawiki code boxes.

To use less space between text and [select code], I was thinking to introduce some "invisible table" in the whole textarea. Normal text lines get the left 95% of space. And [select code] on the right gets the rest 5% (or how little) space.

Feb 10 2015, 9:09 AM · javascript, html, research, website, Whonix
Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.

You mean you want [select code] link inside the box instead of outside?

Feb 10 2015, 8:45 AM · javascript, html, research, website, Whonix
Patrick added a comment to T93: copy to clipboard button for mediawiki code boxes.

Looks better. Yes. Makes sense.

Feb 10 2015, 2:56 AM · javascript, html, research, website, Whonix

Feb 9 2015

Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.
In T93#1727, @Patrick wrote:

It looks better.
Do you think the extra spaces can be further reduced?
See:
https://www.whonix.org/wiki/Security_Guide#Updates
(Between "Should look similar to this." and the next code block there is too much space for my taste.)

Feb 9 2015, 7:13 PM · javascript, html, research, website, Whonix
Patrick added a comment to T93: copy to clipboard button for mediawiki code boxes.

It looks better.

Feb 9 2015, 3:43 PM · javascript, html, research, website, Whonix
Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.

I have decided to give it another chance, and got some results. I found that the problem wasn't in the <div> tags, but because of the <textarea>. It turns out that <textarea> has a default margin-bottom value of 10px. I changed that value to 0, which shortened the distance between the CodeSelect box and the line(s) after.

Feb 9 2015, 3:24 PM · javascript, html, research, website, Whonix

Feb 4 2015

Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.
In T93#1398, @Patrick wrote:

Please read this security advice about editing MediaWiki:Common.css:
https://www.whonix.org/wiki/Dev/CSS
Then... Perhaps you could make the required css changes on the https://www.whonix.org/wiki/MediaWiki:Common.css page? I'd speculate, that you have a lot more freedom there.
And if all cords break, I think using mediawiki skins (we are using this one: https://github.com/OSAS/strapping-mediawiki which is open source) one has an almost unlimited options for customization?

Feb 4 2015, 10:37 PM · javascript, html, research, website, Whonix
Patrick added a comment to T93: copy to clipboard button for mediawiki code boxes.

Please read this security advice about editing MediaWiki:Common.css:
https://www.whonix.org/wiki/Dev/CSS

Feb 4 2015, 12:16 AM · javascript, html, research, website, Whonix

Feb 3 2015

Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.

Within the CodeSelect area, it adds an extra empty line after "sudo apt-get update" at the bottom. Can this be fixed?

Fixed.

Feb 3 2015, 9:36 PM · javascript, html, research, website, Whonix
Patrick added a comment to T93: copy to clipboard button for mediawiki code boxes.

As a personal matter of taste, instead of writing the following style (a)

Feb 3 2015, 7:06 PM · javascript, html, research, website, Whonix
Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.

Unfortunately, it is necessary to keep it. Without it, any code that contains a '=' will face a problem.

Feb 3 2015, 6:51 PM · javascript, html, research, website, Whonix
Patrick added a comment to T93: copy to clipboard button for mediawiki code boxes.

Awesome, nice and simple fix!

Feb 3 2015, 5:47 PM · javascript, html, research, website, Whonix
Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.

I was too blind to see the most obvious solution! No need to use mediawiki extensions even.

Feb 3 2015, 12:25 PM · javascript, html, research, website, Whonix

Feb 1 2015

Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.

The problem is that mediawiki doesn't allow full access (or any access) to the window object in javascript. That's why I am unable to select the contents of an element unless it is an input text or a textarea, both containing an embedded selecting function and don't need to use the window object.

Feb 1 2015, 8:07 AM · javascript, html, research, website, Whonix
Patrick added a comment to T93: copy to clipboard button for mediawiki code boxes.

Without javascript, it's too much scrolling. Just two lines are visible. The rest needs to be scrolled.

Feb 1 2015, 5:57 AM · javascript, html, research, website, Whonix

Jan 30 2015

Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.

I've added the auto-resizing feature. You can test with js enabled/disabled to see how it would look on:
https://www.whonix.org/wiki/Translatetest5

Jan 30 2015, 12:43 PM · javascript, html, research, website, Whonix

Jan 29 2015

Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.
In T93#1312, @Patrick wrote:

Does not seem that widgets allow html/js code on their own when raw html is disabled, as in your:
https://www.whonix.org/wiki/Widget:Share

Not sure I understand. The raw html is not correctly rendered on that https://www.whonix.org/wiki/Widget:Share page. But the calling page https://www.whonix.org/wiki/Template:Share shows the correctly rendered html that is based on the widget page's html code.

Perhaps you should enable <html> tags only in template pages instead? (if that's possible)

Unfortunately, that's not possible. (Not saying it's impossible, but would require writing a mediwiki extension for that and html extensions getting right seems very hard - judged by all the attempts that were made in past.)

Jan 29 2015, 2:41 PM · javascript, html, research, website, Whonix
Patrick added a comment to T93: copy to clipboard button for mediawiki code boxes.

Does not seem that widgets allow html/js code on their own when raw html is disabled, as in your:
https://www.whonix.org/wiki/Widget:Share

Jan 29 2015, 1:38 PM · javascript, html, research, website, Whonix
Linostar added a comment to T93: copy to clipboard button for mediawiki code boxes.

Does not seem that widgets allow html/js code on their own when raw html is disabled, as in your:
https://www.whonix.org/wiki/Widget:Share

Jan 29 2015, 1:26 PM · javascript, html, research, website, Whonix
Patrick added a comment to T93: copy to clipboard button for mediawiki code boxes.

We needed to disable raw html (the <html> tag) for security reasons [otherwise evil javascript could steal admin cookies due to edits by non-admin users] and are now using the safer Extension:Widgets.

Jan 29 2015, 1:08 PM · javascript, html, research, website, Whonix

Jan 24 2015

Patrick added a comment to T93: copy to clipboard button for mediawiki code boxes.

Looks perfect.

Jan 24 2015, 6:58 PM · javascript, html, research, website, Whonix