SBailey (WMF)
This is the userpage of a user who was a member of the Wikimedia Foundation staff or served as a contractor to the Foundation. In order to maintain a historical record, it has not been deleted. However, any contact information given may be incorrect, as this user is no longer employed at the Foundation. To contact current Foundation staff, please see Wikimedia Foundation or the organizational chart. If you need assistance identifying the proper staff to contact about an issue, please contact answerswikimedia.org. |
Shannon Bailey joined Wikimedia Foundation to work on Parsoid and related technology.
Shannon wrote two programming languages over her career: Nemesys was a C interpreter and x86 assembler that was used to write an interactively debuggable co-simulation and co-execution tests for the Transmeta Crusoe X86 CPU during development, and the functional array language compiler for Native Cloud Systems and IOT Inventor based on the concepts of APL / R and J languages inspired to Ken Iverson. I've worked on Lotus 123 version 2 and 3 cell engines, and Borland Quattro Pro spreadsheet in assembler and C on its formula recalculation engine and on many other products over three decades. At Wikimedia Foundation, I've learned Javascript and PHP while working on Parsoid.
Test Wikitext Playground area (ignore, I just use this area for Parsoid test and verification)
editLarge table lint error generation
Header 1 | Header 2 | Header 3 | ||||
---|---|---|---|---|---|---|
Cell 1 | Cell 2 | Cell 3 | Cell 4 | Cell 5 | Cell 6 | Cell 7.1 |
Reference 0. [upper-alpha 1]
Reference 1.Template:Efn-ua More text following reference 1. Another reference 2. Template:Efn-ua Additional text following footnote 2.
Reference 3. [lower-greek 1]
- ↑ Reference 0
- ↑ Reference 3 Greek.
Previous Test Cases
edit
test linefeed[1]
- ↑ testLinefeedRef
test[1]
blah[1]
test2[2]
blah2[2]
Test Wikitext areas MINUS ONE :-)
editPRE [1]
THEVALUE Cite error: Invalid <ref>
tag; name cannot be a simple integer. Use a descriptive title
POST [2]
GROUP [noreference 1]
Test Wikitext area ZERO
editAdditional Wikitext test area ONE
editCite error: Invalid dir="nonsense"
, must be ltr
or rtl
Cite error: Invalid dir=""
, must be ltr
or rtl
Additional Wikitext test area TWO
editAA [a 1] BA [b 1] CA [c 1] BB [b 2] FBA FAA FBB FCA
- ↑ group_c_name_a group_c_follow_a
- ↑ group_a_name_a group_a_follow_a
Additional Wikitext test area THREE
editolder tests
editCONGREGATI
EX TOTO ORBE
MATHEMATICI
Wikitext Playground area for tables and list items
edit- List item #1
- List item #2
Subheading #1
editA | B | |
---|---|---|
1 | A1 | |
2 | B2 |
THIS IS JUST BOLD TEXT
- indented one level
- indented two levels
COMPUTER CODE ≠≤≥~←→
- Bullet #1
- Bullet #2
- Sub Bullet #2a
text1 text2 text1 text2 text2
PHP section=1
editPHP section=2
editPHP section=3
editPHP section=4
editEND OF WIKITEXT PLAYGROUND
editNotes on updating OS/X machine and fixing various problems in Nginx, PHP and Xdebug working on PhpStorm
editThe following narrative and hopefully helpful hints about using a MacBook pro with PHPStorm to develop mediawiki core, parsoid and extensions is in progress, capturing notes of the two phases (sperated by two years), of initial installation efforts and challenges, and my recent wrestling match when upgrading PHP, Xdebug, nginx and core/VE.
WORK IN PROGRESS...
Issues installing and maintaining mediawiki, VE and parsoid locally as a developer on OS/X
editAs a developer working primarily on Parsoid, but needing to have a full core mediawiki installation with VE and other extensions, I've had some challenges getting a stable and complete installation of the mostly complete mediawiki stack going a couple of years ago. The initial installation had its frustrating moments, and each time I upgrade OS/X, something will be broken as a result of the upgrade, and I'll have to track down and figure out what changed.
My machine is a 2014 Macbook Pro currently running Catalina (as of March 2021). Back two years ago, Arlo helped me expand my installation from just having Javascript Parsoid and related test environment installed, to having a full core and VE installation running on my local machine. I like IDE's, much nicer than what I had to use back in the DOS and early Windows 3.0 days, and so I had WebStorm installed and working well for javascript development on Parsoid. Once we installed mediawiki core, and began the port of Parsoid from Javascript to PHP, I switched over the PHPStorm (which has good Javascript support as well).
The first challenge I faced was getting an appropriate version of PHP installed, and a matching version of XDebug to work properly with PHPStorm. You would think that JetBrains would have getting a debugging working under PHPStorm dialed in, but alas, getting XDebug installed and configured properly to work with PHPStorm can require a fair bit of research and hacking as the JetBrains help and web site, is umm, not that helpful.
The second challenge was getting the nginx web server installed and configured properly to work with my PHP installation, and not the one OS/X ships with. With installation of VE and Vector skin, and localSettings.php with the right directives, and nginx.conf with the right configuration, and PHP's php.ini setup correctly, and PHPStorm configured with the right setting for Xdebug and, well the first time around that was mostly all that needed to be done on High Sierra (I currently run Catalina, and am not ready to upgrade to Big Sur).
Recently though it wasn't upgrading OS/X that bit me, it was mediawiki cores need for me to switch to PHP 7.4.15 after I refreshed my repo from master after many months of leaving well enough alone. So without thinking too much hassle would ensue, I did a Brew update, which upgraded nginx and a bunch of other packages. Upgrading PHP of course broken Xdebug as the one I now had installed no longer worked with 7.4.15 not being built with that versions header files, etc. So I began researching how to get a matching Xdebug version installed. The web site for Xdebug has prebuilt executables for Windows, but not for Mac. Instructions on how to get a matching Xdebug were varied, but eventually I got pecl to run (required recent version of XCode with command line tools installed which I happen to keep installed), but then the compile failed and a bit of research turned up the fix in: https://stackoverflow.com/questions/64321231/pecl-extension-compile-error-for-php-7-4-on-macos
In file zend_operators.h you have to change a 1 to 0
#if defined(HAVE_ASM_GOTO) && !__has_feature(memory_sanitizer)
# define ZEND_USE_ASM_ARITHMETIC 0 // STB - 03-02-2021 changed 1 to 0 as a fix for xdebug compile
#else
# define ZEND_USE_ASM_ARITHMETIC 0
#endif
which then allowed pecl to succeed.
$ pecl install xdebug
foo misnested tag bad bar baz
foo misnested another tag bad bar baz
{{{echo}}} hi there 23 {{{echo}}} an_image
Template:Echo2
{{{echo}}}
foo misnested tag bad b bar baz
foo another misnested tag bad bad bad b bar baz
foo another misnested tag bad bad bad b bar baz foo another misnested tag bad bad bad b bar baz foo another misnested tag bad bad bad b bar baz foo another misnested tag bad bad bad b bar baz foo another misnested tag bad bad bad b bar baz foo another misnested tag bad bad bad b bar baz
foo another misnested tag bad bad bad b bar baz
Just a minor change
Cite error: <ref>
tags exist for a group named "noreference", but no corresponding <references group="noreference"/>
tag was found