Tag Info

New answers tagged

2

B in this password means that this encryption uses random salt, than md5(saltWithDash . md5(password)). If you want to check user input with password from database, you need to extract salt from password and combine user password with that salt. Next, compare this two hashes, and if matches, user password is valid. <?php $password = 'password'; ...


2

Hope this helps someone: This is how mediawiki saves the user password in the database. Please see @Aleksander's answer for more details.


2

Yes. User vardefine. #vardefine {{#vardefine:variablename|specifiedvalue}} https://www.mediawiki.org/wiki/Extension:Variables


0

Here is the MediaWiki documentation for mime type detection. It says that you need to add modify two files: mime.types Add conf to the text/plain line mime.info Ensure that text/plain is on the line ending in [TEXT]


1

No, you can't create a namespace without editing your wiki's configuration. If you create a page titled "A:B" where "A" is not a valid namespace, "A:B" will just be a page in main namespace (namespace 0).


1

If you have SMW, the solution is extremely simple. You can list the pages in question by adding them to a specific category. The category members can then be listed in the format you prefer. A simple list, suitable e.g. for use in the middle of text or for a non-distracting navigation box, is then as simple as {{#ask: [[Category:Finnish]] | format=list }}. ...


1

Choose a skin optimised for ads. The first result is Skin:Refreshed.


0

Most likely, it takes time for the server to apply the updates to the site. If you edit the main page, it most likely implies that the article exists and is not spam temporarily. It's hard to explain, but the server basically has a "hole" which allows for your site to be valid upon edit. I believe if you wait for a while, the link should automatically ...


1

The workarounds: Explicitly preceed the argument with the (numerical) parameter name in the call to template, like this: {MyUrl|1=http://www.example.com/abstract.cfm?uri=aa-123456}} Another solution: one can create a symbolic name for the parameter. Then the template may look something like this: See here: [{{{link}}} (link)] And the call like this: ...


2

For what I undestood the /codewiki/ is still working with the old database, right? If so, back it up and do the upgrade process again on the live version. You already saw it's working in the /tempwiki/ so it should be fine. By taking a look at Mediawiki's Upgrade Documentation, they address the live upgrading issue this way: Can my wiki stay online ...


1

You can create a separate file called variables-overrides.less and in there you override all the variables you need. Next, you need to modify variables.less to include your overrides. Make sure you include this at the end of the variables.less file. @import "variables-overrides.less"; //Include at end of variables.less Next time you upgrade MediaWiki you ...



Top 50 recent answers are included