Open renoirb opened 8 years ago
I had to adjust two templates so that the {{#ask: ... }}
contains |limit=1000
so that we hopefully get all the entries and remove the "further results...". Default limit=
value is below 1000. Documentation doesn’t tell, but with 1000 we had no more "further results" in the output.
Once you modify a template, you have to run maintenace/runJobs.php
on production.
The following templates had been edited:
Let’s make HTML some MediaWiki ASK query results.
In order to stop relying on MediaWiki, we got to make sure all contents that were linked automatically through Semantic MediaWiki is kept as static HTML.
In some views, you might see a link that links to "... further results" like below;
The issue is that since we won’t have MediaWiki anymore, those links will be broken.
See also: webplatform/mediawiki-conversion#9.
How to do
We hae no choice to do this manually on any page that has SemanticMediaWiki or
subpages
wiki macros because we’re getting out of MediaWiki and we will lose the work made to make those dynamic lists.To keep the list content for posterity, we gotta find pages that makes reference to them (e.g.
grep -rli 'subpages' content/WPD/
) and attempt to rework the wiki document to make the HTML give us the full listing output.Otherwise we’ll lose that data
HTML file has a table with classname "wikitable smwtable", or just search entries that has "further results" mentioned.
Converted:
Pages to review