Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Encyclopedia:Browser notes
(section)
Project page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== [[Console application|Console]] and [[text-based web browser]]s == '''''Warning:''''' Many console browsers will convert text in edit boxes to the encoding in use by your terminal (or what the browser thinks is your terminal's encoding which may not be the same thing) either at page load time (links and lynx) or when editing a field (w3m). If your terminal encoding is UTF-8 this is not a problem but if your terminal is using a legacy encoding (or is using UTF-8 but your browser thinks it's using a legacy encoding) then this is likely to destroy characters that are not present in the encoding your terminal is using when you save the page after editing. ===[[ELinks]]=== *Text only, but renders tables and frames. *Supports HTTP authentication. *Users can use their text editor of choice to edit textarea fields. *Problems with editing UTF-8; set "User-agent identification" (in setup->option manager->protocols->http) to something like "Lynx/elinks/%v (textmode; %s; %t-%b)" to get non-ascii characters as hex codes. * View is enhanced (especially of diffs) by using the following user.css and lua hook file (place in ${HOME}/.elinks and enable via option manager) ;user.css:<syntaxhighlight lang="css"> /* 1. place in ~/.elinks 2. set user css to be "user.css" (no path, relative to ~/.elinks) 3. use document colors: use 1 or 2 */ .diffchange { color: red; font-weight: bold; } .diff-deletedline { color: green; } .diff-addedline { color: cyan; } a.new { color: cyan; font-weight: bold; } </syntaxhighlight> ;hooks.lua:<syntaxhighlight lang="lua"> --[[ lua preformatting function 1. lua has to be installed before compiling elinks; if this is the case, it is used by default 2. place this file in ~/.elinks this file does: show <del> and <ins> element, make <s> more evident preformatting for wikipedia pages: since elinks ignores the class attribute of <td> tags, we move it into the inner <div> element ]] testing=false function pre_format_html_hook (url, html) -- formatting for <s> <del> <ins> html = string.gsub(html, '<[sS]>', '<s>[S:') html = string.gsub(html, '</[sS]>', ':S]</s>') html = string.gsub(html, '<[dD][eE][lL]>', '<s>[DEL:') html = string.gsub(html, '</[dD][eE][lL]>', ':DEL]</s>') html = string.gsub(html, '<[iI][nN][sS]>', '<s>[INS:') html = string.gsub(html, '</[iI][nN][sS]>', ':INS]</s>') -- diff-addedline and diff-deletedline classes if string.find(url, "diff=", 1, 1) or testing then html = string.gsub(html, '<td class="diff[-]addedline"><div>', '<td><div class="diff-addedline">') html = string.gsub(html, '<td class="diff[-]deletedline"><div>', '<td><div class="diff-deletedline">') end return html end </syntaxhighlight> ===[[Links (web browser)|Links]]=== *In old versions the login may be broken. ''(Try to check referrer sending and cookie handling. If everything fails try to use ELinks, and check the same settings.)'' ===[[Lynx (web browser)|Lynx]]=== * Users can use their text editor of choice to edit textarea fields (this feature needs to be enabled at compile time) * Forces wrapping of very long lines in a textarea, which is a problem in editing some articles. * Display options for non-ASCII characters affect editing. * Most tables are rendered as simple text. * Viewing of diffs and redlinks can be improved by adding the following to the <code>lynx.lss</code> configuration file: *::span.diffchange:bold:brightred *::td.diff-deletedline:bold:green *::td.diff-addedline:bold:cyan *::a.new:bold:cyan
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Encyclopedia:Browser notes
(section)
Add topic