Gswiki talk:Requests: Difference between revisions
(→Wehnimer's Landing elections: new section) |
(→Change log formatting to be compatible with visual edit: new section) |
||
| Line 2: | Line 2: | ||
[[:Category:Wehnimer's Landing politics]] is a couple years out of date. Could it be updated with the current mayor and council/envoy positions? [[User:ZHOUY1|ZHOUY1]] ([[User talk:ZHOUY1|talk]]) 13:40, 14 October 2025 (CDT) |
[[:Category:Wehnimer's Landing politics]] is a couple years out of date. Could it be updated with the current mayor and council/envoy positions? [[User:ZHOUY1|ZHOUY1]] ([[User talk:ZHOUY1|talk]]) 13:40, 14 October 2025 (CDT) |
||
== Change log formatting to be compatible with visual edit == |
|||
Most of the inline logs on the wiki currently use <nowiki><pre></nowiki> tags to preserve formatting. This seems to have a compatibility problem with the Visual Edit functionality which sometimes erases tags and makes pages unreadable until it is fixed by editing the source. It is also somewhat unwieldy when editors have to include a margin-right, the pages look normal on wide desktop monitors but can be scrunched on mobile. |
|||
Suggestion for an alternative: add an extra leading space before every line in the log and (optionally) wrap it in a <nowiki><div style="font-size: smaller"></nowiki> element for the font size. The leading spaces will make the wiki parser treat it as preformatted text without the need for a <nowiki><pre></nowiki> tag and it behaves nicely with Visual Edit. |
|||
[[User:ZHOUY1|ZHOUY1]] ([[User talk:ZHOUY1|talk]]) 17:24, 4 November 2025 (CST) |
|||
Revision as of 17:24, 4 November 2025
Wehnimer's Landing elections
Category:Wehnimer's Landing politics is a couple years out of date. Could it be updated with the current mayor and council/envoy positions? ZHOUY1 (talk) 13:40, 14 October 2025 (CDT)
Change log formatting to be compatible with visual edit
Most of the inline logs on the wiki currently use <pre> tags to preserve formatting. This seems to have a compatibility problem with the Visual Edit functionality which sometimes erases tags and makes pages unreadable until it is fixed by editing the source. It is also somewhat unwieldy when editors have to include a margin-right, the pages look normal on wide desktop monitors but can be scrunched on mobile.
Suggestion for an alternative: add an extra leading space before every line in the log and (optionally) wrap it in a <div style="font-size: smaller"> element for the font size. The leading spaces will make the wiki parser treat it as preformatted text without the need for a <pre> tag and it behaves nicely with Visual Edit.