Index: trunk/extensions/Favorites/README |
— | — | @@ -1,38 +1,38 @@ |
2 | | -This extension provides the ability for users to create a list of
|
3 | | -favorites. It works separately from the Watchlist, and provides the
|
4 | | -ability to also embed your users' lists of favorites on a page (such as
|
5 | | -on the main page).
|
6 | | -
|
7 | | -== Database schema ==
|
8 | | -
|
9 | | -A 'favoritelist' table is added to the wiki's database. This table
|
10 | | -contains the list of items that have been added to each user's favorite
|
11 | | -list.
|
12 | | -
|
13 | | -The table must be present for the wiki to function once the extension is
|
14 | | -enabled
|
15 | | -
|
16 | | -== Installation ==
|
17 | | -
|
18 | | -To enable the extension, add the following line to your
|
19 | | -LocalSettings.php file:
|
20 | | -
|
21 | | -require_once("$IP/extensions/Favorites/Favorites.php");
|
22 | | -
|
23 | | -You must then create and populate the new database table.
|
24 | | -
|
25 | | -The easiest way to do this is to run MediaWiki's standard updater:
|
26 | | -php maintenance/update.php
|
27 | | -
|
28 | | -If you do not have command-line access to your server, you can manually
|
29 | | -apply the favorites.sql file's commands to your database (check for
|
30 | | -proper table prefix, etc).
|
31 | | -
|
32 | | -== Configuration Parameters ==
|
33 | | -
|
34 | | -If using the Vector skin, you may want to also add the "Star" icon to
|
35 | | -your navigation bar. To do this, add the following line '''above''' the
|
36 | | -"require_once" line in your LocalSettings.php file:
|
37 | | -
|
38 | | -$wgUseIconFavorite = true;
|
39 | | -
|
| 2 | +This extension provides the ability for users to create a list of |
| 3 | +favorites. It works separately from the Watchlist, and provides the |
| 4 | +ability to also embed your users' lists of favorites on a page (such as |
| 5 | +on the main page). |
| 6 | + |
| 7 | +== Database schema == |
| 8 | + |
| 9 | +A 'favoritelist' table is added to the wiki's database. This table |
| 10 | +contains the list of items that have been added to each user's favorite |
| 11 | +list. |
| 12 | + |
| 13 | +The table must be present for the wiki to function once the extension is |
| 14 | +enabled |
| 15 | + |
| 16 | +== Installation == |
| 17 | + |
| 18 | +To enable the extension, add the following line to your |
| 19 | +LocalSettings.php file: |
| 20 | + |
| 21 | +require_once("$IP/extensions/Favorites/Favorites.php"); |
| 22 | + |
| 23 | +You must then create and populate the new database table. |
| 24 | + |
| 25 | +The easiest way to do this is to run MediaWiki's standard updater: |
| 26 | +php maintenance/update.php |
| 27 | + |
| 28 | +If you do not have command-line access to your server, you can manually |
| 29 | +apply the favorites.sql file's commands to your database (check for |
| 30 | +proper table prefix, etc). |
| 31 | + |
| 32 | +== Configuration Parameters == |
| 33 | + |
| 34 | +If using the Vector skin, you may want to also add the "Star" icon to |
| 35 | +your navigation bar. To do this, add the following line '''above''' the |
| 36 | +"require_once" line in your LocalSettings.php file: |
| 37 | + |
| 38 | +$wgUseIconFavorite = true; |
| 39 | + |
Property changes on: trunk/extensions/Favorites/README |
___________________________________________________________________ |
Added: svn:eol-style |
40 | 40 | + native |