Could we please have the "LastModified" extension enabled on the wiki? #8636

Closed
opened 2020-02-10 18:35:26 +00:00 by ankursinha · 26 comments

Describe what you would like us to do:


While looking of ways to indicate how old or new a wiki page was, I ran into this "LastModified" extension:

https://www.mediawiki.org/wiki/Extension:LastModified

It simply puts a "last modified .... ago" text to the top of the page. This tells the reader the age of the page, and therefore helps them decide how much the information should be trusted.

When do you need this to be done by? (YYYY/MM/DD)


Whenever, it isn't urgent at all. :)

# Describe what you would like us to do: ---- While looking of ways to indicate how old or new a wiki page was, I ran into this "LastModified" extension: https://www.mediawiki.org/wiki/Extension:LastModified It simply puts a "last modified .... ago" text to the top of the page. This tells the reader the age of the page, and therefore helps them decide how much the information should be trusted. # When do you need this to be done by? (YYYY/MM/DD) ---- Whenever, it isn't urgent at all. :)

Can you, or someone please package it up and get it into Fedora?

Once it's packaged it should be pretty easy to install and enable...

Can you, or someone please package it up and get it into Fedora? Once it's packaged it should be pretty easy to install and enable...

Metadata Update from @kevin:

  • Issue close_status updated to: Upstream
  • Issue status updated to: Closed (was: Open)
**Metadata Update from @kevin**: - Issue close_status updated to: Upstream - Issue status updated to: Closed (was: Open)
Author

Sure, I can look into that. I'll re-open once I've done it. Thanks!

Sure, I can look into that. I'll re-open once I've done it. Thanks!
Author

The package review was approved.

The plugin has different releases for different mediawiki versions. May I please know what version of Fedora the wiki is running on, and could you also confirm what version of mediawiki it is? I'll build versions of the plugin accordingly.

Thanks,

The package review was approved. The plugin has different releases for different mediawiki versions. May I please know what version of Fedora the wiki is running on, and could you also confirm what version of mediawiki it is? I'll build versions of the plugin accordingly. Thanks,
Author

Metadata Update from @ankursinha:

  • Issue status updated to: Open (was: Closed)
**Metadata Update from @ankursinha**: - Issue status updated to: Open (was: Closed)

Its currently running fedora 30, but we could upgrade to f31 if that helps...

Its currently running fedora 30, but we could upgrade to f31 if that helps...
Author

Both F30 and F31 have the same version of mediawiki, and so will have the same version of the plugin so an update isn't currently required. I'll have the packages built before the end of the day. Thanks!

Both F30 and F31 have the same version of mediawiki, and so will have the same version of the plugin so an update isn't currently required. I'll have the packages built before the end of the day. Thanks!
Author

I've just submitted it to testing for F30 now: https://bodhi.fedoraproject.org/updates/FEDORA-2020-4bd7c67a8d

If there's anything else I can help with, please do let me know.

I've just submitted it to testing for F30 now: https://bodhi.fedoraproject.org/updates/FEDORA-2020-4bd7c67a8d If there's anything else I can help with, please do let me know.

Metadata Update from @smooge:

  • Issue priority set to: Waiting on Assignee (was: Needs Review)
  • Issue tagged with: wiki
**Metadata Update from @smooge**: - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: wiki

So, I enabled this in stg and It doesn't seem to be working.

I wonder if it could be theme related?

@ryanlerch can you take a look?

So, I enabled this in stg and It doesn't seem to be working. I wonder if it could be theme related? @ryanlerch can you take a look?
Author

Oh? I hope the package is OK? It only places the files in the right place
but maybe i got the permissions wrong or something silly like that?

Oh? I hope the package is OK? It only places the files in the right place but maybe i got the permissions wrong or something silly like that?

Yeah, I am not sure... it loaded fine, but doesn't appear doing anything.

However, I also note, our Fedora theme has in the footer the same info...

