Extension talk:BreadCrumbs (Kimon)

I wasn't able to get any breadcrumbs in MediaWiki 1.11. nothing happens at all. I created the php and css-file and included it in LocalSettings.php. Is there something that I'm missing? 213.47.3.128 23:21, 23 November 2007 (UTC)
 * Did you enable the breadcrumbs in your user preferences? --Kimon 15:03, 24 November 2007 (UTC)

Differences with Extension:BreadCrumbs
Is there any difference between this and the other Breadcrumbs extension? By any chance do you have any plans of storing the statistics in a database for further scrutiny? SellFone 13:42, 3 December 2007 (UTC)
 * There are a few differences:


 * 1) There are 2 files to maintain
 * 2) The breadcrumbs show up at the bottom (though this can be done via the CSS of the other one)
 * 3) The display of breadcrumbs is a user enabled option thereby displaying it only to users that want it
 * 4) Duplicate entries are removed
 * 5) If the user returns to a previously visited page, the breadcrumbs get trimmed back to that.
 * As for a database table to track this information... that's a good idea, I'll give it some thought.
 * I hope I've answered your questions --Kimon 18:15, 3 December 2007 (UTC)

Nothing happens on Mediawiki 1.7.1.
I followed your installation instructions. The Special:Version page confirms that the extension is installed. I looked in the "misc" tab in "user preferences" but cannot find any "t/f" flag there. Can you confirm that your extension is not supposed to work with Mediawiki 1.7.1? If so; any plans on making it work for 1.7.1 too? I would be very happy if you have. Debian Etch uses 1.7.1. Todu 01:31, 6 December 2007 (UTC)


 * It looks like the hook UserToggles was introduced in 1.8.0. But, I believe I have a work-around. You can comment out/remove the snippet


 * It should work but, since I don't have a 1.7.1 installation to test, I cannot confirm. The drawback is that it will force it on all users.
 * Let me know please so that I can make an entry in the extension's description. --Kimon 03:03, 6 December 2007 (UTC)
 * It worked when I commented out your suggested snippet. However when I visit a page that I have already visited, that page does not contain the breadcrumbs. I have created 8 test pages that all link to each other. It didn't help revisiting the first test page after I've visited the eighth test page. I thought that might have emptied the breadcrubs cache somehow but it didn't. Todu 13:37, 6 December 2007 (UTC)
 * Hmmm.... So, your path is Page1->Page2->Page3->Page4->Page5->Page6->Page7->Page8->Page1 ?
 * Yes it is. Todu 14:48, 6 December 2007 (UTC)
 * If that's correct, then do you see the breadcrumbs when you are visiting all the pages except when you visit Page1 for a second time?
 * Or, when you get to Page1 again, it resets and you only see Page1? --Kimon 14:12, 6 December 2007 (UTC)
 * I see them always as long as every page I visit is a first visit since I installed the extension. It never resets. Any time I visit a page I have already visited any time since the installation of the extension, any sign of the existence of the extension disappears. The breadcrumbs reappear as soon as I visit a page that I have not visited since the installation of the extension. Todu 14:48, 6 December 2007 (UTC)
 * I guess I'll have to check it when I get home on your site. --Kimon 17:35, 6 December 2007 (UTC)


 * I've created a temporary GNU/Debian Etch (4.0) installation for you on one of my servers, if you want to experiment with a 1.7.1 installation. You can email me so I can give you your root password. And for all the crackers out there: Don't bother emailing me before Kimon does. I'll wipe the server as soon as Kimon is finished with his testing. I could replace the Linux installation with any of these distributions if you would prefer a non-Debian one (it only takes about 2 minutes to make a fresh one):

Newer distributions: Arch Linux 2007.08 Centos 5.0 Debian 4.0 Fedora Core 8 Gentoo 2007.0 OpenSUSE 10.3 Slackware 12.0 Ubuntu 7.10

Older Distributions: CentOS 4.0 (RHEL) Fedora Core 6 Gentoo 2006.1 Mandrake 9.1 Slackware 10 Ubuntu 6.06 Ubuntu 7.04
 * Todu 14:11, 6 December 2007 (UTC)
 * Thanks! --Kimon 14:13, 6 December 2007 (UTC)

I'm not home so I cannot read my home email. But I logged in to our server to check progress (less .bash_history) and noticed we ran out of disk space. So I rebooted, increased from 512 to 1024 MB and finished your apt-get install mysql-server and did a apt-get dist-upgrade too. So now you should be able to proceed with the next steps. /Tommy
 * Done - check it out --Kimon 21:36, 8 December 2007 (UTC)
 * You're the man! It works perfectly on the test server now. I'm just on my way home from work now and will contact you again when I arrived. What did you change to make it work? /Tommy
 * the issue was with caching. It appears that $wgTitle->invalidateCache; and $wgUser->invalidateCache; don't work on 1.7.1 so I modified the LocalSettings.php caching to: from
 * The drawback is that caching is invalidated for all users. --Kimon 22:09, 8 December 2007 (UTC)