GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Get MediaWiki
  • Get extensions
  • Tech blog
  • Contribute
  • User help
  • FAQ
  • Technical manual
  • Support desk
  • Communication
  • Developer portal
  • Code statistics
  • Community portal
  • Recent changes

This view

  • Original page
  • New address

GeezerVison is showing www.mediawiki.org — Extension:Math/AllFormulae - MediaWiki

< Extension:Math

All formulae used in WMF projects are available from

# Downloads the file containing all formulae across all Wikipedia projects tests to the test folder
FILEPATH=/tmp/wmf-texvc-inputs.json
URL=https://zenodo.org/records/15162182/files/wmf_texvc_inputs.json
curl $URL -o $FILEPATH

import them to the database (with MathSearch extension installed)

# By default, MySQL only allows 16MB; however, the file is 300MB
SET GLOBAL max_allowed_packet=1073741824;
#Disconnect and check that the new value is active
SHOW VARIABLES LIKE "max_allowed_packet";
SET @json = LOAD_FILE('/tmp/wmf-texvc-inputs.json');
SET @jobj = JSON_OBJECT_TO_ARRAY(@json );

INSERT IGNORE INTO my_wiki.mathlog (math_inputhash, math_input, math_mode)
select k,v,8 from json_table(@jobj, '$[*]'
                             columns (
                                 k varbinary(32) path '$[0]',
                                 v blob path '$[1]'
                                 )
                  ) as jt;
Retrieved from "https://www.mediawiki.org/w/index.php?title=Extension:Math/AllFormulae&oldid=7682968"
You are visitor 01402605 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.