[00:31:29] The task is fine, just add a link to the folder the images are setting on [00:31:58] It's instructing you on different ways you can give tech team the link, you don't need to do all of them [00:53:11] [1/24] Is there a way to escape the pipe `|` in templates? For example: [00:53:11] [2/24] ```html [00:53:11] [3/24] {{#tag:syntaxhighlight|{{{1}}}|lang=uxntal}}/includeonly [00:53:12] [4/24] ``` [00:53:12] [5/24] It only works if i use the `` tag, but I can't move the tag inside the template because the parameter `{{{1}}}` syntax is expanded first: [00:53:12] [6/24] ``` [00:53:13] [7/24] {{uxntal| [00:53:13] [8/24] %\s { 20 } %\n { 0a } %\0 { 00 } [00:53:13] [9/24] |18 @Console/write [00:53:13] [10/24] |100 [00:53:14] [11/24] ;message print/string [00:53:14] [12/24] BRK [00:53:15] [13/24] @print/string ( str* -- ) [00:53:15] [14/24] ( str* ) LDAk ( char ) .Console/write DEO [00:53:16] [15/24] ( str* ) INC2 ( next ) LDAk ?/string [00:53:16] [16/24] POP2 JMP2r [00:53:17] [17/24] @message "Hello \s "World! \n \0 [00:53:17] [18/24] /nowiki}} [00:53:18] [19/24] ``` [00:53:18] [20/24] so this doesn't work: [00:53:19] [21/24] ```html [00:53:19] [22/24] {{#tag:syntaxhighlight|{{#tag:nowiki|{{{1}}}}}|lang=uxntal}}/includeonly [00:53:20] [23/24] ``` [00:53:20] [24/24] https://cdn.discordapp.com/attachments/407537962553966603/1360055043197374525/image.png?ex=67f9b976&is=67f867f6&hm=9d998a807aa8a231f690aa1e8f7bd1f9d3c00ffb1878b380e17a3b31dc939f20& [00:54:00] `|` is valid syntax in uxntal and there are possibly other punctuation symbols characters that collide? [01:07:10] anyone else's infoboxes with image galleries in them just not working [01:09:38] I see this but I don't understand it: [01:13:33] [1/14] I just found using `{{!}}` works: [01:13:33] [2/14] ``` [01:13:33] [3/14] {{uxntal| [01:13:34] [4/14] %\s { 20 } %\n { 0a } %\0 { 00 } [01:13:34] [5/14] {{!}}18 @Console/write [01:13:34] [6/14] {{!}}100 [01:13:34] [7/14] ;message print/string [01:13:35] [8/14] BRK [01:13:35] [9/14] @print/string ( str* -- ) [01:13:35] [10/14] ( str* ) LDAk ( char ) .Console/write DEO [01:13:36] [11/14] ( str* ) INC2 ( next ) LDAk ?/string [01:13:36] [12/14] POP2 JMP2r [01:13:37] [13/14] @message "Hello \s "World! \n \0}} [01:13:37] [14/14] ``` [01:14:37] now to see if there is a way to replace it instead, else just using the highlight tag is easier 😅 [01:14:51] what in tarnation [01:15:17] found it here: [01:31:15] I don't understand now how to make a lua module, the adventure continues lol [01:34:35] oh I got it 🤯 [01:49:59] Hey, how were you able to upload that .woff file? [01:50:34] Probably need to enable the file extenion in [[ManageWiki]] [01:50:35] [01:51:49] Sorry was that in response to me or snufkin? [01:53:26] Does Miraheze block people using a VPN from editing pages, and if so is there a work around? [01:53:57] [1/36] Solved! ✅ [01:53:57] [2/36] * Lua `Module:Escape` from : [01:53:57] [3/36] ```lua [01:53:58] [4/36] local p = {} [01:53:58] [5/36] function p.pipe( f ) [01:53:58] [6/36] local out = {} [01:53:59] [7/36] for _, arg in ipairs( f:getParent().args ) do [01:53:59] [8/36] table.insert( out, arg ) [01:53:59] [9/36] end [01:54:00] [10/36] return mw.text.trim( table.concat( out, '|' ) ) [01:54:00] [11/36] end [01:54:01] [12/36] return p [01:54:01] [13/36] ``` [01:54:01] [14/36] * `Template:Uxntal`: [01:54:02] [15/36] ```html [01:54:03] [16/36] {{#tag:syntaxhighlight|{{#invoke:escape|pipe|{{{1}}}}}|lang=uxntal}}/includeonly [01:54:03] [17/36] ``` [01:54:03] [18/36] * Wikitext: [01:54:04] [19/36] ``` [01:54:04] [20/36] {{uxntal| [01:54:05] [21/36] %\s { 20 } [01:54:05] [22/36] %\n { 0a } [01:54:06] [23/36] %\0 { 00 } [01:54:07] [24/36] |18 @Console/write [01:54:07] [25/36] |100 [01:54:07] [26/36] ;message print/string [01:54:08] [27/36] BRK [01:54:08] [28/36] @print/string ( str* -- ) [01:54:09] [29/36] LDAk .Console/write DEO [01:54:10] [30/36] INC2 LDAk ?/string [01:54:10] [31/36] POP2 JMP2r [01:54:10] [32/36] @message "Hello \s "World! \n \0 [01:54:11] [33/36] }} [01:54:12] [34/36] ``` [01:54:12] [35/36] beautiful! ❤️ [01:54:12] [36/36] https://cdn.discordapp.com/attachments/407537962553966603/1360070335839604786/image.png?ex=67f9c7b4&is=67f87634&hm=c20ea851a9548b5f8beef3b88df320befacd1527d582c60370baa328c6e8cace& [01:56:42] [1/2] Found the answer to my own question [01:56:42] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1360071028163874986/Screenshot_20250410-2156042.png?ex=67f9c85a&is=67f876da&hm=e6f2f115be2718f2031d56cfc1e66183edb35455f3f03c498fd79206fd91a627& [02:49:18] Why aren't uploaded images showing in infoboxes? [02:57:00] #announcements ? [03:03:57] added `{{uxntal|...}}` syntax and escape module to rosetta code! [03:05:56] so I cant add iframes to embed the uxn javascript vm implementation, but I it seems I can do one in lua and make it return the result in an html table [03:08:27] [1/27] something like [03:08:28] [2/27] ```html [03:08:28] [3/27] {{uxn| [03:08:28] [4/27] %\s { 20 } [03:08:29] [5/27] %\n { 0a } [03:08:29] [6/27] %\0 { 00 } [03:08:29] [7/27] |18 @Console/write [03:08:29] [8/27] |100 [03:08:30] [9/27] ;message print/string [03:08:30] [10/27] BRK [03:08:30] [11/27] @print/string ( str* -- ) [03:08:31] [12/27] LDAk .Console/write DEO [03:08:31] [13/27] INC2 LDAk ?/string [03:08:32] [14/27] POP2 JMP2r [03:08:32] [15/27] @message "Hello \s "World! \n \0 [03:08:33] [16/27] }}} [03:08:33] [17/27] ``` [03:08:34] [18/27] it assembles the bytecode and returns: [03:08:34] [19/27] ``` [03:08:35] [20/27] '''Output:''' [03:08:35] [21/27]
[03:08:36] 	  [22/27] Hello World!
[03:08:36] 	  [23/27] /pre
[03:08:37] 	  [24/27] '''Debug:'''
[03:08:38] 	  [25/27] WST 00 00 00 00 00 00 00 00|<00
[03:08:38] 	  [26/27] RST 00 00 00 00 00 00 00 00|<00
[03:08:38] 	  [27/27] ```
[03:09:30] 	  https://cdn.discordapp.com/attachments/407537962553966603/1360089347205890170/image.png?ex=67f9d969&is=67f887e9&hm=9bc29bc5317141fbf12af391e195c8b9a0ae16cb719db5e8d34af92a3b2c6e50&
[03:10:20] 	  Meaning there are no stack leaks at the end
[03:10:25] 	  ❤️
[03:10:54] 	  [1/4] ```
[03:10:54] 	  [2/4] WST 00 00 00 00 00 00 00 00|<00
[03:10:54] 	  [3/4] RST 00 00 00 00 00 00 00 00|<00
[03:10:55] 	  [4/4] ```
[03:27:02] 	  @snowstacked mention?!?!
[03:30:14] 	  I'm gonna do it! uxnmin.c is less than 150 lines of code 
[03:30:37] 	  with macros, but I can add a step to the uxn_eval so it doesn't hang my wiki lol
[03:31:04] 	  now to learn lua! 🚶‍➡️
[03:50:44] 	  Has anyone elses DiscordNotifications get bugged since today? The diff link now seemingly URL encodes the question mark
[03:57:57] 	  Since (atleast as far as I can see) this is happening here and on another wiki's server aswell I'm gonna ping @cosmicalpha
[03:58:28] 	  I'll look tomorrow.
[03:59:20] 	  Nothing should've changed though.
[03:59:46] 	  Alright
[04:15:58] 	  [1/2] this is working so far! 
[04:15:58] 	  [2/2] in the template `{{#invoke:Uxn|test_stack}}`
[04:16:03] 	  https://uxnomicon.miraheze.org/wiki/Test
[04:16:33] 	  https://cdn.discordapp.com/attachments/407537962553966603/1360106222258491485/image.png?ex=67f9e920&is=67f897a0&hm=322ceb6af8720545bbc8f2d96345058e46c7aed2f9ff01e7203cff1f6c6cb2b8&
[04:16:45] 	  but my js gadget is not
[04:16:47] 	  
[04:17:13] 	  https://cdn.discordapp.com/attachments/407537962553966603/1360106388990333018/image.png?ex=67f9e948&is=67f897c8&hm=de8373477ffe3ecb51942627a56cea2d08e6dc39d04b69b1c02ea9af73d7ab32&
[04:17:39] 	  and I think that even if it worked the only way to pass parameters is via the url queries
[04:17:47] 	  I think lua it is :)
[04:18:11] 	  It appears I have not listened and decided to do, in fact, import Wikipedia
[04:18:40] 	  oh my
[04:19:04] 	  Well more like "I did it before I knew that I shouldn't"
[04:19:25] 	  Fair
[04:19:43] 	  maybe we should put more bold warnings on the import page
[04:20:09] 	  some ⚠️
[04:20:14] 	  Or bright red arrows
[04:20:23] 	  Or all of the above
[04:21:24] 	  https://tenor.com/mtzdDiGNUhN.gif
[04:21:26] 	  yeah, especially would be a good idea to make it so that a warning appears directly under the input box when the wiki you're importing from is Wikipedia
[04:23:09] 	  There’s technical limitations with implementing something like that
[04:23:19] 	  possible, but a headache
[04:23:25] 	  damn
[04:23:46] 	  Could use with some reinforcement though yeah
[04:24:01] 	  More bold text probably
[04:26:03] 	  I'm gonna redo the templates with portableinfobox lol
[04:46:16] 	  Is it ok to do what I want to do? because the lua is ran server side right?
[04:47:50] 	  [1/25] the idea is to do 
[04:47:51] 	  [2/25] ```
[04:47:51] 	  [3/25] The mod function can be implemented as:
[04:47:51] 	  [4/25] {{uxn|
[04:47:52] 	  [5/25] #0a03 mod
[04:47:52] 	  [6/25] BRK
[04:47:52] 	  [7/25] @mod ( a b -- a%b ) DIVk MUL SUB JMP2r
[04:47:52] 	  [8/25] }}
[04:47:53] 	  [9/25] ```
[04:47:53] 	  [10/25] and have it return the highlighted input code, then the output if any and finally the stacks
[04:47:53] 	  [11/25] > The mod function can be implemented as:
[04:47:54] 	  [12/25] > 
[04:47:54] 	  [13/25] > Code:
[04:47:55] 	  [14/25] > #0a03 mod
[04:47:55] 	  [15/25] > 
[04:47:56] 	  [16/25] > BRK
[04:47:56] 	  [17/25] > 
[04:47:57] 	  [18/25] > @mod ( a b -- a%b ) DIVk MUL SUB JMP2r
[04:47:57] 	  [19/25] > 
[04:47:58] 	  [20/25] > Output:
[04:47:58] 	  [21/25] > None
[04:47:59] 	  [22/25] > 
[04:47:59] 	  [23/25] > Debug:
[04:48:00] 	  [24/25] > WST 00 00 00 00 00 00 00 01|<00
[04:48:00] 	  [25/25] > RST 00 00 00 00 00 00 00 00|<00
[04:49:27] 	  I'm reading terms of use but it seems modules are within good use and they are already limited in execution server side
[04:50:41] 	  I could add a very small max step to the uxn evaluator so that it only allows small examples or avoids ininite loops
[04:55:53] 	  Lua has controls in place that should prevent you managing to do anything dangerous as long as you're acting with good faith
[04:55:57] 	  Which you are
[04:56:00] 	  So you'll be fine
[05:40:42] 	  thank you, I have been thinking, uxn is very small, 64kb of ram, could limit to 1000 steps, uxn does not error in any way, stacks are circular so no overflows nor underflows, div by zero is 00, there would only be console write device (to a static string returned by lua and interpolated to the html) so it should be pretty safe in that sense
[05:41:03] 	  but I am also trying to see if I can do the same with gadgets in js to offload to the client side
[05:41:08] 	  but I get this error
[05:41:29] 	  `Skipped unavailable module ext.gadget.Uxn`
[05:41:39] 	  I have it enabled in my preferences and in the config
[05:42:06] 	  * this is my gadget definition 
[05:42:16] 	  `Uxn[ResourceLoader|default|targets=desktop]|Uxn.js`
[05:43:14] 	  My gadget is listed: 
[05:43:32] 	  it is just trying to log a string for now 
[05:47:30] 	  This is my test page that shows the error in the developer console: 
[05:48:29] 	  Please ignore me, it must have been some cache issue it works ™️
[05:48:31] 	  > Uxn gadget loaded!
[05:48:36] 	  🎉
[07:13:43] 	  there is some progress with the js version instead
[07:13:46] 	  https://cdn.discordapp.com/attachments/407537962553966603/1360150820234072145/image.png?ex=67fa12a9&is=67f8c129&hm=74e6a4a76d1f0fb00bc7471570e4281f5a86f5d76e3c9086280e2cdd507890e6&
[07:19:07] 	  it messes the css of the whole wiki and loads the sandbox in all pages not just the one I intended, but I can go to sleep in peace seeing hello world 🥹
[07:19:47] 	  it also just runs once, it didn't want to print Hello MiraHeze World! the second time
[07:19:51] 	  good night everyone!
[07:19:54] 	  o/
[07:22:44] 	  ughhh I hardcoded it lol, time to go to sleep
[07:40:18] 	  is there a way for images to automatically be resized on mobile like how fandom does it
[07:54:49] 	  when inserting a gallery into an image parameter in a portable infobox, the gallery does not appear
[08:27:38] 	  Hey my wiki got marked as inactive and i removed the checkbox but the notice is still there. And it somehow messed up my css
[10:45:52] 	  #announcements i believe
[10:45:55] 	  images are just boof rn
[10:47:40] 	  [1/2] How to fix this
[10:47:40] 	  [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1360204650468610269/Screenshot_20250411-184635_1.png?ex=67fa44cc&is=67f8f34c&hm=9002466893a98a8d011ff7a67b0e3d17e9bc81d9fd3300d095dff7f53a543f72&
[10:51:19] 	  you added a src attribute that is empty
[10:51:24] 	  shrimple
[10:54:24] 	  Did you import from Wikipedia?
[11:30:06] 	  no its an issue with PI
[11:55:22] 	  Yes
[12:31:54] 	 importing templates from Wikipedia is like digging straight down in Minecraft
[12:37:32] 	  Galleries just casually not working anymore I see
[12:39:16] 	  normal ones too?
[12:48:03] 	  Only in infoboxes weirdly enough
[12:48:25] 	  Normal images work in infoboxes and galleries work on the page itself. Just galleries in infoboxes aren't working.
[12:55:24] 	  i suppose this needs a phorge task
[12:56:02] 	  apparently fixed a few seconds ago
[13:50:24] 	  does anyone know how to fix search suggestions not showing up on mobile on the timeless skin
[13:57:29] 	  its working just fine for me rn
[13:59:03] 	  i said that then reloaded the page and it broke
[13:59:25] 	  Lol
[13:59:36] 	  first time i reloaded it to check it worked
[13:59:42] 	  did it again and goodbye it went
[13:59:54] 	  along with all the sitewide css????????
[14:01:50] 	  well i got that back but galleries are broken still so thats great
[14:09:09] 	  [1/3] I’ll teach 10 people to earn $30k or more within 72 hours but you will pay me 10% of your profit when you receive it. Note only interested people should apply, drop a message let's get started by asking (HOW) 
[14:09:10] 	  [2/3] Telegram 
[14:09:10] 	  [3/3] @Official_Benjamincurry00
[14:11:09] 	  maybe loading is busted again
[14:11:25] 	  you get plain HTML/broken CSS?
[14:11:32] 	  css is fine now
[14:11:41] 	  galleries in infoboxes are gone
[14:12:21] 	  yeah man i can't advice anything but bother tech team
[14:13:06] 	  who would that be........
[14:13:43] 	  there are more and more reports of broken pi
[14:13:52] 	  phorge task is needed
[14:14:01] 	  dunno what that is
[14:14:12] 	  https://discord.com/channels/407504499280707585/1360051570003411053
[14:14:43] 	  [1/2] [[Phorge]]
[14:14:43] 	  [2/2] issues tracker/place to make tasks for tech team
[14:14:43] 	  
[14:17:59] 	  [1/2] no issues on my wikis w/ timeless 
[14:17:59] 	  [2/2] using mobilefrontend?
[14:19:36] 	  here's the wiki https://shellbound.miraheze.org/wiki/Main_Page
[14:20:10] 	  what is the priority for something like this lol
[14:20:55] 	  try searching up "basic sword"
[14:23:11] 	  I have no issues, both desktop and mobile mode, although I still suggest to disable MobileFrontend since you use Timeless on desktop - it's mobile adaptive and doesn't need mobile mode switch
[14:23:27] 	  https://cdn.discordapp.com/attachments/407537962553966603/1360258953765851237/IMG_20250411_172134.jpg?ex=67fa775e&is=67f925de&hm=f93ee2fdf8bccb1be3a58188474330be9b7974844a786f670169cbd519b115e1&
[14:23:42] 	  oh
[14:23:48] 	  ok
[14:23:50] 	  nvm i should just read
[14:24:25] 	  check in incognito mode, if it works I'd suggest to clean browser cache and/or cookies?
[14:28:21] 	  This is probably an issue related to https://issue-tracker.miraheze.org/T13386
[14:29:03] 	  This I mean
[14:31:16] 	  Also it seems like the diff links on the wiki edit log bot broke
[14:31:42] 	  yeah thats what happens to me
[14:31:56] 	  every day
[14:33:55] 	  nope not working
[14:35:18] 	  [1/2] works for me
[14:35:18] 	  [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1360261936557854882/IMG_1385.png?ex=67fa7a26&is=67f928a6&hm=eb31d871f0856124016ffecee0287ee31c8353cda07f4d3f952ea4fde558cd94&
[14:35:51] 	  So, I got a question regarding Infoboxes using the Portable Infobox Editor
[14:36:12] 	  So I figured out how to use both the Editor as well as to create TemplateData for the resulting infobox
[14:36:14] 	  But
[14:36:31] 	  [1/2] How do I get it to look like a Wikipedia-style Infobox?
[14:36:32] 	  [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1360262244398530783/Screenshot_20250411-113524.png?ex=67fa7a6f&is=67f928ef&hm=54b820c94a7108f962289341fd1f5dcc2ef16fc579442bff762a5a4e8387b13e&
[14:38:03] 	  CSS poking
[14:40:02] 	  How much?…
[14:41:11] 	  Is there like… a preexisting tutorial I could follow? Or a finished script I only have to modify?
[14:53:12] 	  someone has done that, wikipedia restyling on portable infobox, but i don't have that
[14:53:59] 	  I can give examples of just changing the look, what classes are used
[14:55:10] 	  CSS modification is usually poking around elements w/ your browser's element inspector (right click) and putting your changes into MediaWiki:Common.css page or TemplateStyles subpages for infoboxes
[14:55:39] 	  Mhm
[15:11:13] 	  [1/2] am i losing my mind
[15:11:13] 	  [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1360270975241027705/Screenshot_2025-04-11_111043.png?ex=67fa8291&is=67f93111&hm=a725db992e4f96d4bbc2a90118233ce4b47e062ce1494f5f76957748104fa49d&
[15:13:06] 	  how is that a duplicate
[15:30:35] 	  template news?
[15:30:59] 	  👌 done
[15:31:43] 	  anyone have a good tutorial+
[15:37:39] 	  for what
[15:37:47] 	  for template:news
[15:42:39] 	  i'm not sure what you're asking. are you trying to create a template on your wiki?
[15:49:03] 	  [1/2] there are no tutorials to make specific templates
[15:49:04] 	  [2/2] you learn how to code them and look at existing examples to make your own thing, or import existing (you still gotta understand how it works tho)
[15:49:16] 	  [1/2] there are no tutorials to make specific templates
[15:49:16] 	  [2/2] you learn how to code them and look at existing examples to make your own thing, or import existing (you still gotta understand how it works tho)
[15:49:48] 	  i guess, or just asking if anyone already has converted one from wikipedia
[15:49:49] 	  I can drop you mine as example
[15:50:00] 	  🙏
[15:52:59] 	  [1/4] 
[15:52:59] 	  [2/4] 
[15:52:59] 	  [3/4] 
[15:52:59] 	  [4/4] the trick on the last page is using `` tags so only recent news are shown on the main page/template
[15:58:10] 	  [1/2] is there a way to add a hierachy?
[15:58:11] 	  [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1360282791882784940/image.png?ex=67fa8d92&is=67f93c12&hm=3bfb33dca87b384c18fa2e3168e8d1d50e80531c059bd0b91a771d08c45d11cf&
[15:58:31] 	  like i want bureaucrat, administrator, interface administrator, and then contributor
[17:20:43] 	  What’s the way to add a box that displays the number of pages on your wiki? (I’m relatively new to Miraheze)
[17:31:22] 	  `{{NUMBEROFARTICLES}}` magic word will give you this stat, you can just put it in plain text, the box part is just HTML element building
[17:31:53] 	  Yeah I was wondering how to add the box extension or create it
[17:32:20] 	  what do you mean by box exactly here
[17:32:35] 	  asking cus I might think of something different
[17:39:00] 	  Eee what the
[17:47:07] 	  I know that wikia wikis has the number of articles on the main page, I was wondering if you could put something similar in a Miraheze wiki
[17:58:31] 	  [1/5] yes, I just told you how the stat is pulled, w/ that "code word"
[17:58:31] 	  [2/5] "boxes" on main page are usually done as templates, it will involve basic HTML coding
[17:58:31] 	  [3/5] like
[17:58:32] 	  [4/5] `
'''Welcome to XYZ Wiki''' [17:58:32] [5/5] We currently have {{NUMBEROFARTICLES}} articles/div` [17:58:48] Thanks [19:20:43] it works on firefox mobile but not chrome [19:28:10] incheresting [19:28:23] I indeed use firefox [19:39:12] you can use css [19:39:15] and `order` [19:39:24] https://developer.mozilla.org/en-US/docs/Web/CSS/order [19:39:24] [1/2] anyone know why some gif's do this [19:39:25] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1360338467305029792/pX5oWPL.png?ex=67fac16c&is=67f96fec&hm=2319b549e7d1fc1ddc501dc9f32d4546651d9db573a2ec3433e2bce6a66babeb& [19:47:09] So I'm having a weird issue with CSS and Infoboxes [19:47:59] [1/10] I have the following in an infobox: [19:47:59] [2/10] [19:47:59] <MirahezeRelay> <guilherme4383> [3/10] <default><center>{{PAGENAME}}/center/default [19:48:00] <MirahezeRelay> <guilherme4383> [4/10] /title [19:48:00] <MirahezeRelay> <guilherme4383> [5/10] As well as the following css code snippet regarding the theme they use: [19:48:00] <MirahezeRelay> <guilherme4383> [6/10] .portable-infobox.pi-theme-country .pi-title { [19:48:01] <MirahezeRelay> <guilherme4383> [7/10] text-align: center; [19:48:01] <MirahezeRelay> <guilherme4383> [8/10] border-bottom: 1px solid #a2a9b1; [19:48:01] <MirahezeRelay> <guilherme4383> [9/10] } [19:48:01] <MirahezeRelay> <guilherme4383> [10/10] But regardless of what I do, the title isn't centered [19:48:21] <MirahezeRelay> <guilherme4383> Idk how to fix this [19:48:39] <MirahezeRelay> <guilherme4383> Every time I thought I fixed it, I check in later just to realize it was back [19:50:14] <MirahezeRelay> <gummiel, replying to toastedwell> Probably related to the latest #announcements I would guess [19:51:26] <MirahezeRelay> <toastedwell, replying to gummiel> it only happens with this gif thou [19:51:42] <MirahezeRelay> <toastedwell> my other gifs load fine [19:51:58] <MirahezeRelay> <guilherme4383, replying to guilherme4383> It's starting to drive me crazy [19:51:59] <MirahezeRelay> <shaun2177, replying to toastedwell> did you try purging a page [19:51:59] <MirahezeRelay> <shaun2177> with a working gif [19:52:25] <MirahezeRelay> <guilherme4383> i'm been doing edits since late last night and it's already almost five in the afternoom [19:52:39] <MirahezeRelay> <guilherme4383> Does anyone know what I can do to get the title to be centered?!? [19:53:38] <MirahezeRelay> <guilherme4383> [1/56] Infobox template: [19:53:38] <MirahezeRelay> <guilherme4383> [2/56] ``<infobox theme = "country"> [19:53:38] <MirahezeRelay> <guilherme4383> [3/56] <title source="title"> [19:53:38] <MirahezeRelay> <guilherme4383> [4/56] <default><center>{{PAGENAME}}/center/default [19:53:39] <MirahezeRelay> <guilherme4383> [5/56] /title [19:53:39] <MirahezeRelay> <guilherme4383> [6/56] <image source="coat of arms"> [19:53:39] <MirahezeRelay> <guilherme4383> [7/56] <caption>Coat of arms/caption [19:53:40] <MirahezeRelay> <guilherme4383> [8/56] /image [19:53:40] <MirahezeRelay> <guilherme4383> [9/56] <image source="flag"> [19:53:40] <MirahezeRelay> <guilherme4383> [10/56] <caption>Flag/caption [19:53:41] <MirahezeRelay> <guilherme4383> [11/56] /image [19:53:41] <MirahezeRelay> <guilherme4383> [12/56] <data source="timespan"> [19:53:42] <MirahezeRelay> <guilherme4383> [13/56] <label>Timespan/label [19:53:43] <MirahezeRelay> <guilherme4383> [14/56] /data [19:53:43] <MirahezeRelay> <guilherme4383> [15/56] <data source="demonym"> [19:53:43] <MirahezeRelay> <guilherme4383> [16/56] <label>Demonym/label [19:53:44] <MirahezeRelay> <guilherme4383> [17/56] /data [19:53:44] <MirahezeRelay> <guilherme4383> [18/56] <data source="motto"> [19:53:45] <MirahezeRelay> <guilherme4383> [19/56] <label>Motto/label [19:53:45] <MirahezeRelay> <guilherme4383> [20/56] /data [19:53:46] <MirahezeRelay> <guilherme4383> [21/56] <data source="anthem"> [19:53:46] <MirahezeRelay> <guilherme4383> [22/56] <label>Anthem/label [19:53:47] <MirahezeRelay> <guilherme4383> [23/56] /data [19:53:47] <MirahezeRelay> <guilherme4383> [24/56] <data source="capital"> [19:53:48] <MirahezeRelay> <guilherme4383> [25/56] <label>Capital/label [19:53:49] <MirahezeRelay> <guilherme4383> [26/56] /data [19:53:49] <MirahezeRelay> <guilherme4383> [27/56] <data source="national language"> [19:53:49] <MirahezeRelay> <guilherme4383> [28/56] <label>National Language/label [19:53:50] <MirahezeRelay> <guilherme4383> [29/56] /data [19:53:50] <MirahezeRelay> <guilherme4383> [30/56] <data source="government structure"> [19:53:51] <MirahezeRelay> <guilherme4383> [31/56] <label>Government Structure/label [19:53:51] <MirahezeRelay> <guilherme4383> [32/56] /data [19:53:52] <MirahezeRelay> <guilherme4383> [33/56] <data source="head of state"> [19:53:52] <MirahezeRelay> <guilherme4383> [34/56] <label>Head of State/label [19:53:53] <MirahezeRelay> <guilherme4383> [35/56] /data [19:53:53] <MirahezeRelay> <guilherme4383> [36/56] <data source="religion"> [19:53:54] <MirahezeRelay> <guilherme4383> [37/56] <label>Religion/label [19:53:54] <MirahezeRelay> <guilherme4383> [38/56] /data [19:53:55] <MirahezeRelay> <guilherme4383> [39/56] /infobox`` [19:53:55] <MirahezeRelay> <guilherme4383> [40/56] Common.css: [19:53:56] <MirahezeRelay> <guilherme4383> [41/56] ``/ CSS placed here will be applied to all skins / [19:53:56] <MirahezeRelay> <guilherme4383> [42/56] / === “Country” theme for Portable Infobox === / [19:53:57] <MirahezeRelay> <guilherme4383> [43/56] .portable-infobox.pi-theme-country { [19:53:57] <MirahezeRelay> <guilherme4383> [44/56] border: 2px solid #a2a9b1; / You can change thickness and color here / [19:53:58] <MirahezeRelay> <guilherme4383> [45/56] background-color: #f8f9fa; [19:53:58] <MirahezeRelay> <guilherme4383> [46/56] border-collapse: collapse; [19:53:59] <MirahezeRelay> <guilherme4383> [47/56] width: 22em; [19:53:59] <MirahezeRelay> <guilherme4383> [48/56] font-size: 88%; [19:54:00] <MirahezeRelay> <guilherme4383> [49/56] line-height: 1.2em; [19:54:01] <MirahezeRelay> <guilherme4383> [50/56] float: right; [19:54:01] <MirahezeRelay> <guilherme4383> [51/56] margin: 0.5em 0 0.5em 1em; [19:54:01] <MirahezeRelay> <guilherme4383> [52/56] } [19:54:02] <MirahezeRelay> <guilherme4383> [53/56] .portable-infobox.pi-theme-country .pi-title { [19:54:02] <MirahezeRelay> <guilherme4383> [54/56] text-align: center; [19:54:03] <MirahezeRelay> <guilherme4383> [55/56] border-bottom: 1px solid #a2a9b1; [19:54:04] <MirahezeRelay> <guilherme4383> [56/56] }`` [19:54:26] <MirahezeRelay> <guilherme4383> [1/2] This is the way the infobox looks [19:54:27] <MirahezeRelay> <guilherme4383> [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1360342250361454642/Captura_de_Tela_68.png?ex=67fac4f2&is=67f97372&hm=5da6662510d6aa3744029cc1d173a756ff75fc2fcddb4703b967dff4bc599f2b& [19:54:35] <MirahezeRelay> <guilherme4383> The title is very clearly not centered [19:54:55] <MirahezeRelay> <toastedwell, replying to shaun2177> tried that [19:55:19] <MirahezeRelay> <shaun2177, replying to toastedwell> and is the working gif not working now? [19:55:25] <MirahezeRelay> <shaun2177> if it isnt working then its <id:browse> [19:55:33] <MirahezeRelay> <toastedwell, replying to shaun2177> working gif still works [19:56:09] <MirahezeRelay> <shaun2177> no clue [19:56:49] <MirahezeRelay> <shaun2177, replying to guilherme4383> try remoiving the <center> tag and adding !important after text-align center [19:56:56] <MirahezeRelay> <shaun2177> i believe the center tag is deprecated [19:57:14] <MirahezeRelay> <guilherme4383, replying to shaun2177> I tried text align too and it didn't work [19:57:24] <MirahezeRelay> <shaun2177> did you remove the center tag when you did that [19:57:41] <MirahezeRelay> <guilherme4383, replying to shaun2177> Yes [19:57:46] <MirahezeRelay> <shaun2177> CSS sucks [19:57:47] <MirahezeRelay> <shaun2177> hold on [19:58:15] <MirahezeRelay> <guilherme4383> !important worked somehow [19:58:22] <MirahezeRelay> <guilherme4383> Idk if it will keep working tho [19:58:36] <MirahezeRelay> <guilherme4383> Everytime I get it to work, I breaks after a while [19:58:37] <MirahezeRelay> <shaun2177, replying to guilherme4383> so another CSS is overriding it [19:58:49] <MirahezeRelay> <guilherme4383, replying to shaun2177> The thing is, there aren't any [19:58:54] <MirahezeRelay> <theoneandonlylegroom, replying to guilherme4383> [1/5] it's not advised to drop full raw code in chats, better link the page [19:58:54] <MirahezeRelay> <theoneandonlylegroom, replying to guilherme4383> [2/5] as for header - <center> won't work here (in fact it's an outdated tag, browsers see it as error) [19:58:54] <MirahezeRelay> <theoneandonlylegroom, replying to guilherme4383> [3/5] css: [19:58:54] <MirahezeRelay> <theoneandonlylegroom, replying to guilherme4383> [4/5] `.pi-title, .pi-header, .pi-navigation { [19:58:55] <MirahezeRelay> <theoneandonlylegroom, replying to guilherme4383> [5/5] text-align: center; }` [19:59:06] <MirahezeRelay> <guilherme4383> There is no css style page for the template [19:59:31] <MirahezeRelay> <shaun2177, replying to guilherme4383> wdym it breaks after a while [20:00:49] <MirahezeRelay> <guilherme4383, replying to shaun2177> Like, I find a way to get it working, I don't mess with CSS or the template afterwards, I get back to the article with the infobox after like a half hour and it's not centered anymore [20:01:18] <MirahezeRelay> <shaun2177> try just purging the page or something and see if it breaks [20:01:32] <MirahezeRelay> <shaun2177> if you have a theme maybe it has a CSS file overriding pi.title [20:02:09] <MirahezeRelay> <guilherme4383, replying to shaun2177> Nothing happened this time [20:02:18] <MirahezeRelay> <theoneandonlylegroom> if you want all infoboxes to have centered header you don't use theme thing [20:02:34] <MirahezeRelay> <theoneandonlylegroom> just `.pi-header` [20:02:41] <MirahezeRelay> <guilherme4383> Title, not header [20:02:56] <MirahezeRelay> <theoneandonlylegroom> okay, whatever you need [20:03:17] <MirahezeRelay> <theoneandonlylegroom> theme thing isn't that important if you aim for Wikipedia look [20:03:33] <MirahezeRelay> <shaun2177, replying to theoneandonlylegroom> he already has -pi.title as text-align centered [20:03:33] <MirahezeRelay> <theoneandonlylegroom> in the base they all look same [20:03:47] <MirahezeRelay> <shaun2177> i'm tryna figure out why he says it breaks once in a while [20:04:19] <MirahezeRelay> <guilherme4383> So I made the title not be dependent on a theme and removed the theme from the infobox source [20:04:21] <MirahezeRelay> <guilherme4383> It broke again [20:05:30] <MirahezeRelay> <guilherme4383> Programming in C is easier than this [20:06:07] <MirahezeRelay> <shaun2177> i'm assuming you removed ".portable-infobox.pi-theme-country" from your CSS file as well [20:06:52] <MirahezeRelay> <guilherme4383, replying to shaun2177> Yeah, make it only .portable-infobox [20:07:06] <MirahezeRelay> <guilherme4383> I decided to revert the change and just use the theme in all infoboxes I make [20:07:30] <MirahezeRelay> <shaun2177> and wdym by "it broke" [20:07:36] <MirahezeRelay> <shaun2177> is it the same but not centered [20:07:42] <MirahezeRelay> <guilherme4383, replying to shaun2177> It became an unformated infobox [20:07:54] <MirahezeRelay> <guilherme4383> Lost the infobox border, decentered the title... [20:10:32] <MirahezeRelay> <guilherme4383> But thanks to y'all I got it to work in a rather... gambiarra way (as we would say here in brazil) [20:10:52] <MirahezeRelay> <shaun2177> if no theme is in the template and the CSS is changed to .portable-infobox [20:11:00] <MirahezeRelay> <shaun2177> and it doesn't view correctly in preview then idk [20:11:20] <MirahezeRelay> <guilherme4383> I made it to the CSS works for a theme and just applied the theme to all the infoboxes [20:11:34] <MirahezeRelay> <guilherme4383> It's a patchwork solution, but if it works it works [20:11:53] <MirahezeRelay> <guilherme4383> One thing my professors told me many times is that if the code works, dont bother changing it [20:55:25] <MirahezeRelay> <heresbbtleofficial> When are we gonna have a hq capture of the mojang studios movie logo [20:55:34] <MirahezeRelay> <heresbbtleofficial> Its not in digital still [20:55:35] <MirahezeRelay> <macabreexude> not the place [20:55:39] <MirahezeRelay> <macabreexude> #offtopic [20:55:48] <MirahezeRelay> <macabreexude> this is for questions about miraheze itself [20:56:01] <MirahezeRelay> <heresbbtleofficial> Ok [21:15:53] <MirahezeRelay> <fungifungus, replying to fungifungus> somebody please lol [21:16:10] <MirahezeRelay> <fungifungus> oh wait [21:16:21] <MirahezeRelay> <fungifungus> [[w:Module:Shortcut]] [21:16:21] <MirahezeRelay> <Wiki-Bot#2998> <https://en.wikipedia.org/wiki/Module:Shortcut> [21:46:29] <MirahezeRelay> <nuclearanvil> [1/3] I need some help, I noticed that a gallery on my wiki isn’t showing the picture, despite having the correct template. I also have another page on my wiki that uses a gallery and it is working just fine. [21:46:29] <MirahezeRelay> <nuclearanvil> [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1360370446444527849/IMG_7707.png?ex=67fadf34&is=67f98db4&hm=2eb2cb905504dfec4534430055533506969ec64eda038e7602e0300dd91d632a& [21:46:30] <MirahezeRelay> <nuclearanvil> [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1360370446838534357/IMG_7708.png?ex=67fadf34&is=67f98db4&hm=a3c1fa07ed378b1c1a1330415273a651af0ffab6688891faa57576c903530985& [21:47:03] <MirahezeRelay> <nuclearanvil> I don’t know what’s wrong or how to fix this [21:58:32] <MirahezeRelay> <nuclearanvil> I found out from previewing an edit on the other page that if I also edit it then the gallery will disappear [22:24:34] <MirahezeRelay> <ethrawnmusk> How long does it usually take for miraheze to start an import of images into a new wiki after I put in my task? [22:29:28] <AmpElectrecuted> Hello, can someone see https://issue-tracker.miraheze.org/T13515 ? [22:29:45] <MirahezeRelay> <shaun2177, replying to nuclearanvil> #announcements [22:30:10] <MirahezeRelay> <shaun2177> it’s because preview purges the cache to view it i believe [22:30:20] <MirahezeRelay> <shaun2177> so if you purge a new page that works, it won’t work [22:32:13] <MirahezeRelay> <nuclearanvil> Okay, so it’s just a server problem