Extension:Linter/pl
Linter Status wydania: stabilne |
|
---|---|
File:Linter logo v2.svg | |
Realizacja | Strona specjalna |
Opis | Expose and track lint errors |
Autor(zy) | Kunal Mehta (Legoktmtalk) |
MediaWiki | |
Zmiany w bazie danych | Tak |
Tabele | linter |
Licencja | GNU General Public License 2.0 lub późniejsza |
Pobieranie | README |
Pomoc | Help:Extension:Linter/pl |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Przetłumacz rozszerzenie Linter jeżeli jest dostępne na translatewiki.net | |
Problemy | Otwarte zadania · Zgłoś błąd |
The Linter extension tracks lint errors from an external service. Currently the main use case is to track the errors identified by Parsoid and expose them to editors. Help for users wanting to fix errors is available at Help:Extension:Linter .
Instalacja
- <translate> [[<tvar name=2>Special:ExtensionDistributor/Linter/pl</tvar>|Download]] and move the extracted <tvar name=name>
Linter/pl
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter%2Fpl - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'Linter/pl' );
- <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Parametry konfiguracyjne
Be warned that this config is not sufficient to get lints run or linter errors reported as of February 2024. There may be missing documentation. These settings might work
In the $wgParsoidSettings section of your LocalSettings.php file, set
$wgParsoidSettings = [
'linting' => true
];
API
Module "query+linterrors" not found. Module "query+linterstats" not found.
Kategorie Linter
A list of linter categories is available in site info properties.
Bootstrap or reprocess all pages
Instead of running refreshLinks.php , it's possible to populate lint errors by querying parsoid directly. See phab:T161556#3184216 for an example script.
Special pages
File:Wikimedia-logo black.svg | <translate> This {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is being used on one or more [[<tvar name=2>m:Special:MyLanguage/Wikimedia projects</tvar>|Wikimedia projects]].</translate> <translate> This probably means that the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is stable and works well enough to be used by such high-traffic websites.</translate> <translate> Look for this {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension's|skin's}} name in Wikimedia's <tvar name=2>CommonSettings.php</tvar> and <tvar name=3>InitialiseSettings.php</tvar> configuration files to see where it's installed.</translate> <translate> A full list of the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extensions|skins}} installed on a particular wiki can be seen on the wiki's <tvar name=ver>Special:Version</tvar> page.</translate> |
Linter logo v2.svg |
- Pages with script errors
- Extensions bundled with MediaWiki 1.40/pl
- Pages with broken file links
- Stable extensions/pl
- Special page extensions/pl
- Extensions without MediaWiki version
- GPL licensed extensions/pl
- Extensions in Wikimedia version control/pl
- All extensions/pl
- Extensions not in ExtensionJson
- Extensions used on Wikimedia/pl