New pages
From Freephile Wiki
14 February 2025
- 14:5014:50, 14 February 2025 Test doubles (hist | edit) [9,610 bytes] Admin (talk | contribs) (Created page with " A '''wp:Test double''' is any object that stands in for a real dependency in automated testing. Usually in PHPUnit, we make test doubles for other classes, but you can also double PHP native functions or closures. There are 5 types of Test doubles <ul> <li> Dummy - "A dummy argument" - used as a placeholder when an argument needs to be passed in. <li> Stub - Provides fake or 'canned' data to the System Under Test (<abbr title="System Under Test is the class tha...") Tag: Visual edit: Switched
13 February 2025
- 14:3714:37, 13 February 2025 Launch.json (hist | edit) [2,359 bytes] Admin (talk | contribs) (Created page with "Save or edit <code>.vscode/launch.json</code> in your workspace directory. Read more about [https://code.visualstudio.com/docs/editor/debugging Debugging with VSCode] in the official documentation; including all the info about launch.json. === General Launch.json for PHP === This sample provides 4 launch options: # Listening for Xdebug connections # Launching the currently open script # Launching a built-in web server # Debugging PHPUnit tests with a specific filter f...")
- 12:2412:24, 13 February 2025 PHPUnit/VSCode (hist | edit) [294 bytes] Admin (talk | contribs) (Created page with "This project looks very interesting. I need to check it out. https://github.com/elonmallin/vscode-phpunit Category:Wiki Category:MediaWiki Category:Development Category:QA Category:Testing Category:Static Analysis Category:Tools Category:Continuous Integration")
10 February 2025
- 17:2317:23, 10 February 2025 Debug Semantic MediaWiki in Docker using VSCode and XDebug (hist | edit) [1,954 bytes] Admin (talk | contribs) (itial draft) Tag: Visual edit originally created as "Debugging Semantic MediaWiki in a Docker container using VSCode with PHPDebug"
- 14:3514:35, 10 February 2025 PHPUnit/using PHPUnit (hist | edit) [6,556 bytes] Admin (talk | contribs) (Created page with "== in a Docker Container == After you clone the code for SemanticMediaWiki and initialize the build submodule, you should be able to use '''make''' for various activities. <code>make bash</code> puts you into a bash shell as root in the wiki container Change to the SMW directory if instead you are at the document root of <tt>/var/www/html</tt><br> <code> cd extensions/SemanticMediaWiki</code><br> <pre> root@2421517631d1:/var/www/html/extensions/SemanticMediaWiki# </pre...")
4 February 2025
- 11:5711:57, 4 February 2025 Terraform (hist | edit) [1,737 bytes] Admin (talk | contribs) (Created page with "Terraform <blockquote>Terraform is an infrastructure-as-code software tool created by HashiCorp. Users define and provide data center infrastructure using a declarative configuration language known as HashiCorp Configuration Language (HCL), or optionally JSON.</blockquote> Although Terraform is the dominant leader in the space (citation needed), there has been some general community forming behind the [https://opentofu.org/ OpenTofu] project...")
31 January 2025
- 18:1618:16, 31 January 2025 MediaWiki/contributing (hist | edit) [5,279 bytes] Admin (talk | contribs) (Created page with "<syntaxhighlight lang="bash"> # make sure you have git-review (https://docs.opendev.org/opendev/git-review/latest/) installed sudo apt-get install git-review # clone MediaWiki into your working directory cd ~/src git clone https://gerrit.wikimedia.org/r/mediawiki/core.git mediawiki cd mediawiki/ # After cloning a repository, you need to set it up for using git-review git review -s # Use the commit message template that is found in the MediaWiki sources git config comm...")
- 07:4707:47, 31 January 2025 Marketing/eQuality-Technology (hist | edit) [1,245 bytes] Admin (talk | contribs) (extracted from the Marketing page) Tag: Visual edit
30 January 2025
- 15:4015:40, 30 January 2025 JavaScript/hacks (hist | edit) [2,608 bytes] Admin (talk | contribs) (Created page with "A collection of little JavaScript hacks. == Pull headings out of a page == <syntaxhighlight lang="javascript">Array.from(document.getElementsByTagName("h1")).forEach(function (item) { console.log(item.textContent); });</syntaxhighlight>Using the browser's developer console, you can pop this one-liner in to see the list of '''headings''' in your web page. * <code>document.getElementsByTagName("h1")</code> returns an [https://developer.mozilla.org/en-US/docs/Web/API/HTML...") Tag: Visual edit
23 January 2025
- 20:5720:57, 23 January 2025 RELEASE NOTES (hist | edit) [7,199 bytes] Admin (talk | contribs) (Created page with "You've studied the Git/hacks and built a ton of features, fixes, and updates to your codebase in a sprint worthy of Hussein Bolt. Now it's time to create some release notes - which in the tradition of open source is stored in the RELEASE_NOTES file of your project. Since your team follows the best practices of writing good commit comments and also creating appropriate branches and pull requests, then it's a simple matter of letting ```git``` tell you what's in the r...") Tag: Visual edit