Difference between revisions of "User talk:TkTech"
(some wiki issues) |
(→Request for adding a custom css rule: new section) |
||
Line 20: | Line 20: | ||
Thanks for running this wiki - the technical value of what is posted here is excellent! « [[User:Saper|Saper]]<span style="font-size: 70%"> // </span>[[User talk:Saper|@talk]] » 02:21, 27 May 2018 (UTC) | Thanks for running this wiki - the technical value of what is posted here is excellent! « [[User:Saper|Saper]]<span style="font-size: 70%"> // </span>[[User talk:Saper|@talk]] » 02:21, 27 May 2018 (UTC) | ||
+ | |||
+ | == Request for adding a custom css rule == | ||
+ | |||
+ | I want to improve the page https://wiki.vg/Protocol_version_numbers in a way that the table is showing only release versions by default and has an expand button that will expand the table to show all the snapshot and release candidates. | ||
+ | |||
+ | Basically I make the entire table collapsible and the custom css rule forces the lines of releases to still show. | ||
+ | |||
+ | For that I want to edit the template https://wiki.vg/Protocol_version_numbers/Entry that it adds a class to the releases, | ||
+ | first line of that file needs to be updated to | ||
+ | <pre><nowiki><includeonly> |- {{#if: {{{snap|}}} | | class="nocollapse"}}</nowiki></pre> | ||
+ | |||
+ | and the table definition can be edited from | ||
+ | |||
+ | <pre><nowiki>{| class="wikitable"</nowiki></pre> | ||
+ | |||
+ | to | ||
+ | |||
+ | <pre><nowiki>{| class="mw-collapsible mw-collapsed wikitable"</nowiki></pre> | ||
+ | |||
+ | I tested this with custom stylesheet in preview already and it worked great, so if you add this custom css to the page, we can improve that too-long-page to be shorter by default: | ||
+ | <pre><nowiki>.nocollapse { display: table-row !important}</nowiki></pre> | ||
+ | |||
+ | This cannot be added as style in-page as the javascript for collapsing does replace it and it is not possible to define css styles in page source code. | ||
+ | --[[User:Janmm14|Janmm14]] ([[User talk:Janmm14|talk]]) 12:27, 30 October 2020 (UTC) |
Revision as of 12:27, 30 October 2020
Might I ask why my changed were reverted? Other pages such as servers had inactive projects pruned.
- Come talk to us in #mcdevs, we're discussing it. TkTech (tk@tkte.ch) (talk) 02:56, 4 January 2013 (MST)
A couple of things regarding the wiki
Hi, I have registered today and noticed a few things:
- I could not initially confirm my email because confirmation emails are sent from the domain
mg.wiki.vg
which does not currently exist. This is the error message I was having on my mail server:
May 27 01:35:35 m sm-mta[56110]: w4R1ZX0j056110: ruleset=check_mail, arg1=<bounce+8f0953.dedbf-minecraftdev=6speed.de@mg.wiki.vg>, relay=mail-s77.mailgun.info [184.173.153.205], reject=553 5.1.8 <bounce+8f0953.dedbf-minecraftdev=6speed.de@mg.wiki.vg>... Domain of sender address bounce+8f0953.dedbf-minecraftdev=6speed.de@mg.wiki.vg does not exist
I have worked around this by disabling domain checks temporarily, but that works only for myself.
- Something is broken with the Short URL configuration:
- http://wiki.vg/Special:AllPages?namespace=2 ignores the "namespace=2" parameter - the result should be the same as for http://wiki.vg/index.php?title=Special:AllPages&from=&to=&namespace=2
- To reproduce, go to Special:AllPages and try to switch to "User" from "(main)"
- http://wiki.vg/Special:AllPages?namespace=2 ignores the "namespace=2" parameter - the result should be the same as for http://wiki.vg/index.php?title=Special:AllPages&from=&to=&namespace=2
- Some spam is around - I have added a template {{Delete}} and marked some pages to Category:Pages to be deleted.
- Unfortunately most of the userpages and the corresponding user talk pages are spam - almost all(?) could be removed and the users blocked.
Thanks for running this wiki - the technical value of what is posted here is excellent! « Saper // @talk » 02:21, 27 May 2018 (UTC)
Request for adding a custom css rule
I want to improve the page https://wiki.vg/Protocol_version_numbers in a way that the table is showing only release versions by default and has an expand button that will expand the table to show all the snapshot and release candidates.
Basically I make the entire table collapsible and the custom css rule forces the lines of releases to still show.
For that I want to edit the template https://wiki.vg/Protocol_version_numbers/Entry that it adds a class to the releases, first line of that file needs to be updated to
<includeonly> |- {{#if: {{{snap|}}} | | class="nocollapse"}}
and the table definition can be edited from
{| class="wikitable"
to
{| class="mw-collapsible mw-collapsed wikitable"
I tested this with custom stylesheet in preview already and it worked great, so if you add this custom css to the page, we can improve that too-long-page to be shorter by default:
.nocollapse { display: table-row !important}
This cannot be added as style in-page as the javascript for collapsing does replace it and it is not possible to define css styles in page source code. --Janmm14 (talk) 12:27, 30 October 2020 (UTC)