ie, https://fedoraproject.org/wiki/Releases/31/Schedule has:
" This page was last edited on 26 August 2019, at 12:55.Content is available under Attribution-Share Alike 3.0 Unported unless otherwise noted."
the second line from the bottom... not sure thats the same info you need or not.

Yeah, I am not sure... it loaded fine, but doesn't appear doing anything. However, I also note, our Fedora theme has in the footer the same info... ie, https://fedoraproject.org/wiki/Releases/31/Schedule has: " This page was last edited on 26 August 2019, at 12:55.Content is available under Attribution-Share Alike 3.0 Unported unless otherwise noted." the second line from the bottom... not sure thats the same info you need or not.
Author

If that info can be moved to the top of the page to make it more visible to users, then we don't need the plugin. The message in the footer is not visible enough IMO. It's more likely for someone to check page history instead (which while seasoned community members may do, users who find our wiki pages using searches etc. would not).

The idea really just is to make it clearly apparent to a reader what the state of the page is. The main target audience here are end users who are not wiki savvy.

If that info can be moved to the top of the page to make it more visible to users, then we don't need the plugin. The message in the footer is not visible enough IMO. It's more likely for someone to check page history instead (which while seasoned community members may do, users who find our wiki pages using searches etc. would not). The idea really just is to make it clearly apparent to a reader what the state of the page is. The main target audience here are end users who are not wiki savvy.

So, I deployed this and it's not showing up because the theme.

@ryanlerch can you answer the questions here?

So, I deployed this and it's not showing up because the theme. @ryanlerch can you answer the questions here?

@ryanlerch is on extended leave for N months. I don't think this will get an answer for a bit.

@ryanlerch is on extended leave for N months. I don't think this will get an answer for a bit.

Oh yeah. I am not sure if there's anyone else who knows mediawiki theming tho. ;(

Oh yeah. I am not sure if there's anyone else who knows mediawiki theming tho. ;(

Oh yeah. I am not sure if there's anyone else who knows mediawiki theming tho. ;(

I was thinking to have a look at this, but it'd probably be better to do it in stg first :]

> Oh yeah. I am not sure if there's anyone else who knows mediawiki theming tho. ;( I was thinking to have a look at this, but it'd probably be better to do it in stg first :]

Metadata Update from @pingou:

  • Issue assigned to pingou
**Metadata Update from @pingou**: - Issue assigned to pingou

Metadata Update from @pingou:

  • Issue tagged with: dev, medium-gain, medium-trouble
**Metadata Update from @pingou**: - Issue tagged with: dev, medium-gain, medium-trouble

This has been done and submitted upstream at: https://pagure.io/fedora-mediawikitheme/pull-request/34

This has been done and submitted upstream at: https://pagure.io/fedora-mediawikitheme/pull-request/34
How does this look https://stg.fedoraproject.org/wiki/Fedora_Project_Wiki ?

@ankursinha did you see my previous comment?

@ankursinha did you see my previous comment?
Author

Yes, sorry, thought I replied already! That looks very good to me. :)

Yes, sorry, thought I replied already! That looks very good to me. :)

Considering F33 freeze ends in two days, I'll update the wiki theme POST F33 release and we'll be able to close this ticket :)

Considering F33 freeze ends in two days, I'll update the wiki theme POST F33 release and we'll be able to close this ticket :)

Alright, the mediawiki-skin-fedora package got updated to 0.09. Apache has been restarted and it looks like we have the last modified information now display near the top.

Let's consider this ticket closed but please let us know if you need anything else!

Alright, the ``mediawiki-skin-fedora`` package got updated to ``0.09``. Apache has been restarted and it looks like we have the last modified information now display near the top. Let's consider this ticket closed but please let us know if you need anything else!

Metadata Update from @pingou:

  • Issue close_status updated to: Fixed
  • Issue status updated to: Closed (was: Open)
**Metadata Update from @pingou**: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Infrastructure/fedora-infrastructure#8636
No description provided.