Current configuration on the wiki
Because '0' is a string, it's true, but for our purposes, it's supposed to be false. Thanks JavaScript. This bug was actually pretty horrific, it meant that when you refresh the representation is all wrong (all items in the group were considered true if the group was 'send_unselected_if_any' which meant that most of those (that are full coverage) 'corrected themselves' to be all-false which meant you lost filters when refreshing, even though the parameters appeared in the URL (the url helpfully corrects itself based on the model but the model was wrong.) How did this pass unit tests, one might ask. Well, the unit tests were treating parameter values as numbers, rather than strings, a fact that is promptly fixed in this commit. Also, for consistency and proper data validation, all parameters are now always stored and handled as strings, in the model. Bug: T165230 Change-Id: I16d8d95be067b3e48e557ef25f8eb6a49736aa4e |
||
|---|---|---|
| cache | ||
| docs | ||
| extensions | ||
| images | ||
| includes | ||
| languages | ||
| maintenance | ||
| mw-config | ||
| resources | ||
| serialized | ||
| skins | ||
| tests | ||
| .eslintrc.json | ||
| .gitattributes | ||
| .gitignore | ||
| .gitreview | ||
| .mailmap | ||
| .rubocop.yml | ||
| .stylelintrc | ||
| .travis.yml | ||
| api.php | ||
| autoload.php | ||
| composer.json | ||
| composer.local.json-sample | ||
| COPYING | ||
| CREDITS | ||
| FAQ | ||
| Gemfile | ||
| Gemfile.lock | ||
| Gruntfile.js | ||
| HISTORY | ||
| img_auth.php | ||
| index.php | ||
| INSTALL | ||
| jsduck.json | ||
| load.php | ||
| opensearch_desc.php | ||
| package.json | ||
| phpcs.xml | ||
| profileinfo.php | ||
| Rakefile | ||
| README | ||
| README.mediawiki | ||
| RELEASE-NOTES-1.30 | ||
| StartProfiler.sample | ||
| thumb.php | ||
| thumb_handler.php | ||
| UPGRADE | ||
== MediaWiki == MediaWiki is a free and open-source wiki software package written in PHP. It serves as the platform for Wikipedia and the other Wikimedia projects, used by hundreds of millions of people each month. MediaWiki is localised in over 350 languages and its reliability and robust feature set have earned it a large and vibrant community of third-party users and developers. MediaWiki is: * feature-rich and extensible, both on-wiki and with hundreds of extensions; * scalable and suitable for both small and large sites; * simple to install, working on most hardware/software combinations; and * available in your language. For system requirements, installation, and upgrade details, see the files RELEASE-NOTES, INSTALL, and UPGRADE. * Ready to get started? ** https://www.mediawiki.org/wiki/Special:MyLanguage/Download * Looking for the technical manual? ** https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Contents * Seeking help from a person? ** https://www.mediawiki.org/wiki/Special:MyLanguage/Communication * Looking to file a bug report or a feature request? ** https://bugs.mediawiki.org/ * Interested in helping out? ** https://www.mediawiki.org/wiki/Special:MyLanguage/How_to_contribute MediaWiki is the result of global collaboration and cooperation. The CREDITS file lists technical contributors to the project. The COPYING file explains MediaWiki's copyright and license (GNU General Public License, version 2 or later). Many thanks to the Wikimedia community for testing and suggestions.