mediawiki default category in category - mediawiki

I use a MediaWiki and extension CategoryTree.
Problem occurs if I want to create a new page. I chose a category but my category list is empty: When I create a new one and add it I see a new category in Mediawiki, but when I create a new page my category list is empty again.
How can I predefine a category? Is that possible? I use the latest version of MediaWiki.

Related

In MS Lists, is there a way to show the most recent update to a column where 'append changes to existing text' is enabled?

I've built a new Outstanding Issues Tracker for our team using MS Lists (as an app/tab in a Teams channel), and it includes a column called 'Updates' where people can provide the latest news/actions on their items. I've enabled both 'Rich Text' and, most importantly, 'append changes to existing text'--this captures the name of the person making the update and the time they added it. Very useful.
However...the way it shows up in MS Lists is simply 'View Entries'--you have to click on an item (record/row) to actually view the text. That's fine, but I wonder if there's a way to add another column that would show the date of the most recent update in the Updates column. That way I could hone in on the items that have been updated most recently--or chase up the ones that have been languishing.
Does anyone know if it's possible to do this? Have googled about to no avail.
Currently It is not possible to show the date of the most recent update in update column. Each template in List comes with a predefined list structure.
https://support.microsoft.com/en-us/office/list-templates-in-microsoft-365-62f0e4cf-d55d-4f89-906f-4a34e036ded1
Currently here we can displayed only Reported Date.
Could you please raise a user voice here for new feature requirement:
https://microsoftteams.uservoice.com/forums/555103-public/filters/new

How to create a custom reuseable HTML template populated with data from database?

I have a database containing many records - let's say its a people database and the columns contain Name, Surname, Age, FreeText.
I want that this data to be displayed in a list on my website. Each item in the list should contain the database' row data.
In detail, each list item should be a custom HTML div consisting e.g. of 2 columns, where in the first column the Surname and the Name should be displayed in the first row, the age in the second. In the second column there should be the free text.
There should also be a onClick listener on this item.
I am a Wordpress Beginner, I have no idea how to achieve this. I think the general approach has to be: Get records from DB, create the items dynamically, put the into the list, and display the list on the page.
I purchased the Avada theme for the design, but this kind of functionality does not seem to be included.
Any hints where to start? Do I have to create dynamic php files, and if yes, how? With javascript? Or are there Plugins available which I can use?
i find this plugin for you try this link:
https://wordpress.org/plugins/participants-database/
This plugin offers all the functionality needed to build and maintain a database of people or anything you want. The database is fully configurable, allowing you to define all the fields of information you want to store for each record. The records can be entered individually in the WordPress admin section, imported with a CSV file, or let the individuals themselves create their own record. Display lists of records can be sorted and filtered by any field, and the result exported as a CSV file.

Mediawiki API: get recent changes with categories of each page, or only those recentchanges entries which are in a certain category

I want to retrieve from Mediawiki the list of recent changes in a certain category. I am trying to use the recentchanges API; I would either need to be able to limit the results to that category, or for each recentchanges entry get the list of categories that page is in.
There is no way to get the list of changes in a specific category. To get the categories of each page, use the recentchanges API module as a generator: action=query&generator=recentchanges&prop=categories

Script to Match Products with Images Named Using the Same SKU

I have a WordPress website using WooCommerce. I have all products with a unique SKU. I also have images uploaded on the server as well in a folder root/images named with each particular SKU.jpg (where SKU is changed by a number).
Has anyone managed to use or create a plugin or script which when run sets all matching images as default product image?
For example a Product with SKU 04563 has the default image set to root/images/04563.jpg when the plugin/script is run.

Assigning picture stored on file system to item selected from database

I am building php my sql application and I need to associate picture to various items that are selected from database.
For example I want to have news on my web site, and I retrieve news from database, news properties can be Title, Content and Time, but I also need picture that is going to appear together with that news on a web site.
How to dynamically associate picture form file system to a selected row from database..
Thanks a lot.
Add a column to the database called 'image' or something. That is, if a news items is stored in a row, it will have a column called 'images' in it. So you can store the path (location) to the image associated with that news item it's column.
This way you can display the associated image when a news item is displayed. Also you can store more than 1 image information in the image field (as csv or serialized array or something.)