Commit graph

25 commits

Author SHA1 Message Date
CosmicAlpha 6ca7c458be
Properly select il_to for use with imagecontainer, passing title 2022-08-11 14:51:06 -06:00
Robert Vogel 64cf6c5976
Fix profiling context calculation (#174)
`ParserFactory::getParser` will create a completely new `Parser` instance.
Based on the context, this instance may have not set a `Title` object.
Thus accessing `Parser::getTitle` without checking for the return value
may break the code.

Issue: https://github.com/Universal-Omega/DynamicPageList3/issues/170

Co-authored-by: rvogel <vogel@hallowelt.biz>
2022-06-24 10:24:49 -06:00
Universal Omega 7c2bc69296
phpcs: enable MediaWiki.Commenting.FunctionComment (#149) 2022-03-22 13:59:52 -06:00
Universal Omega 4890c27b7f
Fix %TOTALPAGES% usage (#145) 2022-03-21 15:37:02 -06:00
Universal Omega 02fe40ec52
Fix firstrevisionsince and lastrevisionbefore parameters (#143) 2022-03-20 17:50:19 -06:00
Universal Omega 181a32255e
Only set sqlQuery if used for debug (#142) 2022-03-20 17:14:44 -06:00
Universal Omega d5b353968e
Fix openreferences=missing count (#140) 2022-03-20 16:42:03 -06:00
Universal Omega bc1377bb00
Use ExtensionRegistry for checking HitCounters (#137) 2022-03-20 11:15:43 -06:00
Universal Omega edb0836569
Fix allowUnlimitedResults (#131) 2022-03-19 20:52:03 -06:00
Universal Omega 683294d0ab
Fix minoredits parameter (#127) 2022-03-17 09:38:47 -06:00
Universal Omega 1cfaefb084
Fix query error due to not adding quotes to '%' (#119) 2022-03-15 11:11:41 -06:00
Universal Omega af983cf2df
Re-namespace and use AutoloadNamespaces (#113) 2022-03-13 13:57:34 -06:00
Universal Omega 90c3c0ee6c
Improve query performance and add caching support (#107) 2022-03-13 12:28:30 -06:00
Universal Omega a0a2b862bc
Fix usage of scroll and order in the same query (#88) 2022-02-06 16:27:50 -07:00
Universal Omega ce64f763a3
Add support for openreferences=missing (#87) 2022-02-05 12:33:07 -07:00
Jack Phoenix 20f11dc6b7
Fix up a few minor things which were annoying me (#72)
* Use single quotes instead of double where appropriate, as per MediaWiki's usual coding conventions
* Correctly capitalize `getDBkey` method as such
* Add some spacing etc.
* Capitalize SQL keywords in the exception messages that are thrown
* Fix up indentation and remove one unnecessary variable in function _addcontribution
2021-12-16 18:23:18 -07:00
Universal Omega 78c5ead32c
Fix getSubcategories (#71) 2021-12-16 15:18:01 -07:00
Universal Omega cf3e0566ef
Fix allowUnlimitedResults + fix tests on 1.38.0+ (#70) 2021-12-15 16:23:13 -07:00
Universal Omega 9afe84380a
Cleanup (#64) 2021-12-15 13:22:38 -07:00
Universal Omega 2324ce206a
Revert helper classes (#63) 2021-10-06 12:44:11 -06:00
Universal Omega 2c04dafb37
Major cleanup (#57) 2021-10-01 16:52:30 -06:00
Universal Omega 8c9ee66836
Fix setting query limit (#53) 2021-09-24 20:56:23 -06:00
Universal Omega eb6be85376
Replace removed wgContLang (#34) 2021-05-30 12:33:21 -06:00
Universal Omega 12ae20b861
Fix phpcs issues (#18) 2021-02-22 16:48:01 -07:00
Universal Omega 56accee512
rename directory, 'classes' to 'includes' (#17)
* rename classes to includes

* Rename classes
2021-02-22 16:37:14 -07:00
Renamed from classes/Query.php (Browse further)