Test Wiki:Community portal: Difference between revisions

From Test Wiki
Content deleted Content added
Line 98: Line 98:
:See https://mediawiki.org/wiki/API:Main_page [[User:Justarandomamerican|Justarandomamerican]] ([[User talk:Justarandomamerican|talk]]) 21:52, 19 August 2024 (UTC)
:See https://mediawiki.org/wiki/API:Main_page [[User:Justarandomamerican|Justarandomamerican]] ([[User talk:Justarandomamerican|talk]]) 21:52, 19 August 2024 (UTC)


== Proposal to modify the block durations for filter 92 ==
==Proposal to modify the block durations for filter 92==


As the title says, I propose modifying the block durations (IP addresses and accounts) from three months down to whatever block duration limit (whether shorter or not) is appropriate. [[User:Codename Noreste|<span style="font-family:Verdana;color:#0024FF">'''''Codename Noreste'''''</span>]] 🤔 [[User talk:Codename Noreste|<span style="font-family:Verdana;color:#0A16A5">''Talk''</span>]] 03:26, 23 August 2024 (UTC)
As the title says, I propose modifying the block durations (IP addresses and accounts) from three months down to whatever block duration limit (whether shorter or not) is appropriate. [[User:Codename Noreste|<span style="font-family:Verdana;color:#0024FF">'''''Codename Noreste'''''</span>]] 🤔 [[User talk:Codename Noreste|<span style="font-family:Verdana;color:#0A16A5">''Talk''</span>]] 03:26, 23 August 2024 (UTC)


== MediaWiki internal error on [[Special:SpecialPages]] ==
==MediaWiki internal error on [[Special:SpecialPages]]==


[b3226bde47e2affaf7622a8e] /wiki/Special:SpecialPages TypeError: Cannot assign APCUBagOStuff to property MediaWiki\Extension\Translate\Statistics\LanguageStatsSpecialPage::$cache of type Wikimedia\ObjectCache\BagOStuff
[b3226bde47e2affaf7622a8e] /wiki/Special:SpecialPages TypeError: Cannot assign APCUBagOStuff to property MediaWiki\Extension\Translate\Statistics\LanguageStatsSpecialPage::$cache of type Wikimedia\ObjectCache\BagOStuff
Line 121: Line 121:
#12 {main}
#12 {main}
{{Font|[[User:Tailsultimatefan3891|Tailsultimatefan3891]] <sup>[[User talk:Tailsultimatefan3891|talk]]</sup><small>[[Special:Log/Tailsultimatefan3891|logs]]</small><sub>[[Special:Contributions/Tailsultimatefan3891|contribs]]</sub>|font=Roboto}} 22:59, 23 August 2024 (UTC)
{{Font|[[User:Tailsultimatefan3891|Tailsultimatefan3891]] <sup>[[User talk:Tailsultimatefan3891|talk]]</sup><small>[[Special:Log/Tailsultimatefan3891|logs]]</small><sub>[[Special:Contributions/Tailsultimatefan3891|contribs]]</sub>|font=Roboto}} 22:59, 23 August 2024 (UTC)

:@[[User:Justarandomamerican|Justarandomamerican]]
:You could try modifying the LanguageStatsSpecialPage.php file at line 84, where the cache assignment occurs, to handle the cache object
:if ($cache instanceof Wikimedia\ObjectCache\BagOStuff) {
: $this->cache = $cache;
:} else {
: // Handle error or set default cache.
:}
:But before that, check if the translation extension is compatible with the the MW version because of now-translation extension >= 1.42.0 [[User:TheAstorPastor|<span style="font-family:Segoe print; color:#8B0000; text-shadow:gray 0.2em 0.2em 0.4em;">The AP </span>]] ([[User talk:TheAstorPastor|<span style="font-family:Segoe print; color:#AA336A">''talk''</span>]]) 17:24, 27 August 2024 (UTC)