MediaWiki: Difference between revisions
From Andreida
(Created page with "=== Colored Text === <pre> <span style="color: Red"> This is a colored text. </span> </pre> <span style="color: Red"> This is a colored text. </span>") |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=== Original Help Page === |
|||
https://www.mediawiki.org/wiki/Help:Formatting |
|||
=== Colored Text === |
=== Colored Text === |
||
<pre> <span style="color: Red"> This is a colored text. </span> </pre> |
<pre> <span style="color: Red"> This is a colored text. </span> </pre> |
||
<span style="color: Red"> This is a colored text. </span> |
<span style="color: Red"> This is a colored text. </span> |
||
=== Quote === |
|||
<pre> |
|||
<blockquote style="background-color: lightgrey; border: solid thin grey;"> |
|||
This is a test and not a test but it is a test!<br/> |
|||
What doesn't kill you can wound you pretty hard and should be avoided! |
|||
</blockquote> |
|||
</pre> |
|||
<blockquote style="background-color: lightgrey; border: solid thin grey;"> |
|||
This is a test and not a test but it is a test!<br/> |
|||
What doesn't kill you can wound you pretty hard and should be avoided! |
|||
</blockquote> |
|||
<pre> |
|||
<blockquote style="background-color: lightgrey; border: solid thin grey;text-align: center;"> |
|||
This is a test and not a test but it is a test!<br/> |
|||
What doesn't kill you can wound you pretty hard and should be avoided! |
|||
</blockquote> |
|||
</pre> |
|||
<blockquote style="background-color: lightgrey; border: solid thin grey;text-align: center;"> |
|||
This is a test and not a test but it is a test!<br/> |
|||
What doesn't kill you can wound you pretty hard and should be avoided! |
|||
</blockquote> |
|||
=== Faking Checkmarks === |
|||
{| class="wikitable" |
|||
|+ Faking Checkmarks |
|||
|- |
|||
! !! Column 1 !! Column 2 !! Column 3 |
|||
|- |
|||
| Row 1 || <span style="color: Green"> √ </span> || <span style="color: Red"> x </span> || ? |
|||
|- |
|||
|} |
|||
<pre> |
|||
<span style="color: Green"> &radic; </span> |
|||
<span style="color: Red"> x </span> |
|||
? |
|||
</pre> |
|||
=== /index.php/Main_Page ParseError from line 1813 of /usr/share/mediawiki/includes/user/User.php: syntax error, unexpected 'else' (T_ELSE) === |
|||
from: https://www.mediawiki.org/wiki/Topic:Up0s3t815a9ovwoi |
|||
change |
|||
1808 } else { |
|||
1809 // limits for logged-in users |
|||
1810 if ( isset( $limits['user'] ) ) { |
|||
1811 $userLimit = $limits['user']; |
|||
1812 } |
|||
1813 } else { |
|||
to |
|||
1808 } elseif ( isset( $limits['user'] ) ) { |
|||
1809 |
|||
1810 |
|||
1811 $userLimit = $limits['user']; |
|||
1812 // } |
|||
1813 } else { |
Revision as of 04:27, 15 April 2023
Original Help Page
https://www.mediawiki.org/wiki/Help:Formatting
Colored Text
<span style="color: Red"> This is a colored text. </span>
This is a colored text.
Quote
<blockquote style="background-color: lightgrey; border: solid thin grey;"> This is a test and not a test but it is a test!<br/> What doesn't kill you can wound you pretty hard and should be avoided! </blockquote>
This is a test and not a test but it is a test!
What doesn't kill you can wound you pretty hard and should be avoided!
<blockquote style="background-color: lightgrey; border: solid thin grey;text-align: center;"> This is a test and not a test but it is a test!<br/> What doesn't kill you can wound you pretty hard and should be avoided! </blockquote>
This is a test and not a test but it is a test!
What doesn't kill you can wound you pretty hard and should be avoided!
Faking Checkmarks
Column 1 | Column 2 | Column 3 | |
---|---|---|---|
Row 1 | √ | x | ? |
<span style="color: Green"> √ </span> <span style="color: Red"> x </span> ?
from: https://www.mediawiki.org/wiki/Topic:Up0s3t815a9ovwoi
change
1808 } else { 1809 // limits for logged-in users 1810 if ( isset( $limits['user'] ) ) { 1811 $userLimit = $limits['user']; 1812 } 1813 } else {
to
1808 } elseif ( isset( $limits['user'] ) ) { 1809 1810 1811 $userLimit = $limits['user']; 1812 // } 1813 } else {