Bahai9
Bahai9
Menu
Main page
About Bahai9
Recent changes
Random page
Help about MediaWiki
In other projects
Tools
What links here
Related changes
Upload file
Special pages
Printable version
Permanent link
Page information
Project page
Discussion
View history
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
About Bahai9
Recent changes
Random page
Help about MediaWiki
In other projects
Other projects
Indexes
Bahai-library
Tools
What links here
Related changes
Upload file
Special pages
Printable version
Permanent link
Page information

Bahai9:Converting between HTML and Wiki code

From Bahai9
Jump to:navigation, search

Since Mediawiki does not generally allow HTML code, and as it may sometimes be necessary to migrate HTML pages to wiki code (the reverse can be done easily by viewing the source code for any resulting Wiki page).

To strip HTML entirely out of pages, see http://www.gpgstudy.com/striphtml.php

See converting pages by wildcard replaces for general tips on making wildcard replacements (including the need to back-up files first.

After reading the above page on wildcards, a specific wildcard replacement (for MS Word for Mac at least) which could be useful is the following (remove both quotation marks if the file does not use them in "href"): (\<a href=")(*)("\>)(*)(\</a\>) and replace it with [\2 \4]

That's all!

Retrieved from "https://bahai9.com/index.php?title=Bahai9:Converting_between_HTML_and_Wiki_code&oldid=19734"
This page was last edited on 1 March 2025, at 20:34.
Content is available under Creative Commons Attribution-Share Alike or custom copyright unless otherwise noted.
Privacy policy
About Bahai9
Disclaimers
Powered by MediaWiki