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
MediaWiki handles ways to store file uploads into various backends. In a MediaWiki page we would use a syntax to have the file displayed such as [[File:My_Image_name.png]] which then gets handled by MediaWiki and generates tag for us.
On a static site, we won’t have this for us. We’ll have to have our static site generator to allow us to keep similar reference format without a need to migrate content.
Requirements
Convert MediaWiki syntax into a minimal HTML format
Keep feature to not require editors to have full hardcoded file reference URL
Ideal syntax could be something that we can handle file reference from either the static site generator or an Asynchronous client-side JavaScript handler.
Syntax proposal
<imgdata-remote="My_Image_name.png" />
Valid HTML markup
Will be easy to grab by static site generator to have a default "1x1.gif" if we let frontend do it for us
Leaves us liberty to re-implement later
The text was updated successfully, but these errors were encountered:
MediaWiki handles ways to store file uploads into various backends. In a MediaWiki page we would use a syntax to have the file displayed such as
[[File:My_Image_name.png]]
which then gets handled by MediaWiki and generates tag for us.On a static site, we won’t have this for us. We’ll have to have our static site generator to allow us to keep similar reference format without a need to migrate content.
Requirements
Ideal syntax could be something that we can handle file reference from either the static site generator or an Asynchronous client-side JavaScript handler.
Syntax proposal
The text was updated successfully, but these errors were encountered: