StopForumSpam and mediawiki - mediawiki

I'm looking to integrate the StopForumSpam mediawiki extension: https://www.mediawiki.org/wiki/Extension:StopForumSpam
I'm a little confused if $wgSFSIPListLocation is actually required, or if it can simply rely on the API? Does anyone know?

A quick look at the source tells me you will need to configure that parameter because it just returns if not.

Yes, you need to set it since the default value is just 'false' and it would not work (see https://github.com/wikimedia/mediawiki-extensions-StopForumSpam/blob/master/extension.json#L40)

Related

How can we customize the default warnings in Spartacus?

When an unauthorized user in Spartacus wants to log in and open PLP, the following default warning is displayed automatically.
This error is in default:
.../spartacus-develop/projects/assets/src/translations/en/common.ts
How can I customize this field in this file? When this happens, I want him to write another text.
Thank you very much in advance.
I think this section in the Spartacus Documentation should help you: Overwriting Individual Translations

Grafana DataSource created with ''Pattern'' = No Pattern in elasticsearch.yml datasources config file

I am installing Grafana in OpenShift and want to put all our DataSources in a ConfigMap( I can't use the GUI).
So far, it all work's good, my config map is being read and Grafana is happy with it. Sort of... I need more...
In (GUI) the 'Elastisearch Details' section, It does not fill the ''Pattern'' field that I think is related to the ''interval'' field in the YAML version of it. At least, if I specify ''No pattern", it does nothing, however, If i put "Hourly" it does apply it as a value.
So I'm confused here. It that a bug ? Do I need to escape the space in ''No pattern'' ( I did try with a back slash) ? I did try a empty value, etc...
Help would be appreciated.
Regards,
There seem to be a bug in the interface. The null value is taken in account, however, it does not show in the GUI.
See this thread on Grafana GitHub.
https://github.com/grafana/grafana/issues/12281

PhpStorm disable hints after typing, enable method parameter hints

It's driving my crazy that every time I type a comma and than hit enter, some hinted method is inserted into my code because PhpStorm thought it should display a code hint. I only want hinting when I'm typing a variable or a method name, is this possible?
Also, I once saw some PhpStorm hinting that when the user typed a method name, PhpStorm displayed the required variables just above that method as a hint, but I can't find the setting for it.
I don't mean this, but I can't find an image of it:
Ah, I just found out it was probably some beta version of PhpStorm 2017.1, I downloaded the release today and instantly saw what I was looking for:

SSRS FormatDateTime

Im using =FormatDateTime(Parameters!StartDate.Value,DateFormat.ShortDate)
and its returning "mm/dd/yyyy" format.
I want to return it in this format "dd/MM/yyyy". Please help how to do it!
Thanks
Try this:
=Format(Parameters!StartDate.Value,"dd/MM/yyyy")
Click on the reportcanvas, Press F4. Now you get the properties of the report.
There is a property called 'language'.
Choose the appropriate setting, for example NL_nl if you want dutch notation.
Can't vote up/down due to an inadequate rep but the correct answer is that provided by henrov. In my case, it involved setting the language to en-GB.
I did, however, have to quit SSRS; delete the compiled reports; relaunch SSRS and recompile before the change could be seen in the preview window.

Is there a way to tell Doxygen to ignore (all) namespaces?

Just about everything in my documentation ends up with the namespace:: prefix in front of it. (where namespace is the name of my namespace)
Is there a way to have the documentation generated without the namespace part?
For example:
my_namespace::myclass::member
becomes:
myclass::member
It would make everything more readable.
Turns out the answer was simple: you have to set HIDE_SCOPE_NAMES to YES in the configuration file.
I know this is old but if anyone comes looking again.
You can set SHOW_NAMESPACES to NO in configuration file.
It is also in DoxyWizard, Expert tab under Build topic.