-
-
Notifications
You must be signed in to change notification settings - Fork 3
Use namespaced imports for Html class #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,8 +11,8 @@ Currently Font Awesome Free version 6.7.2 is included. | |
|
|
||
| ## Requirements | ||
|
|
||
| - PHP 7.4.3 or later | ||
| - MediaWiki 1.39 or later | ||
| - PHP 8.1.0 or later | ||
| - MediaWiki 1.43 or later | ||
|
Comment on lines
+14
to
+15
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainComposer example still references the obsolete The requirements were bumped to PHP 8.1 / MW 1.43, yet the Composer install snippet further down the file still asks for -1. `COMPOSER=composer.local.json php composer.phar require --no-update mediawiki/font-awesome ^2.0`
+1. `COMPOSER=composer.local.json php composer.phar require --no-update mediawiki/font-awesome ^4.0`🏁 Script executed: #!/bin/bash
# Search for the composer require snippet in README.md
grep -n 'composer.phar require' README.md
# Check if the old ^2.0 constraint is still referenced
grep -n '\^2\.0' README.mdLength of output: 278 🏁 Script executed: #!/bin/bash
# Fetch the latest 10 versions of mediawiki/font-awesome from Packagist
curl -s https://packagist.org/packages/mediawiki/font-awesome.json \
| grep -o '"version":"[^"]*"' \
| sed 's/"version":"//; s/"//' \
| sort -rV \
| head -n 10
# List all unique major versions available
curl -s https://packagist.org/packages/mediawiki/font-awesome.json \
| grep -o '"version":"[^"]*"' \
| sed 's/"version":"//; s/"//' \
| cut -d'.' -f1 \
| sort -uLength of output: 387 Update Composer constraint to the latest major (3.x) The README’s install snippet still pins – README.md, line 25: - COMPOSER=composer.local.json php composer.phar require --no-update mediawiki/font-awesome ^2.0
+ COMPOSER=composer.local.json php composer.phar require --no-update mediawiki/font-awesome ^3.0
🤖 Prompt for AI Agents |
||
|
|
||
| ## Installation | ||
|
|
||
|
|
@@ -101,6 +101,13 @@ The Font Awesome Free package is included in the extension. See its | |
|
|
||
| ## Release notes | ||
|
|
||
| ### Version 4.0.0 | ||
|
|
||
| Released on July 22, 2025. | ||
|
|
||
| * Raised the minimum PHP version from 7.4.3 to 8.1.0 | ||
| * Raised the minimum MediaWiki version from 1.39 to 1.43 | ||
|
|
||
| ### Version 3.0.0 | ||
|
|
||
| Released on March 15, 2025. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,7 +26,7 @@ | |
|
|
||
| namespace FontAwesome\IconRenderers; | ||
|
|
||
| use Html; | ||
| use MediaWiki\Html\Html; | ||
| use Parser; | ||
| use PPFrame; | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,7 +26,7 @@ | |
|
|
||
| namespace FontAwesome\IconRenderers; | ||
|
|
||
| use Html; | ||
| use MediaWiki\Html\Html; | ||
| use Parser; | ||
| use PPFrame; | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.