19,160
edits
(+1.25) |
(unnumbered TOC; markup fixes; +1.26) |
||
Line 1: | Line 1: | ||
Below are any notable changes that we should look forward to, or watch out for, if upgrading MediaWiki (besides various security fixes). | |||
{{TOCnonum}} | |||
==Future 1.19 versions== | ==Future 1.19 versions== | ||
No notable feature changes, but security fixes are available up to 1.19. | No notable feature changes have come after our current installation version (1.19.2), but security fixes are available up to 1.19.24. | ||
==1.20== | ==1.20== | ||
Line 17: | Line 17: | ||
*Section edit and TOC hide/show links are excluded from selection and copy/paste on supporting browsers. | *Section edit and TOC hide/show links are excluded from selection and copy/paste on supporting browsers. | ||
*Allow importing pages as subpage. | *Allow importing pages as subpage. | ||
*Allow PAGESINCATEGORY to distinguish between 'all', 'pages', 'files' and 'subcats'. | *Allow <nowiki>{{PAGESINCATEGORY}}</nowiki> to distinguish between 'all', 'pages', 'files' and 'subcats'. | ||
*Option on Special:Prefixindex and Special:Allpages to not show redirects. | *Option on Special:Prefixindex and Special:Allpages to not show redirects. | ||
*The user right 'upload_by_url' is no longer given to sysops by default. This only affects installations which have $wgAllowCopyUploads set to true. | *The user right 'upload_by_url' is no longer given to sysops by default. This only affects installations which have $wgAllowCopyUploads set to true. | ||
Line 47: | Line 47: | ||
*A new Special:Redirect page was added, providing lookup by revision ID, user ID, or file name. The old Special:Filepath page was reimplemented to redirect through Special:Redirect. | *A new Special:Redirect page was added, providing lookup by revision ID, user ID, or file name. The old Special:Filepath page was reimplemented to redirect through Special:Redirect. | ||
*Event namespace used by jquery.makeCollapsible has been changed from 'mw-collapse' to 'mw-collapsible' for consistency with the module name. | *Event namespace used by jquery.makeCollapsible has been changed from 'mw-collapse' to 'mw-collapsible' for consistency with the module name. | ||
*Converted the table of contents on wiki pages from <table> to <div> and adjusted skin CSS accordingly. The CSS was carefully crafted to be backwards-compatible in all reasonable cases (uses of the <nowiki>__TOC__</nowiki> magic word, the #toc CSS id and the .toc CSS class). However, particularly bad abuse of the id or the class can possibly break. | *Converted the table of contents on wiki pages from <nowiki><table></nowiki> to <nowiki><div></nowiki> and adjusted skin CSS accordingly. The CSS was carefully crafted to be backwards-compatible in all reasonable cases (uses of the <nowiki>__TOC__</nowiki> magic word, the #toc CSS id and the .toc CSS class). However, particularly bad abuse of the id or the class can possibly break. | ||
*Broken files tracking category removed from pages if an image with that name is uploaded. | *Broken files tracking category removed from pages if an image with that name is uploaded. | ||
*portal-url and currentevents-url have been removed from the default Sidebar; helppage now points to a mediawiki.org page which is guaranteed to exist. Any sysop can customize the sidebar by editing MediaWiki:Sidebar. | *portal-url and currentevents-url have been removed from the default Sidebar; helppage now points to a mediawiki.org page which is guaranteed to exist. Any sysop can customize the sidebar by editing MediaWiki:Sidebar. | ||
Line 79: | Line 79: | ||
*Add expensive parser functions <nowiki>{{REVISIONID:}}</nowiki>, <nowiki>{{REVISIONUSER:}}</nowiki> and <nowiki>{{REVISIONTIMESTAMP:}}</nowiki> (with friends). | *Add expensive parser functions <nowiki>{{REVISIONID:}}</nowiki>, <nowiki>{{REVISIONUSER:}}</nowiki> and <nowiki>{{REVISIONTIMESTAMP:}}</nowiki> (with friends). | ||
*The MediaWiki:Group-user.{css,js} pages can now be used to add custom CSS or JavaScript enabled only for registered users. | *The MediaWiki:Group-user.{css,js} pages can now be used to add custom CSS or JavaScript enabled only for registered users. | ||
*[[Special:Diff]] was added, allowing users to create internal links to revision comparison pages using syntax such as [[Special:Diff/12345]], [[Special:Diff/12345/prev]] or [[Special:Diff/12345/98765]]. | *<nowiki>[[Special:Diff]]</nowiki> was added, allowing users to create internal links to revision comparison pages using syntax such as <nowiki>[[Special:Diff/12345]]</nowiki>, <nowiki>[[Special:Diff/12345/prev]]</nowiki> or <nowiki>[[Special:Diff/12345/98765]]</nowiki>. | ||
*Slight changes to the typography. The details are listed [https://www.mediawiki.org/wiki/Typography_refresh here], but the gist of it is a classier serif font for headers, slightly larger text, and that text is now dark-dark-gray instead of black. | *Slight changes to the typography. The details are listed [https://www.mediawiki.org/wiki/Typography_refresh here], but the gist of it is a classier serif font for headers, slightly larger text, and that text is now dark-dark-gray instead of black. | ||
*Redirect pages, when viewed with redirect=no, no longer hide the remaining page content. | *Redirect pages, when viewed with redirect=no, no longer hide the remaining page content. | ||
Line 109: | Line 109: | ||
*Search bar is not autofocused unless it is empty so that proper scrolling using arrow keys is possible. | *Search bar is not autofocused unless it is empty so that proper scrolling using arrow keys is possible. | ||
*The global importScriptURI and importStylesheetURI functions, as well as the loadedScripts object, from wikibits.js (deprecated since 1.17) now emit warnings through mw.log.warn when accessed. | *The global importScriptURI and importStylesheetURI functions, as well as the loadedScripts object, from wikibits.js (deprecated since 1.17) now emit warnings through mw.log.warn when accessed. | ||
==1.26== | |||
:''These changes are listed through 1.26.1.'' | |||
*1.26 has several database changes since 1.25, and will not work without schema updates. | |||
*Requirements remain the same as for 1.25. | |||
*The "Signature" button on the edit toolbar is now hidden by default in non-talk namespaces. A new configuration variable, $wgExtraSignatureNamespaces, controls in which subject (non-talk) namespaces the "Signature" button on the edit toolbar will be displayed. | |||
[[Category:Userspace]] | [[Category:Userspace]] |