short list of recently changed pages in mediawiki - mediawiki

I'm using mediawiki to run a wiki for my (relatively small <10 users) team and would like to know if its possible to get a short list of, say, the last 5 changed pages to appear in the side bar. I know I can go to recent changes page, but my users are used to seeing a list of the most recent changed pages on every page.
Thanks

I saw here that you got a hack to put wikitext into the sidebar: http://www.mwusers.com/forums/showthread.php?15842-Show-recent-changes-in-sidebar
Try transcluding the recent changes into a template, then putting that template in the sidebar.

Related

How to enable "Featured Article" on the main page? Mediawiki

I want to display a random article and a random image once a day on the front page. Like on Wikipedia.
I installed the "FeaturedFeeds" extension, checked if it was enabled, and created the "MediaWiki:Ffeed-*-page", as described in the manual. Replacing "*" with my name. My page is called "MediaWiki:Ffeed-MainFeed-page". However, I don't understand what to do next. The page is empty.
I understand that I need to create some kind of template and put it on the main page, but I don’t understand what exactly to write in the template.
I don't think there's an easy way to do it. Wikipedia's main page features are prepared manually - there is a set of hand-written featured blurbs, like Wikipedia:Today's featured article/November 1, 2022, and a template on the main page selects the one for today's date. See the links here for more information. FeaturedFeeds just generates an RSS feed from the contents of a given page / set of pages.

Wanted pages on my MediaWiki is not working How do i fix this?

So I have been working on my wiki for a while now and I wanted to check if there are any links that I have missed making. So I clicked on the wanted pages page but there are no links I found this surprising. So I made 10 new pages all with a few Lorim Ipsum text paragraphs and then a link to the same uncreated page. I did this with multiple links so that I could have multiple results. But I get none at all.
The only thing it displays is:
List of non-existing pages with the most links to them, excluding pages which only have redirects linking to them. For a list of non-existent pages that have redirects linking to them, see the list of broken redirects.
The following data is cached and may not be up to date. A maximum of 1,000 results are available in the cache.
There are no results for this report.
So that is a problem What I would want is for the page to work and show every link that is missing. So not just when multiple of the same link is missing. But when there is any missing red link.
how would I go about fixing/doing this?
It seems that you should run maintenance/updateSpecialPages.php. Usually, a cron job is created for this.

Is there a CSS element that will let me add a space?

I am at an impasse with this page I am trying to modify for my institution. The page is somewhat proprietary and not all of the files that comprise the page are accessible to me. The only things I can get access to are 5 different files called a stylesheet(naturally), a head, a top, a bottom, and a print
So this is the page:
http://s5-sandbox.parature.com/ics/support/default.asp?deptID=15028
The issue is that below the page where you have the 2 sections for "Viewed Most Popular Topics" and "Most Recent Topics", is that the words ViewedMost run on together. Additionally the number of views and the first word of the actual topic respective of the views run on together. For example, you'll see 3869What is my Blackboard Username and COM ID?
Given the pages that I have access to, none of them have the ID for that section declared in them. It is in some .ASP page on Parature's backend. I've contacted their support and put in a ticket and did not receive any resolution. I tried emailing someone directly and a man told me something ridiculous:
If you right click on the area and click inspect element you are able to add a space either behind “view” or in
front of “most”. Either works, I’ve tried them both. The same goes for the number and the article.
I already know full well how to use the Chrome inspector but what I told this gentleman was that I don't have access to the page to add a space nor do I even know if there is an element I can use to fix the formatting. I was hoping you guys would be able to see something I do not on the page that would allow me to create the space that I am looking to add.
Thank you all.
.item:after {
content: "\00a0";
}

Drop Down Menu Stacking

So I have a custom css drop down menu and it works fine except I realized that writing this menu out across all the html pages on this website will become tedious if I should update with a new section to the website and need to add on a new tier to the menu, I would end up with a billion htmls to update one simple line of code.
I was wondering, is there a way to write this menu once (on the main page) and call on it on all my other htmls?
I experimented a bit with Objects, Iframe, to call on the dropdown menu written on a separate html file and such but when the menu expands you get scroll bars and both methods seem to embed into the page. I want the contents of the page to be behind the drop down menu just as it standardly looks right now.
The following is my unedited page:
http://www.blue-cicada.net/trivial/index.html
And this is my test:
http://www.blue-cicada.net/trivial/test/
Not looking so good there, my top image is obscured, the submenus wont fly out completely etc, how to fix?
Im really new to this stuff so any help is appreciated.
You want to do something server side really, back in the day this would have been http://en.wikipedia.org/wiki/Server_Side_Includes, depending on who is hosting your site it may even still be, though that's fairly unlikely. Chances are you have some provision from your webhost to do something server side, ie PHP Includes say.
If not you could look at doing JavaScript client side includes but its crufty,
If you're really just hand editing you html files and have no access to any server side technologies well, you can always just have a text editor that can search and replace across multiple files
UPDATE
Given your comments I would just download something like Notepad++ and read the Bulk Find and Replace here 'http://www.dedoimedo.com/computers/notepadpp-tricks.html'. Basically you can have a test page you use for figuring out 'what you want to do' and then use the global find and replace to update all of the 'current' versions of the header/menu/whatever to you new version.
Backup all you files first!
Write it in a page called A.html.
On every page where you want to put it, use an <iframe src="A.html">
Make sure you remove the borders of the <iframe>, and also the scrollbars and make it look natural

squarespace query only for home page

I am using squarespace developer kit and going well. I am wanting to integrate some queries to display some very simple data form my blogs that will appear on my home page ONLY.
Not being very fluent in JSON, I am struggling to implement the query on the home page. I have it set up to display the data from the selected blog but it displays the data through each page.
I only want the data to be visible on the home page at the top. Not in the header but inside where all the content is.
Here is my query that works perfectly well
<squarespace:query collection="feature-articles" limit="10">
<li>
{.repeated section items}
<li>{title}</li>
{.end}
</li>
</squarespace:query>
Can the data be inserted into a code block via the content manager so I can then insert into within the content or am I totally wrong in thinking that.
What I will then do is style/ add or edit the UI of the data into either a carousel or whatever is needed for the project.
I just need to know where to store the query so that it fits in with the content.
Appreciate any time.
Review the following link to see how you can edit a template file, to make different pages use different templates.
http://developers.squarespace.com/template-configuration/
Make a completely custom template just for your homepage then paste you code within your custom .region file as outlin ed in the above guide.
Here is the page about working with template pages:
http://developers.squarespace.com/layouts-regions/
Seeing as you know about , I have a feeling you might already know this, so you might want to be a bit more specific about how your displaying your code and I will gladly update my answer.