You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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.
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.
Get Full view (if possible) by using MediaWiki ASK query helper
Once we see no "more..." link at the bottom of the view. Click on "show embed code" so that you can copy query code.
Converted:
Pages to review
The text was updated successfully, but these errors were encountered: