Difference between revisions of "User:Larivact"

From ArchWiki
Jump to: navigation, search
m (Talks: update)
m (Talks: update)
Line 39: Line 39:
* 2018-07-31 [[ArchWiki talk:About#Refining scope]]
* 2018-07-31 [[ArchWiki talk:About#Refining scope]]
* 2018-07-31 [[Talk:Fonts#Move CJK and Indic fonts to Localization subpages]]
* 2018-07-31 [[Talk:Fonts#Move CJK and Indic fonts to Localization subpages]]
* 2018-08-11 [[Talk:OpenVPN#DNS leaks]]
Past talks:
Past talks:

Revision as of 12:28, 11 August 2018

Quick links



Active discussions

Awaiting replies:

Past talks:

Software articles

The following information doesn't justify a software article as it is easily retrievable elsewhere:

  • package names, descriptions, website links (pacman -Ss, pacman -Si)
  • executable, service, manual names, config file locations (pacman -Ql)
  • duplication of the official documentation (manuals, info documents, --help output, official web documentation)

Wiki issues

  • mwparserfromhell doesn't support space-initialized code blocks.[1] There is no other Python MediaWiki parser with a navigable parse tree that does.
  • You can't easily filter out non-English articles hosted on archlinux.org.
  • Archived pages clutter the search autocompletion, archived pages return a 200 status code, links to archived pages are blue.
  • The categories of an article are displayed at the bottom of the article, they would be more accessible in the sidebar.
  • MediaWiki doesn't allow for changes in a separate branch that can easily be merged (a la GitHub pull requests), see User talk:Svito#Rambling on editing workflow and permissions.

Style issues

Personal disagreements with Help:Style.

  • Permanent linking of common concepts (install, environment variable) is annoying. It is reasonable to assume that ArchWiki users know how to install packages and are familiar with environment variables.
  • Contractions should be allowed. "don't", "isn't"
  • Templates should be used with lowercase template names.

MediaWiki setup for CLI parsing

Download MediaWiki and install PHP#Sqlite.

php maintenance/install.php --dbpath install --dbtype sqlite --pass <pass> MediaWiki <admin>
php maintenance/parse.php


JavaScript function to sum changes from a MediaWiki contributions page:

function pmsum(suff){nodes=$('.mw-plusminus-'+suff); x=0; for(i=0;i<nodes.length;i++){ s=nodes[i].innerHTML; x+=parseInt(s.substr(1,s.length)) } return x}
net = pmsum('pos') + pmsum('neg')