Commit graph

1346 commits

Author SHA1 Message Date
translatewiki.net 184a5e4f8f
Localisation updates from https://translatewiki.net. 2024-11-28 13:10:43 +01:00
dependabot[bot] ccc6a3b591
Update mediawiki/mediawiki-phan-config requirement from 0.12.1 to 0.14.0 (#118)
* Update mediawiki/mediawiki-phan-config requirement from 0.12.1 to 0.14.0

Updates the requirements on [mediawiki/mediawiki-phan-config](https://github.com/wikimedia/mediawiki-tools-phan) to permit the latest version.
- [Changelog](https://github.com/wikimedia/mediawiki-tools-phan/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-phan/compare/0.12.1...0.14.0)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-phan-config
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Ignore for now

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: CosmicAlpha <cosmic.alpha24@gmail.com>
2024-11-25 15:22:38 -07:00
dependabot[bot] d7783a1760
Update mediawiki/mediawiki-codesniffer requirement from 41.0.0 to 45.0.0 (#134)
* Update mediawiki/mediawiki-codesniffer requirement from 41.0.0 to 45.0.0

Updates the requirements on [mediawiki/mediawiki-codesniffer](https://github.com/wikimedia/mediawiki-tools-codesniffer) to permit the latest version.
- [Changelog](https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-codesniffer/compare/v41.0.0...v45.0.0)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-codesniffer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add

* CI: lint code to MediaWiki standards

Check commit and GitHub actions for more details

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: CosmicAlpha <cosmic.alpha24@gmail.com>
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-11-25 15:11:00 -07:00
CosmicAlpha 7b5746da0b
Ensure PageImages is installed (#139) 2024-11-25 15:04:09 -07:00
CosmicAlpha 55e227971d
Add searchaux to tests 2024-11-25 14:39:55 -07:00
Claire 88f99bafc8
Add searchaux class to infobox output (#126)
In CirrusSearch, content can be wrapped in class="searchaux" to deprioritize it
from search results.[1] There isn't much use I can think of for infoboxes to be
directly displayed in search results.

Additionally, commit f558c16 adds the noexcerpt class to the infobox, hiding
the infobox from Extension:TextExtracts,[2] an extension that extracts texts
from pages.

[1]: https://www.mediawiki.org/wiki/Help:CirrusSearch#Exclude_content_from_the_search_index
[2]: https://www.mediawiki.org/wiki/Extension:TextExtracts#Configuration_settings

Co-authored-by: BlankEclair <blankeclair@waifu.club>
2024-11-25 14:33:19 -07:00
CosmicAlpha ae3099d674
PortableInfoboxBuilder: add support for format (#125) 2024-11-25 14:31:49 -07:00
CosmicAlpha 48c4ccdde1
Fix PageImages compatibility with MediaWiki 1.43+ (#136) 2024-11-21 11:01:11 -07:00
translatewiki.net b0568a947a
Localisation updates from https://translatewiki.net. 2024-11-05 15:27:27 +01:00
translatewiki.net 4c60deaf0e
Localisation updates from https://translatewiki.net. 2024-09-19 14:11:01 +02:00
CosmicAlpha 5736d9bfe1
Prevent DivisionByZeroError in getThumbnailSizes (#130) 2024-09-13 06:26:06 +08:00
translatewiki.net 0e551d714d
Localisation updates from https://translatewiki.net. 2024-08-19 14:12:20 +02:00
translatewiki.net c592fe319e
Localisation updates from https://translatewiki.net. 2024-08-01 14:11:08 +02:00
translatewiki.net 9845c26939
Localisation updates from https://translatewiki.net. 2024-07-25 14:12:13 +02:00
translatewiki.net ec556b70c1
Localisation updates from https://translatewiki.net. 2024-07-22 14:12:59 +02:00
translatewiki.net b54237fdcc
Localisation updates from https://translatewiki.net. 2024-06-27 14:12:42 +02:00
translatewiki.net 82a0ab7b7a Localisation updates from https://translatewiki.net. 2024-06-03 14:13:26 +02:00
translatewiki.net 5fbc422263 Localisation updates from https://translatewiki.net. 2024-05-27 14:12:48 +02:00
translatewiki.net 18e1ae4b17 Localisation updates from https://translatewiki.net. 2024-05-20 14:11:07 +02:00
translatewiki.net 03ea9fcaff Localisation updates from https://translatewiki.net. 2024-05-16 14:13:39 +02:00
CosmicAlpha 4fcb828705
Add more support to PortableInfoboxBuilder (#124)
Adds support for `<header>` and `<navigation>` tags
2024-05-11 17:49:11 -06:00
CosmicAlpha 361b680143
Use wgExtensionAssetsPath instead of wgScriptPath 2024-05-11 16:01:05 -06:00
CosmicAlpha 3dd07ac9b9
Bump version 2024-05-07 23:45:24 -06:00
MJ 1c52d83867
Add wgPortableInfoboxUseFileDescriptionPage (#122)
Fixes #111

Co-authored-by: BlankEclair <blankeclair@waifu.club>
2024-05-07 11:26:46 -06:00
dependabot[bot] 2d964bca4f
Update mediawiki/minus-x requirement from 1.1.1 to 1.1.3 (#123)
Updates the requirements on [mediawiki/minus-x](https://github.com/wikimedia/mediawiki-tools-minus-x) to permit the latest version.
- [Changelog](https://github.com/wikimedia/mediawiki-tools-minus-x/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-minus-x/compare/1.1.1...1.1.3)

---
updated-dependencies:
- dependency-name: mediawiki/minus-x
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 15:34:27 -06:00
dependabot[bot] 9103460773
Update php-parallel-lint/php-parallel-lint requirement (#119)
Updates the requirements on [php-parallel-lint/php-parallel-lint](https://github.com/php-parallel-lint/PHP-Parallel-Lint) to permit the latest version.
- [Release notes](https://github.com/php-parallel-lint/PHP-Parallel-Lint/releases)
- [Changelog](https://github.com/php-parallel-lint/PHP-Parallel-Lint/blob/v1.4.0/CHANGELOG.md)
- [Commits](https://github.com/php-parallel-lint/PHP-Parallel-Lint/compare/v1.3.2...v1.4.0)

---
updated-dependencies:
- dependency-name: php-parallel-lint/php-parallel-lint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-13 11:10:21 -06:00
CosmicAlpha 1a3a742bca
Fix PageImages compatibility with MediaWiki 1.42+ (#120) 2024-04-13 10:59:53 -06:00
CosmicAlpha 3aaa4fbea6
Remove the need to set $wgTidyConfig — always force no pwrap (#116)
Also fixes fatals on MediaWiki 1.42
2024-04-01 12:52:06 -06:00
translatewiki.net b04d0588b2 Localisation updates from https://translatewiki.net. 2024-01-04 13:12:54 +01:00
translatewiki.net 403e147a23 Localisation updates from https://translatewiki.net. 2023-12-07 13:22:10 +01:00
translatewiki.net 104f990921 Localisation updates from https://translatewiki.net. 2023-08-14 13:15:49 +02:00
alex4401 eb55d89e77
Output any image candidate markers generated by PageImages (#105)
* Output any image candidate markers generated by PageImages

wikimedia/mediawiki-extensions-PageImages#768464d changed how lead images are identified within PageImages, and since then an HTML comment in the form of `MW-PAGEIMAGES-CANDIDATE-$ID` is output by`doParserModifyImageHTML`, where the ID is an index in the extension output data's list of image metadata. These comments should find a way into the ParserOutput as the extension looks for those comments in a chosen document fragment when identifying qualifying candidates out of all images gathered through `onParserModifyImageHTML`.

This change does not affect compatibility with older PageImages (only the "new" hook's being called already).

* Default htmlAfter to null and update tests to expect it

Follow-up to my previous PageImages commit.
2023-07-24 11:13:33 -06:00
CosmicAlpha a105effa60
Fix PageImages compatibility with MediaWiki 1.41+ (#103) 2023-07-01 19:01:21 -06:00
CosmicAlpha 98d4e900af
Fix PageImages compatibility with MediaWiki 1.40 (#102) 2023-07-01 11:44:34 -06:00
CosmicAlpha 2d13828e2c
Use WikiForge/ci-scripts 2023-07-01 11:32:55 -06:00
Keyacom b2cb67ad21
Replace deprecated function (#100)
This is to mitigate a bug that has happened in MW 1.39.1. Clicking the "Clear infobox" button caused a TypeError exception: "mw.user.getName is not a function".
2023-06-04 19:11:05 -06:00
translatewiki.net f5a69ef8db Localisation updates from https://translatewiki.net. 2023-05-29 13:10:13 +02:00
dependabot[bot] f556a0bb25
Update mediawiki/mediawiki-phan-config requirement from 0.12.0 to 0.12.1 (#98)
Updates the requirements on [mediawiki/mediawiki-phan-config](https://github.com/wikimedia/mediawiki-tools-phan) to permit the latest version.
- [Release notes](https://github.com/wikimedia/mediawiki-tools-phan/releases)
- [Changelog](https://github.com/wikimedia/mediawiki-tools-phan/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-phan/compare/0.12.0...0.12.1)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-phan-config
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 16:06:49 -06:00
translatewiki.net 6674c34525 Localisation updates from https://translatewiki.net. 2023-04-13 13:13:47 +02:00
translatewiki.net 05d9e8ff5e Localisation updates from https://translatewiki.net. 2023-04-06 13:13:12 +02:00
Universal-Omega 9b580f3727 Update workflow
from Universal-Omega/.github (355670a69c)
2023-03-14 03:06:46 +00:00
Universal-Omega 0312017877 Update workflow
from Universal-Omega/.github (6385bc48e3)
2023-03-10 03:20:29 +00:00
dependabot[bot] d5f88a1693
Update mediawiki/mediawiki-codesniffer requirement from 40.0.1 to 41.0.0 (#95)
Updates the requirements on [mediawiki/mediawiki-codesniffer](https://github.com/wikimedia/mediawiki-tools-codesniffer) to permit the latest version.
- [Release notes](https://github.com/wikimedia/mediawiki-tools-codesniffer/releases)
- [Changelog](https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-codesniffer/compare/v40.0.1...v41.0.0)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-codesniffer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 14:45:22 -07:00
translatewiki.net e46996452a Localisation updates from https://translatewiki.net. 2023-02-13 13:09:34 +01:00
Universal-Omega c91f700e6a Update workflow
from Universal-Omega/.github (5cf9da955d)
2023-02-13 03:15:52 +00:00
CosmicAlpha e5ca418763
Add support for PHP 8.0 and PHP 8.1 (#93) 2023-01-13 14:08:52 -07:00
CosmicAlpha aead92451c
Update README.md 2023-01-12 09:40:11 -07:00
translatewiki.net 8076f8067a Localisation updates from https://translatewiki.net. 2023-01-12 13:11:51 +01:00
Universal-Omega b935cbd491 Update workflow
from Universal-Omega/.github (02349ac3ee)
2023-01-10 01:14:02 +00:00
Universal-Omega d48bfaee4f Update workflow
from Universal-Omega/.github (3457d60f14)
2022-12-28 01:17:50 +00:00