ProfessionalWiki / ProfessionalWiki/Maps

Fix Content deprecations on MW 38

Open
#698 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
78
Forks
65
Avg merge
9h 17m
Merged PRs (30d)
6

Description

PHP Deprecated: Maps\GeoJsonPages\GeoJsonContent overrides fillParserOutput which was deprecated in MediaWiki 1.38. [Called from MediaWiki\Content\Renderer\ContentRenderer::getParserOutput in /home/runner/work/Maps/Maps/mediawiki/includes/content/Renderer/ContentRenderer.php at line 47] in /home/runner/work/Maps/Maps/mediawiki/includes/debug/MWDebug.php on line 381

PHP Deprecated: Use of AbstractContent::getParserOutput was deprecated in MediaWiki 1.38. [Called from ContentHandler::callDeprecatedContentGPO in /home/runner/work/Maps/Maps/mediawiki/includes/content/ContentHandler.php at line 1873] in /home/runner/work/Maps/Maps/mediawiki/includes/debug/MWDebug.php on line 381

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Maps\GeoJsonPages\GeoJsonContent::fillParserOutput and the MediaWiki ContentRenderer::getParserOutput call named in the warning. Trace how ContentHandler::callDeprecatedContentGPO reaches the extension, then verify that the reported MediaWiki 1.38 deprecation warnings no longer occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.