aboutsummaryrefslogtreecommitdiffstats
path: root/includes/CategoriesRdf.php
Commit message (Collapse)AuthorAgeFilesLines
* Reorg: Move category-related classes from includes/ to Category/Amir Sarabadani2023-02-091-134/+0
| | | | | Bug: T321882 Change-Id: I0b86acfdeaa3a2a0a14b7763fd088122820bafdc
* phan: Disable scalar_implicit_cast settingUmherirrender2022-03-181-0/+2
| | | | | | | | | Make phan stricter about scalar types by setting scalar_implicit_cast to false (the default in mediawiki-phan-config) Bug: T242536 Bug: T301991 Change-Id: Ia2fe30b17804186571722e728578121c8b75d455
* Remove some more comments that literally repeat the codeThiemo Kreuz2021-12-091-1/+1
| | | | | | | | Nothing to learn from these. You can find a longer explanation in the comments in I93751e6. Change-Id: I195aae70fc282b58be5b18160783f27d38605d15
* Fix numerous PSR12.Properties.ConstantVisibility.NotFoundReedy2020-05-121-5/+5
| | | | Change-Id: I157220c4e9ff516283a60f06af99efa2439332e3
* Do not generate negative page counts in dumpStanislav Malyshev2018-08-021-0/+4
| | | | | | | Due to T201119, some counts are not in sync. We are assuming that in this case page count is just 0. Change-Id: Iffd24270db6d852839d6922aa492c1975bf185e0
* Add more data to categories dumpStanislav Malyshev2018-01-171-1/+10
| | | | | | | | | | | | Hidden category: <cat> a mediawiki:HiddenCategory . Pages count: <cat> mediawiki:pages 10 . Subcats count: <cat> mediawiki:subcategories 5 . Note that pages count includes only actual articles, unlike mediawiki table. Bug: T173980 Change-Id: I6d34c58f844411f891195776406e11acd2aef7b1
* Port categories dump header fixStanislav Malyshev2017-11-281-2/+26
| | | | | | | | | | | This fix is ported from https://gerrit.wikimedia.org/r/#/c/372905 since it does not belong to SPARQL updates really. It changes main node for category dump to <http://acme.test/wiki/Special:CategoryDump> thus allowing to support multiple wikis living on the same domain.w Change-Id: Ie1ac5ddf6b3b73f3966274f90abc1db50061b494
* Produce RDF dump of all categories and subcategories in a wiki.Stanislav Malyshev2017-08-281-0/+95
Example: http://en.wiki.local.wmftest.net:8080/wiki/Category:Ducks> a mediawiki:Category ; rdfs:label "Ducks" ; mediawiki:isInCategory <http://en.wiki.local.wmftest.net:8080/wiki/Category:Birds> . Bug: T157676 Change-Id: I59b9603581b37af59d17dd6c38247c85aee44911