BathAfrica:Template migration: Difference between revisions
BathAfrica (talk | contribs) m 1 revision imported |
BathAfrica (talk | contribs) Record all 159 registered images and verified remaining thumbnail limitation |
||
| (One intermediate revision by the same user not shown) | |||
| Line 8: | Line 8: | ||
* All existing source templates are present. The missing Error helper was implemented locally. The absent Soft redirect protection invocation was removed; normal page protection controls remain available. | * All existing source templates are present. The missing Error helper was implemented locally. The absent Soft redirect protection invocation was removed; normal page protection controls remain available. | ||
* There are 159 distinct static image references in the template sources. The old wiki contains only four uploaded files: LabRPS.png, Online Help Toc.svg, Arrow-left.svg and Arrow-right.svg. All four binaries and their exported file-description history were preserved in the migration package. | * There are 159 distinct static image references in the template sources. The old wiki contains only four uploaded files: LabRPS.png, Online Help Toc.svg, Arrow-left.svg and Arrow-right.svg. All four binaries and their exported file-description history were preserved in the migration package. | ||
* The other 155 image names were already missing at the source. Dynamic command-specific icons supplied through template parameters are additional dependencies and must be supplied with the corresponding documentation. | * The other 155 image names were already missing at SiteMasterDoc, but have now all been recovered from their exact filenames on wiki.labrps.com. All 159 static dependency image binaries are preserved in the migration package, together with source URLs, hashes and file-description exports. Dynamic command-specific icons supplied through template parameters are additional dependencies and must be supplied with the corresponding documentation. | ||
* | * All 159 static image binaries are now uploaded and registered in MediaWiki, with source references on their file pages. Uploads are restricted to administrators and PNG/SVG. The images directory has a static-only IIS configuration; a PHP-extension probe was denied by request filtering. | ||
* One thumbnail limitation remains: Workbench_Web.svg opens directly, but MediaWiki attempts external rasterization and the host disables proc_open(). The original image is present. A hosting configuration adjustment to the native SVG rendering size limit is still required for this thumbnail. | |||
* ParserFunctions, TemplateData and TemplateStyles are installed. SyntaxHighlight and Translate are not installed. Code now uses a plain preformatted block; PropertyData, PropertyView and Top use their English fallback. No extension was installed through the wiki UI. | * ParserFunctions, TemplateData and TemplateStyles are installed. SyntaxHighlight and Translate are not installed. Code now uses a plain preformatted block; PropertyData, PropertyView and Top use their English fallback. No extension was installed through the wiki UI. | ||
* Supporting ct/fcinfobox, navigation, glossary, quote and legacy table classes now have scoped styling in [[MediaWiki:Common.css]]. No source JavaScript was imported. | * Supporting ct/fcinfobox, navigation, glossary, quote and legacy table classes now have scoped styling in [[MediaWiki:Common.css]]. No source JavaScript was imported. | ||
| Line 19: | Line 20: | ||
== Verification == | == Verification == | ||
The destination template inventory contains every one of the 75 source template titles. | The destination template inventory contains every one of the 75 source template titles. The original and compatibility import passes reported Import finished. The full acceptance gallery renders all 75 template invocations. Plain code output, product labels, English fallbacks and removal of the absent protection helper were checked; no missing template links or parser-error elements remained after refresh. All 35 image instances on the template acceptance page loaded. The full [[BathAfrica:Image migration tests|159-file validation gallery]] contains 158 loaded image elements and one explicit thumbnail-generation error for Workbench_Web.svg. No missing-file links remain. Use [[BathAfrica:Legacy template tests]] to inspect the collection and [[BathAfrica:Template examples]] for the newer shared templates. | ||
== Attribution == | == Attribution == | ||
Source: [https://wiki.sybma.com/index.php?title=Special:AllPages&namespace=10 SiteMasterDoc template collection]. Original exported history is retained on each imported template. The source footer identifies Creative Commons Attribution; original imported histories also include enwiki-prefixed Admin and LabRPS names. Those historical labels are preserved as supplied and do not establish complete upstream FreeCAD provenance. Source links and the backup must be retained when resolving that upstream attribution. | Source: [https://wiki.sybma.com/index.php?title=Special:AllPages&namespace=10 SiteMasterDoc template collection]. Original exported history is retained on each imported template. The source footer identifies Creative Commons Attribution; original imported histories also include enwiki-prefixed Admin and LabRPS names. Those historical labels are preserved as supplied and do not establish complete upstream FreeCAD provenance. Source links and the backup must be retained when resolving that upstream attribution. | ||
Latest revision as of 11:09, 29 October 2026
Migration status
All 75 existing SiteMasterDoc templates were imported, including all 150 revisions present in the source export. Contributor names were kept distinct with the sybma import prefix. Each template also has a BathAfrica compatibility revision and source notice. Existing BathAfrica templates remain in place.
This is a template migration, not an article or user-account migration. No old product articles or accounts were imported.
Dependencies and remaining blockers
- All existing source templates are present. The missing Error helper was implemented locally. The absent Soft redirect protection invocation was removed; normal page protection controls remain available.
- There are 159 distinct static image references in the template sources. The old wiki contains only four uploaded files: LabRPS.png, Online Help Toc.svg, Arrow-left.svg and Arrow-right.svg. All four binaries and their exported file-description history were preserved in the migration package.
- The other 155 image names were already missing at SiteMasterDoc, but have now all been recovered from their exact filenames on wiki.labrps.com. All 159 static dependency image binaries are preserved in the migration package, together with source URLs, hashes and file-description exports. Dynamic command-specific icons supplied through template parameters are additional dependencies and must be supplied with the corresponding documentation.
- All 159 static image binaries are now uploaded and registered in MediaWiki, with source references on their file pages. Uploads are restricted to administrators and PNG/SVG. The images directory has a static-only IIS configuration; a PHP-extension probe was denied by request filtering.
- One thumbnail limitation remains: Workbench_Web.svg opens directly, but MediaWiki attempts external rasterization and the host disables proc_open(). The original image is present. A hosting configuration adjustment to the native SVG rendering size limit is still required for this thumbnail.
- ParserFunctions, TemplateData and TemplateStyles are installed. SyntaxHighlight and Translate are not installed. Code now uses a plain preformatted block; PropertyData, PropertyView and Top use their English fallback. No extension was installed through the wiki UI.
- Supporting ct/fcinfobox, navigation, glossary, quote and legacy table classes now have scoped styling in MediaWiki:Common.css. No source JavaScript was imported.
Compatibility adaptations
GuiCommand accepts Workbench and retains Phenomena as a legacy alias. Major infobox version labels now say Product version while retaining their existing parameter names. Manual:TOC now provides product-neutral navigation and accepts content= instead of transcluding the old LabRPS manual article. The original Manual:Summary remains in the backup only.
Legacy navigation, downloads and examples remain explicitly historical. They must be reviewed for the relevant product before use in public help. Images were not silently replaced with unrelated artwork.
Verification
The destination template inventory contains every one of the 75 source template titles. The original and compatibility import passes reported Import finished. The full acceptance gallery renders all 75 template invocations. Plain code output, product labels, English fallbacks and removal of the absent protection helper were checked; no missing template links or parser-error elements remained after refresh. All 35 image instances on the template acceptance page loaded. The full 159-file validation gallery contains 158 loaded image elements and one explicit thumbnail-generation error for Workbench_Web.svg. No missing-file links remain. Use BathAfrica:Legacy template tests to inspect the collection and BathAfrica:Template examples for the newer shared templates.
Attribution
Source: SiteMasterDoc template collection. Original exported history is retained on each imported template. The source footer identifies Creative Commons Attribution; original imported histories also include enwiki-prefixed Admin and LabRPS names. Those historical labels are preserved as supplied and do not establish complete upstream FreeCAD provenance. Source links and the backup must be retained when resolving that upstream attribution.