We have an extension called Cargo which lets you query through pages. As well as letting you add arbitrary data to select pages, you can also have a table which is auto-filled with standard page data. By default, the table doesn't store much info about each page. It might be nice for querying if we had various other fields enabled!
+18
packetmix/systems/teal/wiki.nix
+18
packetmix/systems/teal/wiki.nix
···
204
204
205
205
$wgRCWatchCategoryMembership = true;
206
206
207
+
$wgCargoPageDataColumns[] = 'creationDate';
208
+
$wgCargoPageDataColumns[] = 'modificationDate';
209
+
$wgCargoPageDataColumns[] = 'creator';
210
+
$wgCargoPageDataColumns[] = 'lastEditor';
211
+
$wgCargoPageDataColumns[] = 'displayTitle';
212
+
$wgCargoPageDataColumns[] = 'categories';
213
+
$wgCargoPageDataColumns[] = 'numRevisions';
214
+
$wgCargoPageDataColumns[] = 'outgoingLinks';
215
+
$wgCargoPageDataColumns[] = 'isRedirect';
216
+
$wgCargoPageDataColumns[] = 'pageNameOrRedirect';
217
+
$wgCargoPageDataColumns[] = 'pageIDOrRedirect';
218
+
219
+
$wgCargoFileDataColumns[] = 'mediaType';
220
+
$wgCargoFileDataColumns[] = 'path';
221
+
$wgCargoFileDataColumns[] = 'lastUploadDate';
222
+
223
+
$wgFixDoubleRedirects = true;
224
+
207
225
$wgShowExceptionDetails = true;
208
226
$wgDevelopmentWarnings = true;
209
227
'';
History
2 rounds
0 comments
freshlybakedca.ke
submitted
#1
1 commit
expand
collapse
feat(pm/wiki): store more _pageData
We have an extension called Cargo which lets you query through pages.
As well as letting you add arbitrary data to select pages, you can also
have a table which is auto-filled with standard page data. By default,
the table doesn't store much info about each page. It might be nice for
querying if we had various other fields enabled!
1/5 failed, 4/5 success
expand
collapse
expand 0 comments
pull request successfully merged
freshlybakedca.ke
submitted
#0
1 commit
expand
collapse
feat(pm/wiki): store more _pageData
We have an extension called Cargo which lets you query through pages.
As well as letting you add arbitrary data to select pages, you can also
have a table which is auto-filled with standard page data. By default,
the table doesn't store much info about each page. It might be nice for
querying if we had various other fields enabled!