Convert to Mediawiki Ai Prompt Template: Difference between revisions

From Irregularpedia
Jump to navigation Jump to search
init
Tag: wikieditor
 
fixed formatting
Tag: wikieditor
Line 1: Line 1:
== Prompt for Fixing Pages to MediaWiki Format ==
<pre>
Please convert the following page into MediaWiki format, following these instructions:


**Prompt for Fixing Pages to MediaWiki Format**
Convert Markdown Links to MediaWiki Syntax:
 
"Please convert the following page into MediaWiki format, following these instructions:
 
1. **Convert Markdown Links to MediaWiki Syntax**:
   - Replace Markdown links with MediaWiki links. For example, change `[Link Text](http://example.com)` to `[[http://example.com|Link Text]]`.
   - Replace Markdown links with MediaWiki links. For example, change `[Link Text](http://example.com)` to `[[http://example.com|Link Text]]`.


2. **Update Image and Media Links**:
Update Image and Media Links:
   - Convert Markdown image syntax `![Alt Text](http://example.com/image.jpg)` to MediaWiki syntax `[[File:image.jpg|alt=Alt Text]]`.
   - Convert Markdown image syntax `![Alt Text](http://example.com/image.jpg)` to MediaWiki syntax `[[File:image.jpg|alt=Alt Text]]`.


3. **Handle Lists**:
Handle Lists:
   - Replace Markdown list syntax `- item` or `* item` with MediaWiki list syntax:
   - Replace Markdown list syntax `- item` or `* item` with MediaWiki list syntax:
    ```mediawiki
     * item
     * item
     * item
     * item
    ```


4. **Preserve Code Blocks**:
 
   - Ensure code blocks are correctly formatted with `<pre>` tags. Maintain the content without any additional MediaWiki formatting:
Preserve Code Blocks:
    ```mediawiki
   - Ensure code blocks are correctly formatted with <pre> tags. Maintain the content without any additional MediaWiki formatting:
    <pre>
     content without wiki syntax formatting
     content without wiki syntax formatting
    </pre>
    ```


5. **Ensure Proper Formatting**:
Ensure Proper Formatting:
   - Ensure headers, tables, and other elements are converted to appropriate MediaWiki formatting.
   - Ensure headers, tables, and other elements are converted to appropriate MediaWiki formatting.


6. **Preserve Existing Content**:
Preserve Existing Content:
   - Keep all content intact and ensure that the conversion maintains the original meaning and context.
   - Keep all content intact and ensure that the conversion maintains the original meaning and context.


Please apply these changes to the provided content and ensure the final output aligns with MediaWiki standards."
Please apply these changes to the provided content and ensure the final output aligns with MediaWiki standards.
 
</pre>
 
 
 
 


[[Category: AI Template]]
[[Category: AI Template]]

Revision as of 00:46, 12 September 2024

Prompt for Fixing Pages to MediaWiki Format

Please convert the following page into MediaWiki format, following these instructions:

Convert Markdown Links to MediaWiki Syntax:
   - Replace Markdown links with MediaWiki links. For example, change `[Link Text](http://example.com)` to `[[http://example.com|Link Text]]`.

Update Image and Media Links:
   - Convert Markdown image syntax `![Alt Text](http://example.com/image.jpg)` to MediaWiki syntax `[[File:image.jpg|alt=Alt Text]]`.

Handle Lists:
   - Replace Markdown list syntax `- item` or `* item` with MediaWiki list syntax:
     * item
     * item


Preserve Code Blocks:
   - Ensure code blocks are correctly formatted with <pre> tags. Maintain the content without any additional MediaWiki formatting:
     content without wiki syntax formatting

Ensure Proper Formatting:
   - Ensure headers, tables, and other elements are converted to appropriate MediaWiki formatting.

Preserve Existing Content:
   - Keep all content intact and ensure that the conversion maintains the original meaning and context.

Please apply these changes to the provided content and ensure the final output aligns with MediaWiki standards.