User talk:MathiasErtl

From mediawiki.org
Latest comment: 5 years ago by 74.196.230.108 in topic CustomNavBlocks & MW 1.32

It is not able to download httpsLogin extension: http://www.mediawiki.org/wiki/Extension:HttpsLogin. Can you fix it? Thanks! Jiri

I did somewhat deprecate the httpsLogin extension for the more powerful SecurePages extension. Since the Hook necessary for it is not yet in MediaWiki (it is already in SVN), I haven't yet documented it here, but the documentation is already available here. I did forget to update the httpsLogin extension here, I will do that in a second. Meanwhile, check the tags-directory of my SVN. -- Mati 09:34, 17 November 2009 (UTC)Reply

Can you specify a license on http://www.mediawiki.org/wiki/Extension:NewArticleTemplates? Thanks! --G.Hagedorn 10:41, 12 October 2008 (UTC)Reply

New version[edit]

I've created a new version with some edit and create links, e.g. when pages do not exists. Plus, the extension keeps working when there isan error in the MediaWiki:CustomNavBlocks page. See website. ~Luuk 11:55, 18 December 2008 (UTC).

Wow, thats a neat Idea. Mind if I integrate this into my extension? I can of course list you as a co-author. -- Mati 14:11, 18 December 2008 (UTC)Reply
No problem, I would like to be co-author. Just started with mediawiki two days ago, had to upgrade an old wiki. I use dokuwiki myself. I'll register to this wiki so I can monitor this page. Any experience with a good gallery with lightbox extension? I'm still trying to find out how to incorporate large amounts of photo's. (i'm trying to imitate dokuwiki) ~Luuk. 14:38, 18 December 2008 (UTC)Reply
Luuk, I merged some of your changes into my extension. I didn't like everything, though:
  • The functionality to use standard blocks as defined by MediaWiki:Sidebar is great
  • If the page for a block does not exist, it displays an edit-link instead
  • I didn't like the idea of statically having a block at the end to edit MediaWiki CustomNavBlocks, so I didn't integrate that functionality. That code is pretty shaky anyway (you reset a variable in every iteration of a loop only to set it again after the loop just before using it!)
  • If a line in any of the block-pages has more than one '|', the line is silently ignored.
Do you think thats a good mixture of improvements? You can find the update in the svn-repository, and the new version is installed in my devel wiki.
--Mati 20:12, 26 December 2008 (UTC)Reply

CustomNavBlocks[edit]

Hi, Can you give some documentation on how to use CustomNavBlocks? I am a newbie to wikis .. Thanks! ~vj

Hi vj,
The documention is on Extension:CustomNavBlocks. Is anything there unclear? If yes, feel free to post more specific questions! -- Mati 09:57, 16 October 2008 (UTC)Reply
Hi Mati, Thanks for the link. It is now clear to me. I am looking for an extension that can generate Navigation Block content which may be different for every page. The mapping can be either in database or defined in files for all pages. Thanks again! ~vj
Hi vj! CustomNavBlocks can't do that out of the Box (and I must say, from a user-interface point of view, it is very rarely a good idea). But it would be fairly easy to modify it for that, if you need some help/advice on Coding on it, I'd be happy to give you advice, just mail me! -- Mati 17:08, 18 October 2008 (UTC)Reply
Thanks Mati! I do not have your email address :( ~vj
You should be able to contact me via the mail-tab. If that doesn't work, you can find contact information on vowi.fsinf.at, where my user-page is Benutzer:Mati. -- Mati 22:15, 21 October 2008 (UTC)Reply

DisallowAccessOnCategory[edit]

Hello, I tried to install this extension in a MediaWiki 13.1. But I got a bug, after I installed this. Does your extension actually work with that MediaWiki?

This is the bug message:

Interner Fehler

Detected bug in an extension! Hook DisallowReadOnCategory failed to return a value; should return true to continue hook processing or false to abort.

Backtrace:

  1. 0 C:\xampp\htdocs\mediawiki\includes\Title.php(1437): wfRunHooks()
  2. 1 C:\xampp\htdocs\mediawiki\includes\Wiki.php(149): Title->userCanRead('userCan', Array)
  3. 2 C:\xampp\htdocs\mediawiki\includes\Wiki.php(54): MediaWiki->preliminaryChecks()
  4. 3 C:\xampp\htdocs\mediawiki\index.php(93): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(WebRequest))
  5. 4 {main}

Thanks for any help

--Fightgnome 11:07, 3 December 2008 (UTC)Reply

Extension:HttpsLogin[edit]

Hi! I marked this extension as obsolete since MediaWiki 1.17 where the parameter $wgSecureLogin does exactly what this extension do. I guess this extension did a great job before this became integrated into core. BTW the link to the source code is dead. ~ Seb35 [^_^] 11:26, 14 September 2014 (UTC)Reply

Your account will be renamed[edit]

03:42, 18 March 2015 (UTC)

CustomNavBlocks & MW 1.32[edit]

I was successfully using CustomNavBlocks with MW 1.27.

Updated core to 1.32 and downloaded current extension version.

Received the following:

PHP Notice: Undefined property: TimelessTemplate::$translator in /home/tlgonline/public_html/extensions/CustomNavBlocks/CustomNavBlocks.php on line 31

PHP Fatal error: Uncaught Error: Call to a member function translate() on null in /home/tlgonline/public_html/extensions/CustomNavBlocks/CustomNavBlocks.php:31

Any ideas on making it work with 1.32?

Thanks!

PS: switched to 1.31.1 and the extension works ...

--74.196.230.108 17:13, 1 March 2019 (UTC)Reply