MediaWiki 1.35/ca

El MediaWiki 1.35 és la versió actual estable amb suport a llarg termini del MediaWiki. Consulteu el fitxer per la llista completa dels canvis. Es va implementar als wikis de la Wikimedia Foundation mitjançant branques incrementals de "" a partir de l'1 d'octubre del 2019. La versió estable 1.35.0 es va llançar el 25 de setembre del 2020. Descarregueu o reviseu la branca   al Git per seguir aquesta versió. Se li acabarà la vida el novembre del 2023.



Noves funcionalitats

 * Les pàgines especials Special:EditPage, Special:PageHistory, Special:PageInfo, i Special:Purge s'han creat com a dreceres per cada acció. Special:EditPage/Foo redirects to title=foo&action=edit, with PageHistory, PageInfo, and Purge corresponding to &action= history, info, and purge respectively. When linked to, its subpage is used as the target. Otherwise, it displays a basic interface to allow the end user to specify the target manually (see ).
 * El formulari en «?action=watch» té una nova llista desplegable per suportar les dates de venciment dels elements de la llista de seguiment (si és   (cert)).



Noves extensions incloses
El MediaWiki 1.35 ara inclou l'extensió (enllaç en anglès), que proveeix una experiència visual d'edició com una alternativa a l'editor de codi tradicional. No serà necessari configurar una instància separada del Parsoid (enllaç en anglès), ja que ve incorporat al nucli del MediaWiki.

També estan incloses les extensions i. Aquestes fan que els enllaços siguin al vostre wiki i afegeixen una  i una  que permet els editors especificar com s'han d'invocar les plantilles.

Action API changes

 * The  parameter of   has been deprecated. The API behaves the same with and without this parameter. It was previously used by  to partially disable the API if set to . Specifically, it would deny internal frontend requests carrying this parameter, whilst accepting other requests.
 * Integer-type parameters are now validated for syntax rather than being interpreted in surprising ways. For example, the following will now return a badinteger error:
 * "1.9" - formerly interpreted as "1"
 * " 1" - formerly interpreted as "1"
 * "1e1" - formerly interpreted as "1" or "10", depending on the PHP version
 * "1foobar" - formerly interpreted as "1"
 * "foobar" (formerly intepreted as "0") Ranges should be assumed to be enforced.
 * Many user-type parameters now accept a user ID, formatted like "#12345".
 * The  parameter used by all API modules now supports the value  . When specified, the API will return the 'assertanonfailed' error if the user is logged in.
 * action=edit now supports the 'baserevid' parameter for edit conflict detection, as an alternative to 'basetimestamp'. Note that self-conflicts will continue to be ignored if 'basetimestamp' is set, but not if only 'baserevid' is set.
 * A new module was added to change the content model of existing pages. Use action=changecontentmodel. Unlike Special:ChangeContentModel, the API module does not work for pages that do not already exist.
 * If is, the following API changes are made:
 * action=watch accepts a new 'expiry' parameter analagous to the expiry accepted by action=userrights, action=block, etc., except it must be no greater than, or an infinity value.
 * action=query&list=watchlistraw returns pages' watchlist expiry dates.
 * action=login will now return Failed rather than NeedToken on session loss.

Action API internal changes

 * The Action API now uses the Wikimedia\ParamValidator library for parameter validation, which brings some new features and changes. For the most part existing module code should work as it did before, but see subsequent notes for changes.
 * The values for all ApiBase PARAM_* constants have changed. Code should have been using the constants rather than hard-coding the values.
 * Several ApiBase PARAM_* constants have been deprecated, see the in-class documentation for details. Use the equivalent ParamValidator constants instead.
 * The value returned for 'upload'-type parameters has changed from WebRequestUpload to Psr\Http\Message\UploadedFileInterface.
 * Validation of 'user'-type parameters is more flexible. PARAM constants exist to specify the type of "user" allowed and to request UserIdentity objects rather than name strings. The default is to accept all types (name, IP, range, and interwiki) that were formerly accepted.
 * Maximum limits are no longer ignored in "internal mode".
 * The $paramName to should now include the prefix.
 * meta=siteinfo&siprop=interwikimap no longer reports language or extralanglink when is false.