In my MW 2.28.2 site, I placed the following code into a page:
{{#invoke:String|len|This is a Test}}
It did not execute as expected, it only appeared as text.
>From the documentation page on the string module [0], it is not clear to me how to enable this capability.
How do I enable the String Module in my site?
[0] https://www.mediawiki.org/wiki/Module:String
-Rich
Hello Everyone,
I am trying to make or find a MediaWiki template that will take a
category and fill in a table on the main page of a site in one column.
The table will have a second column that will contain external urls.
Hello,
i am very new to mediawiki and i am helping an existing installation. We
would like to move some pages to a new wiki and tried use the #Redirect
directive with interwiki links.
This works so far but it issues 302 Found HTTP Status code. We would
like to use the status code 301 to help the search engines.
Can the #Redirect mechanism be used for this?
The documentation at https://www.mediawiki.org/wiki/Help:Redirects did
not indicate any solution.
I found in the mailing list only this thread from February 2014
https://www.mail-archive.com/mediawiki-l@lists.wikimedia.org/msg13247.html
Also not conclusive but leaning in the direction of no, not possible.
I tried to skim through the mediawiki codebase and found redirect
handling in includes/MediaWiki.php L226 [1]. I cannot understand it
fully, but it seems not to be possible.
If there is no native/builtin way to do this, is there an extension
which might be able to this (redirect individual pages via Status 301 to
another interwiki page).
thank you
Christian
[1]
https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/M…