MediaWiki: Difference between revisions

From Andreida
Line 7: Line 7:
<blockquote style="background-color: lightgrey; border: solid thin grey;">
<blockquote style="background-color: lightgrey; border: solid thin grey;">
This is a test and not a test but it is a test!
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>
</blockquote>



Revision as of 00:27, 2 December 2022

Colored Text

 <span style="color: Red"> This is a colored text. </span> 

This is a colored text.

Quote

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!

/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 {