Difference between revisions of "User:Larivact"

From ArchWiki
Jump to: navigation, search
(Talks: update)
m (Talks: update)
Line 39: Line 39:
* 2018-06-12 [[Help talk:Style#Use code/pre instead of ic/bc with nowiki]]
* 2018-06-12 [[Help talk:Style#Use code/pre instead of ic/bc with nowiki]]
* 2018-06-28 [[Talk:OpenSSL#Plan]]
* 2018-06-28 [[Talk:OpenSSL#Plan]]
* 2018-07-14 [[ArchWiki talk:Contributing#Declaring scope]]
Past talks:
Past talks:
Line 51: Line 52:
* 2018-04-10 [[Help talk:Template#Creation of Template:Cat main]] (closed)
* 2018-04-10 [[Help talk:Template#Creation of Template:Cat main]] (closed)
* 2018-05-23 [[Talk:Nss#Disambiguation pages]] (closed)
* 2018-05-23 [[Talk:Nss#Disambiguation pages]] (closed)
* 2018-06-14 [[Talk:List of applications#Section changes on /Documents]]
* 2018-06-14 [[Talk:List of applications#Section changes on /Documents]] (closed)
== Software articles ==
== Software articles ==

Revision as of 06:36, 14 July 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')