Page MenuHomePhabricator

Wish: configurable display of lines with formulas: centered/left-aligned
Closed, DeclinedPublic

Description

Author: pogonyshev

Description:
It would be nice if Wikipedia could render formulas either aligned to the left
with certain indentation, or centered, as in most mathematical books, based on
user preferences. It could be achieved in at least two ways:

  • Simply match paragraphs of the form ``:* <math>.*</math>'' and

``<center><math>.*</math></center>'', disregard specified alignment and format
according to user preferences.

  • Provide an additional tag that would declare a formula standing on its own.

This has the advantage of added possibility of specifying formula index, but
would require editing a huge number of pages for the change to take effect.


Version: unspecified
Severity: enhancement
OS: Linux
Platform: PC

Details

Reference
bz1345
TitleReferenceAuthorSource BranchDest Branch
[builds-api]: add protocol to harborRepository urlrepos/cloud/toolforge/toolforge-deploy!72raymond-ndibeadd_protocol_to_harbor_repository_urlmain
add ci for wikiworkshop image buildrepos/sre/miscweb/wikiworkshop!1jeltoadd-cimaster
add ci for research-landing-page image buildrepos/sre/miscweb/research-landing-page!1jeltoadd-cimaster
add research miscweb sites to Trusted Runnersrepos/releng/gitlab-trusted-runner!40jeltoadd-research-pagesmain
builds-api: add harbor user and passwordrepos/cloud/toolforge/toolforge-deploy!69dcarobuilds_api_add_secretsmain
toolforge-builds-cli: minor bug fixes and refactorrepos/cloud/toolforge/builds-cli!1raymond-ndibebug_fixmain
toolforge-cli: remove build subcommand from clirepos/cloud/toolforge/toolforge-cli!7raymond-ndiberemove_build_subcommand_from_the_climain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 8:10 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz1345.
bzimport added a subscriber: Unknown Object (MLST).

happy.melon.wiki wrote:

You can achieve this fairly trivially with CSS:

dl > dd > img.tex {

display:block; 
margin:0 auto;
padding-right:1em;

}

where the padding is to compensate for the indentation of the dl and ensure the formula is properly centered.

Gonna WONTFIX this as it's been inactive for over five years, given the solution above. It's clearly not popular enough to need implementing internally.