Jump to content

User:X-Savitar/Sub-pages

From mediawiki.org

A list of my user page sub-page(s)

[edit]

Tools I help maintain on Toolforge / Cloud VPS

[edit]

Extensions I've built and/or maintain

[edit]

Basic scripts to help MW developers

[edit]
  • Basic bash script (repo-update-script.sh) - to recursively update bunch of local extension repos and also update it's composer dependencies. This is mostly useful if you have a lot of MW extensions and you don't wanna go though them manually updating them one at a time. :)

Why is [0-9] better over \d in MediaWiki?

[edit]

Things I watch on my Wikitech account, awmd-stats SAL log

[edit]

Manually rebasing & fixing merge conflicts on Mac

[edit]

RELEASE-NOTES thingy

[edit]

Experiment Sandbox

[edit]

Add cloned repos to be tracked in PHPStorm

[edit]

Sometimes, when you clone a repo, and open up your project in PHPStorm, it's ignored by default (for example MediaWiki extensions). To allow PHPStorm to track them using Git and tracked changes to file (on the editor), do the following

  • Go to PHPStorm's preferences
  • Then navigate to Version Control on the left menu
  • Then click on Directory Mappings
  • You'll see the directories ignored
  • Next you click on an ignored directory and add it by clicking the "+" icon atop of the preference dialog
  • Do so with all the ignored directories then save. Enjoy!

Compile php-src source on macOS

[edit]

-> Clone the repository from Github

-> Build configurations with: ./buildconf

-> Configure the build: ./configure --enable-debug --with-iconv=$(brew --prefix libiconv)

-> Build PHP using N cores: make -jN, where N is the number of cores gotten via nproc

-> Run tests for PHP source: make TEST_PHP_ARGS=-jN test, again with N to specify the number of codes.