Page MenuHomePhabricator

WikibaseLexeme

Authored By
zeljkofilipin
Jul 26 2022, 8:37 AM
Size
11 KB
Referenced Files
None
Subscribers
None

WikibaseLexeme

z@air:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
z@air:~$ docker --version
Docker version 20.10.14, build a224086
z@air:~$ docker-compose --version
docker-compose version 1.29.2, build 5becea4c
z@air:~$ node -v
v14.17.5
z@air:~$ npm -v
7.21.0
z@air:~/Documents/gerrit/mediawiki/core$ cat .env
MW_SCRIPT_PATH=/w
MW_SERVER=http://localhost:8080
MW_DOCKER_PORT=8080
MEDIAWIKI_USER=Admin
MEDIAWIKI_PASSWORD=dockerpass
XDEBUG_CONFIG=
XDEBUG_ENABLE=true
XHPROF_ENABLE=true
MW_DOCKER_UID=1000
MW_DOCKER_GID=1000
z@air:~/Documents/gerrit/mediawiki/core$ docker-compose up -d
Recreating core_mediawiki_1 ... done
Starting core_mediawiki-jobrunner_1 ... done
Starting core_mediawiki-web_1 ... done
z@air:~/Documents/gerrit/mediawiki/core$ docker-compose exec mediawiki composer update
> ComposerHookHandler::onPreUpdate
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
41 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> ComposerVendorHtaccessCreator::onEvent
z@air:~/Documents/gerrit/mediawiki/core$ docker-compose exec mediawiki /bin/bash /docker/install.sh
+ php maintenance/install.php --server http://localhost:8080 --scriptpath=/w --dbtype sqlite --dbpath /var/www/html/w/cache/sqlite --lang en --pass dockerpass MediaWiki Admin
PHP 7.2.34-18+0~20210223.60+debian10~1.gbpb21322+wmf2 is installed.
Found ImageMagick: /usr/bin/convert. Image thumbnailing will be enabled if you enable uploads.
Found the Git version control software: /usr/bin/git.
Using server name "http://localhost".
Using server URL "http://localhost:8080/w".
Warning: Your default directory for uploads (/var/www/html/w/images/) is not checked for vulnerability to arbitrary script execution during the CLI install.
Using the PHP intl extension for Unicode normalization.
The environment has been checked. You can install MediaWiki.
Setting up database
done
Creating tables, step one
done
Creating tables, step two
done
Populating default interwiki table
done
Initializing statistics
done
Generating secret keys
done
Prevent running unneeded updates
done
Restoring MediaWiki services
done
Creating administrator user account
done
Creating main page with default content
done
Database was successfully set up
MediaWiki has been successfully installed. You can now visit <http://localhost:8080/w> to view your wiki. If you have questions, check out our frequently asked questions list: <https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ> or use one of the support forums linked on that page.
z@air:~/Documents/gerrit/mediawiki/core$ npm ci
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated superagent@6.1.0: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>. Thanks to @shadowgate15, @spence-s, and @niftylettuce. Superagent is sponsored by Forward Email at <https://forwardemail.net>.
added 917 packages, and audited 919 packages in 10s
101 packages are looking for funding
run `npm fund` for details
4 vulnerabilities (2 moderate, 2 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues, run:
npm audit fix --force
Run `npm audit` for details.
z@air:~/Documents/gerrit/mediawiki/core$ export MW_SERVER=http://localhost:8080
export MW_SCRIPT_PATH=/w
export MEDIAWIKI_USER=Admin
export MEDIAWIKI_PASSWORD=dockerpass
z@air:~/Documents/gerrit/mediawiki/core$ npm run selenium-test
> selenium-test
> wdio ./tests/selenium/wdio.conf.js
Execution of 5 workers started at 2022-07-26T08:30:11.360Z
[0-2] RUNNING in chrome - /tests/selenium/specs/user.js
[0-3] RUNNING in chrome - /tests/selenium/specs/watchlist.js
[0-0] RUNNING in chrome - /tests/selenium/specs/page.js
[0-1] RUNNING in chrome - /tests/selenium/specs/recentchanges.js
[0-1] PASSED in chrome - /tests/selenium/specs/recentchanges.js
[0-0] PASSED in chrome - /tests/selenium/specs/page.js
[0-4] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-3] PASSED in chrome - /tests/selenium/specs/watchlist.js
[0-4] PASSED in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-2] ffmpeg stderr: [x11grab @ 0x560bf54829c0] Capture area 1280x1024 at position 0.0 outside the screen size 1366x768
[0-2] ffmpeg stderr: :0: Invalid argument
[0-2] PASSED in chrome - /tests/selenium/specs/user.js
"spec" Reporter:
------------------------------------------------------------------
[Chrome 103.0.5060.134 linux #0-1] Running: Chrome (v103.0.5060.134) on linux
[Chrome 103.0.5060.134 linux #0-1] Session ID: 11ae7cb3-96df-4db4-ba43-da5f239aeca2
[Chrome 103.0.5060.134 linux #0-1]
[Chrome 103.0.5060.134 linux #0-1] » /tests/selenium/specs/recentchanges.js
[Chrome 103.0.5060.134 linux #0-1] Special:RecentChanges
[Chrome 103.0.5060.134 linux #0-1] ? shows page creation
[Chrome 103.0.5060.134 linux #0-1] - shows page creation
[Chrome 103.0.5060.134 linux #0-1]
[Chrome 103.0.5060.134 linux #0-1] 1 skipped (2.1s)
------------------------------------------------------------------
[Chrome 103.0.5060.134 linux #0-0] Running: Chrome (v103.0.5060.134) on linux
[Chrome 103.0.5060.134 linux #0-0] Session ID: ec273fc5-ef42-4eed-99d1-c028c6815859
[Chrome 103.0.5060.134 linux #0-0]
[Chrome 103.0.5060.134 linux #0-0] » /tests/selenium/specs/page.js
[Chrome 103.0.5060.134 linux #0-0] Page
[Chrome 103.0.5060.134 linux #0-0] ? should be previewable
[Chrome 103.0.5060.134 linux #0-0] - should be previewable
[Chrome 103.0.5060.134 linux #0-0] ? should be creatable
[Chrome 103.0.5060.134 linux #0-0] - should be creatable
[Chrome 103.0.5060.134 linux #0-0] ? should be re-creatable
[Chrome 103.0.5060.134 linux #0-0] - should be re-creatable
[Chrome 103.0.5060.134 linux #0-0] ? should be editable @daily
[Chrome 103.0.5060.134 linux #0-0] - should be editable @daily
[Chrome 103.0.5060.134 linux #0-0] ? should have history @daily
[Chrome 103.0.5060.134 linux #0-0] - should have history @daily
[Chrome 103.0.5060.134 linux #0-0] ? should be deletable
[Chrome 103.0.5060.134 linux #0-0] - should be deletable
[Chrome 103.0.5060.134 linux #0-0] ? should be restorable
[Chrome 103.0.5060.134 linux #0-0] - should be restorable
[Chrome 103.0.5060.134 linux #0-0] ? should be protectable
[Chrome 103.0.5060.134 linux #0-0] - should be protectable
[Chrome 103.0.5060.134 linux #0-0] - should be undoable
[Chrome 103.0.5060.134 linux #0-0]
[Chrome 103.0.5060.134 linux #0-0] 9 skipped (2.2s)
------------------------------------------------------------------
[Chrome 103.0.5060.134 linux #0-3] Running: Chrome (v103.0.5060.134) on linux
[Chrome 103.0.5060.134 linux #0-3] Session ID: 8066fcc0-5eb6-48c9-a0c7-1868917031fd
[Chrome 103.0.5060.134 linux #0-3]
[Chrome 103.0.5060.134 linux #0-3] » /tests/selenium/specs/watchlist.js
[Chrome 103.0.5060.134 linux #0-3] Special:Watchlist
[Chrome 103.0.5060.134 linux #0-3] ? should show page with new edit
[Chrome 103.0.5060.134 linux #0-3] - should show page with new edit
[Chrome 103.0.5060.134 linux #0-3]
[Chrome 103.0.5060.134 linux #0-3] 1 skipped (5.3s)
------------------------------------------------------------------
[Chrome 103.0.5060.134 linux #0-4] Running: Chrome (v103.0.5060.134) on linux
[Chrome 103.0.5060.134 linux #0-4] Session ID: 39eeb0e5-d1c5-41e5-a92f-98947bc64b40
[Chrome 103.0.5060.134 linux #0-4]
[Chrome 103.0.5060.134 linux #0-4] » /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[Chrome 103.0.5060.134 linux #0-4] BlankPage
[Chrome 103.0.5060.134 linux #0-4] ✓ should have its title @daily
[Chrome 103.0.5060.134 linux #0-4]
[Chrome 103.0.5060.134 linux #0-4] 1 passing (787ms)
------------------------------------------------------------------
[Chrome 103.0.5060.134 linux #0-2] Running: Chrome (v103.0.5060.134) on linux
[Chrome 103.0.5060.134 linux #0-2] Session ID: 1e18d240-868e-44a5-80c0-95b1d6eebc2b
[Chrome 103.0.5060.134 linux #0-2]
[Chrome 103.0.5060.134 linux #0-2] » /tests/selenium/specs/user.js
[Chrome 103.0.5060.134 linux #0-2] User
[Chrome 103.0.5060.134 linux #0-2] ✓ should be able to create account
[Chrome 103.0.5060.134 linux #0-2] ✓ should be able to log in @daily
[Chrome 103.0.5060.134 linux #0-2]
[Chrome 103.0.5060.134 linux #0-2] 2 passing (10.3s)
Spec Files: 5 passed, 5 total (100% completed) in 00:00:29
z@air:~/Documents/gerrit/mediawiki/core$ cat composer.local.json
{
"extra": {
"merge-plugin": {
"include": [
"extensions/Wikibase/composer.json"
]
}
}
z@air:~/Documents/gerrit/mediawiki/core$ docker-compose exec mediawiki composer update
> ComposerHookHandler::onPreUpdate
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 12 installs, 0 updates, 0 removals
- Locking composer/installers (v1.12.0)
- Locking data-values/common (1.0.0)
- Locking data-values/data-values (3.0.0)
- Locking data-values/geo (4.2.3)
- Locking data-values/interfaces (1.0.0)
- Locking data-values/number (0.11.1)
- Locking data-values/serialization (1.2.4)
- Locking data-values/time (1.0.4)
- Locking diff/diff (3.2.0)
- Locking onoi/message-reporter (1.4.1)
- Locking psr/simple-cache (1.0.1)
- Locking serialization/serialization (4.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 12 installs, 0 updates, 0 removals
- Installing composer/installers (v1.12.0): Extracting archive
- Installing data-values/interfaces (1.0.0): Extracting archive
- Installing data-values/data-values (3.0.0): Extracting archive
- Installing data-values/geo (4.2.3): Extracting archive
- Installing data-values/common (1.0.0): Extracting archive
- Installing data-values/number (0.11.1): Extracting archive
- Installing serialization/serialization (4.0.0): Extracting archive
- Installing data-values/serialization (1.2.4): Extracting archive
- Installing data-values/time (1.0.4): Extracting archive
- Installing diff/diff (3.2.0): Extracting archive
- Installing onoi/message-reporter (1.4.1): Extracting archive
- Installing psr/simple-cache (1.0.1): Extracting archive
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
44 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> ComposerVendorHtaccessCreator::onEvent

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9600473
Default Alt Text
WikibaseLexeme (11 KB)

Event Timeline