I recently noticed that the default protection level has become invisible on my wiki, forcing unprotection to come in the form of an expiry being set, an API POST request, or a system administrator such as myself running protect.php. The wiki is running MediaWiki 1.41. If needed, I can provide a URL.
Project:Support desk
The documentation Extension:StopForumSpam tells me I need MW >= 1.42
The Extension distributor offers me to download a 1.39 version of StopForumSpam, but it won't work:
[aee6dcdb88c9254bcdeef759] /wiki/Quantenfiler Error: Interface 'MediaWiki\Extension\AbuseFilter\Hooks\AbuseFilterBuilderHook' not found Backtrace: from /var/www/test/mediawiki/extensions/StopForumSpam/includes/Hooks.php(40) #0 /var/www/test/mediawiki/includes/AutoLoader.php(244): require() #1 [internal function]: AutoLoader::autoload() ....
is there a way to make it work with MW 1.39? If not, why d
o you offer to download a 1.39 version?
the extension page says what the latest version needs, older versions may support older mediawiki.
The error message might more be about your version of Extension:AbuseFilter than mediawiki.
Good idea but the error message above is what I got after installing AbuseFilter, 1.39 version via ExtensionDistributor.
This post was hidden by Bawolff (history)
You could maybe file a bug at https://phabricator.wikimedia.org (being sure to add mediawiki-extensions-stopforumspam in the tag field)
As i told TheDJ in another topic. You may or may not correct it. I won't learn pabricator. I am a user not your domestique.
... submits:
https://xxxxxxxxxxxx/mediawiki/api.php?namespace=all-discussions&urlversion=2&days=7&limit=50&action=feedrecentchanges&feedformat=atom
... and crashes:
"error": { "code": "badvalue", "info": "Unrecognized value for parameter \"namespace\": all-discussions.", "*": "See https://xxxxxxxxxxxx/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes." }
but works when I remove the namespace filter.
Is there an extension or update that we are missing?
MW 1.39.6
Difficult to say. Does a similar query work on Wikipedia ? If it doesn’t, please file a ticket in phabricator.
Works in Wikipedia.
You may or may not correct it. I won't learn pabricator. I am a user not your domestique.
Good day, I'm running MediaWiki 1.39.7.
I would dearly appreciate any assistance in enabling and configuring atom feature found on the Watchlist page. If there is a section on the MediaWiki site, I have not been able to find it.
Thank you very much!
Bill
It should be enabled automatically.
See also Manual:$wgAdvertisedFeedTypes
When any user clicks the 'Atom' button, they receive this error:
error on line 2 at column 6: XML declaration allowed only at the start of the document.
Sure enough, looking at the page's source code, line 1 of the xml is blank. I'm trying to determine what's adding the blank line at the front. I haven't touched the MW code.
Check your LocalSettings.php to make sure you dont have any text before the <?php at the start of the file, and there is no ?> at the end.
I noticed that the main page of mediawiki.org is divided into several parts, and this is not a table I suppose. How can I do this. Using an Add-on?
No, by inspecting the CSS/HTML/PHP code, especially in the Vector-2022 skin.
it's simple html from several conditional transcodes and a stylesheet
https://www.mediawiki.org/w/index.php?title=Template:Main_page&action=edit
https://www.mediawiki.org/w/index.php?title=Template:Main_page/styles.css&action=edit
Just been scratching on the surface of what extension there are available for MediaWiki but while I'm looking at moving couple of thousands pages over from Confluence to MediaWiki and then utilise MediaWiki as central content creator to then be able to either export of feed Confluence and SharePoint with XML data for automtic content creation. Are there any attempts already around this or middleware which can either pull from MediaWiki or simply just tap into the sql database?
To what extend is it possible to have pre-defined document header and footer to be included when exporting documents to either Word or Pdf which which must include various meta data such as Document Cretion Date, Document Update, Revision, Document Owner, Document Classification, etc., based on that these tags can easily be pulled if exists in MediaWikie (or added if not included)?
hello, i am an editor on the Miraheze wiki Excellent Music Wiki under the name ToTheEdge when i changed my clientside skin from vector to another skin i cannot remember the name of as of now when i went to go change it back it presented me with this error message: [c3a1a7d8e2ee79b9d39613c7] 2024-06-25 21:51:35: Fatal exception of type "MWException"
i have no permissions besides autoconfirmed on this wiki, i just assumed due to this being a MW Exception that this would be the place to resolve it
Hi, please ask at miraheze support.
Hello, due to data protection laws, I need to hide the username in publications and make a MediaWiki public. I am using MediaWiki 1.28, how can I do this?
Due to data protection laws, you should also upgrade your MediaWiki version (it's 8 years old and no longer supported).
RevDelete i guess
I only found
Special wrapping setups can now define MW_CONFIG_FILE to load a config file other than LocalSettings.php. This is like MW_CONFIG_CALLBACK but works in some cases where MW_CONFIG_CALLBACK will not work.
on MediaWiki 1.17 release notes.
Is there any documentation about those constants used in includes/Setup.php
. E.g. MW_USE_CONFIG_SCHEMA_CLASS
, MW_USE_LOCAL_SETTINGS_LOADER
, MW_SETUP_CALLBACK
or MW_CONFIG_FILE
. Or examples?
Where do they need to be defined? In auto-prepend-file
in the php.ini
?
i think the only docs are the code comments in includes/Setup.php and includes/BootstrapHelperFunctions.php
Sometimes these defines are used in alternate entry points like the installer or maintenance scripts. So i suppose you could make a wrapper index.php script.