ميڊياوڪي 1.37

This page is a translated version of the page MediaWiki 1.37 and the translation is 42% complete.
Outdated translations are marked like this.
If using PHP 8, it is recommended to use MediaWiki 1.38.4 or higher. PHP 8 is not in use by Wikimedia wikis, and thus gets less testing, but other groups do use MediaWiki with PHP 8 without issue. If you encounter any bugs when using MediaWiki with PHP 8, please report them. See task T248925 for more information.
Warning Warning: MediaWiki 1.37.0 contains a very severe security issue. Please upgrade to 1.37.1 or later. See 2021-12 security release/FAQ for more information.

ميڊياوڪي 1.37 ميڊياوڪي جو ڀوش جو رليز آهي. تبديلين جي مڪمل فهرست لاءِ RELEASE NOTES فائل ڏسو. اهو اپريل 2021 کان شروع ٿيندڙ ”ڊبليو ايم ايف“ جي وَڌندڙ ٽارين وسيلي وڪيميڊيا فائونڊيشن وڪيز تي لڳايو ويو هو. 1.37.0 پائيدار ڪجهه دير سان نومبر 2021 جي پڇاڙيءَ ۾ رليز ٿيڻ جي آس آهي. ڊائون لوڊ ڪريو mediawiki-1.42.tar.gz يا چيڪ آئوٽ ڪريو REL1_37 ٽاري گٽ ۾ هن ڇڏڻ جي پيروي ڪرڻ لاء. The 1.37 branch, with the version 1.37.6, reached its end-of-life on 30 November 2022.

نوان مُهانڊا

ايڪشن ايپيآءِ تبديليون

  • (T280806) The API methods for fetching tokens which were deprecated in MediaWiki 1.24 have been removed. action=query&meta=tokens&type= should be used instead. Please note, some token types no longer exist, and you should just use type=csrf for those instead.
    • action=query&prop=info&intoken -> action=query&meta=tokens&type=csrf
    • action=tokens&type= -> action=query&meta=tokens&type=
    • action=query&list=recentchanges&rctoken -> action=query&meta=tokens&type=csrf
    • action=query&prop=revisions&rvtoken=rollback -> action=query&meta=tokens&type=rollback
    • action=query&meta=userinfo&uiprop=preferencestoken -> action=query&meta=tokens&type=csrf
    • action=query&list=users&ustoken=userrights -> action=query&meta=tokens&type=userrights

ڪنفيگريشن تبديليون

  • (T242768) The PasswordCannotMatchUsername password policy has been removed, please use PasswordCannotBeSubstringInUsername instead. If you have not customised your password policies, there will be nothing to do here.

نيو ڪنفيگريشن

  • $wgBrowserFormatDetection - This setting allows the enabling or disabling of automatic detection of possible phone numbers in a webpage in iOS Safari.
  • $wgParserEnableLegacyMediaDOM - This setting defaults to true, and enables the legacy media HTML structure in the output from the Parser. The alternative modern HTML structure for media is described at https://www.mediawiki.org/wiki/Parsing/Media_structure. In a future release of MediaWiki, this option will default to false, so it's a good idea to test this setting on your wiki early and report any issues.

مَٽايل ڪنفيگريشن

  • $wgContentHandlerTextFallback - This migration setting, which defines how to react if a plain text version of a non-text Content object is requested using ContentHandler::getContentText(), is deprecated.
  • $wgActions – This setting lets sysadmins override which actions can be used. It has been re-worked to support injecting dependencies into Action sub-classes as part of wider work on dependency injection. Previously, $wgActions was an array where the keys were the names of actions, and the values had the following impacts (for a given key 'Foo'):
    • `true`: use the class 'FooAction' unless for a specific page WikiPage::getActionOverrides() wants to override that action
    • a string: use the class with that name, and do not allow over-riding on a per-page basis
    • `false`: the action is disabled
    • a callable: use the Action instance returned by invoking that callback, and do not allow overriding on a per-page basis
    • an object: use that specific Action instance, and do not allow overriding on a per-page basis.

As part of T253078, values can now be arrays that are not callables, which are treated as ObjectFactory specs, allowing for services to be injected. Additionally, the distinction between values that allow per-page overrides and those that do not be removed - all actions can now be overridden on a per-page basis using WikiPage::getActionOverrides().

هٽايل ڪنفيگريشن

ننڍاصفحا