Fandom

Hitler Parody Wiki

[CANCELLED] RFC on new News formatting

  • Mfaizsyahmi
    Mfaizsyahmi closed this thread because:
    Cancelled proposal. Superseded with this proposal.
    14:03, January 21, 2017

    CANCELLED. SUPERSEDED WITH NEW RFC. SEE HERE.


    See it here.

    I've decided to revamp the news page system for several reasons:

    1. It's getting really large and slows down the loading of the main page.
    2. The way archiving was done is not optimal as it only transcludes a page from somewhere else. Conditional transclusion was not implemented and if it was it needs to be repeated for all transcluded pages.
    3. Nobody was archiving news items for years.

    The new system uses lua and a whole lot of templates. The new templates are:

    Advantages of this new system:

    • Conditional transclusion finally added and applies to all the templates listed above.
    • Self-archival of news items. News items older than 3 months are no longer transcluded.
    • Massive reduction in size (by around 600KB, from 700+ to 100+) which should make loading the main page way faster.

    Caveats:

    • CSS to hide the massive number of empty paragraphs left behind (easily done).
    • URLs need to have the equal sign = escaped. use {{=}} or = (news authors need to pay attention).

    I'd appreciate the following feedback:

    1. Readability of the wiki markup with this implemented
    2. Concerns with = escaping (well, it caught me off-guard too at first)
    3. Suggested CSS changes
    4. Whether you'd want the wiki to migrate to the new system
    5. A date that you think the wiki can migrate to the new system
    6. Other relevant feedback
      Loading editor
    • Is it just me or is there a large blank space between October 2016's news and the notes section?

      The self-archival system sounds good, but at the moment where I see it now there doesn't seem to be a way for me to summon past news items, even on the full draft page.

        Loading editor
    • Gokyr586 wrote: Is it just me or is there a large blank space between October 2016's news and the notes section?

      The self-archival system sounds good, but at the moment where I see it now there doesn't seem to be a way for me to summon past news items, even on the full draft page.

      1. It's the byproduct of the template returning nothing, and already pointed out in Caveat #1. I haven't added the CSS to fix this.
      2. I removed the draft page from the list of pages the script deems to be the news page to benchmark the loading times (inconclusive) and file size. Also to fix the CSS.

      EDIT:

      1. Added the fix.
      2. Draft page now display the full news. Go to project:news/draft2 to see the news page as transcluded.
        Loading editor
    • Is it OK to use tabview tabs on the news page? No one has been laying their fingers on the "news" years ago (2012-2015). Putting them onto separate tabs saves loading time, and will load only when the user navigates them.

      And not to be confused with tabber. Tabber does no help on saving load time since all tabs are loaded simultaneously.

        Loading editor
    • KurwaAntics wrote: Is it OK to use tabview tabs on the news page?

      The two issues pointed out by the page itself makes tabview problematic for use. Also I prefer the news be presented in a linear fashion as it is now, like a timeline.

      Using tabview doesn't solve the problem with the management of subpages. You still need to create subpages for the year (and month) and then updating the container page; that is the modus operandi of the current archival scheme which I noted no one has been bothered doing for years.

      The new system on the other hand only ever needs the two templates.

        Loading editor
    • IMPORTANT NOTICE

      I just found out about Special:ParserSpeed, and am quite surprised that the template approach is the absolute worst performer.

      Browsing Dev Wiki's module library for a while gave me an inspiration for making my own parser. I'd like it to be based on YAML, but I think I will settle on a hybrid between YAML and wiki-markup.

      The new system is therefore put on hold until I am done coming with my parser and done doing more benchmarking tests.

        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.