1- install .txt
1+ LatchExtension .txt
22/**
33* Plugin Name: latch
44* Plugin URI: http://www.elevenpaths.com
@@ -15,6 +15,28 @@ install.txt
1515
1616I am working on a Windows installer, by now, you will have to install the extension manually.
1717
18+ _________________________________________________________________________________
19+ | |
20+ | INDEX |
21+ | |
22+ | [1] Installing the extension manually |
23+ | [1.1] Install the logic of the plugin |
24+ | [1.2] Install the PHP SDK |
25+ | [1.3] Install the language support |
26+ | [1.4] Append includes in LocalSettings |
27+ | [1.5] Create a table in the database |
28+ | [1.6] Settings: application ID & secret |
29+ | [1.7] IMPORTANT |
30+ | |
31+ | [2] Uninstalling the extension manually |
32+ | [2.1] Quick uninstall |
33+ | [2.2] Uninstall |
34+ | |
35+ | [3] What are this files for? |
36+ | |
37+ | [4] Special thanks |
38+ |_______________________________________________________________________________|
39+
1840
1941===================================================================================================
2042[1] Installing the extension manually
@@ -23,7 +45,7 @@ I am working on a Windows installer, by now, you will have to install the extens
2345~ Follow the instructions as follows:
2446
2547-----------------------------------------------------------------------------------
26- [2 .1] Install the logic of the plugin
48+ [1 .1] Install the logic of the plugin
2749-----------------------------------------------------------------------------------
2850To make the extension work it is needed to create a directory named latch,
2951under C:\xampp\apps\mediawiki\htdocs\extensions
@@ -36,15 +58,15 @@ and copy the following files there:
3658 LatchConfig.php
3759
3860-----------------------------------------------------------------------------------
39- [2 .2] Install the PHP SDK
61+ [1 .2] Install the PHP SDK
4062-----------------------------------------------------------------------------------
4163 Create a directory PHP_SDK under C:\xampp\apps\mediawiki\htdocs\extensions\Latch and copy the files:
4264 Latch.php
4365 LatchResponse.php
4466 Error.php
4567
4668-----------------------------------------------------------------------------------
47- [2 .3] Install the language support
69+ [1 .3] Install the language support
4870-----------------------------------------------------------------------------------
4971 For language support into Catalan, English, Spanish, Basque, Galician, Polish, Turkish and German
5072 create a directory named i18n under C:\xampp\apps\mediawiki\htdocs\extensions\Latch and copy the files:
@@ -57,7 +79,7 @@ and copy the following files there:
5779 tr.json
5880
5981-----------------------------------------------------------------------------------
60- [2 .4] Append includes in LocalSettings
82+ [1 .4] Append includes in LocalSettings
6183-----------------------------------------------------------------------------------
6284 You need to alter the file LocalSettings.php.
6385 Be aware to do this after including the extension.
@@ -76,7 +98,7 @@ and copy the following files there:
7698 require_once 'C:\xampp\apps\mediawiki\htdocs\extensions\Latch\PHP_SDK\Error.php';
7799
78100-----------------------------------------------------------------------------------
79- [2 .5] Create a table in the database
101+ [1 .5] Create a table in the database
80102-----------------------------------------------------------------------------------
81103 The last step is to create a table in your local Mediawiki database.
82104 You can check the file C:\xampp\apps\mediawiki\LocalSettings.php
@@ -100,25 +122,35 @@ and copy the following files there:
100122 CREATE INDEX mw_user_id ON latch(mw_user_id);
101123 EXIT;
102124 shell> "C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqladmin" -u root shutdown
125+
126+ -----------------------------------------------------------------------------------
127+ [1.6] Settings: application ID & secret
128+ -----------------------------------------------------------------------------------
129+ To get an application ID and application secret go to the developer area
130+ at https://latch.elevenpaths.com and sign up to create a developer account.
131+
132+ Then go to your settings add a new application named Mediwiki (or whatever
133+ you want) and copy/paste the appId and the secret from the web into the
134+ file LatchConfig.php
103135
104136-----------------------------------------------------------------------------------
105- [2.6 ] IMPORTANT
137+ [1.7 ] IMPORTANT
106138-----------------------------------------------------------------------------------
107139 Be aware that all this files need at least read write and execute permissions .
108140 So to make sure all this works, chech that all the files copied have the right permissions.
109141
110142
111143===================================================================================================
112- [3 ] Uninstalling the extension
144+ [2 ] Uninstalling the extension
113145===================================================================================================
114146
115147-----------------------------------------------------------------------------------
116- [3 .1] Quick uninstall
148+ [2 .1] Quick uninstall
117149-----------------------------------------------------------------------------------
118150 For a quick uninstall of the extension just remove the includes added in the LocalSettings.php
119151
120152-----------------------------------------------------------------------------------
121- [3 .2] Uninstall
153+ [2 .2] Uninstall
122154-----------------------------------------------------------------------------------
123155 - For a more carefull uninstall remove the files under C:\xampp\apps\mediawiki\htdocs\extensions\Latch
124156
@@ -130,7 +162,7 @@ and copy the following files there:
130162
131163
132164===================================================================================================
133- [4 ] What are this files for?
165+ [3 ] What are this files for?
134166===================================================================================================
135167
136168The file LatchAccount.php includes the code to add a section in the user's preferences,
@@ -154,7 +186,7 @@ The file LatchConfig.php contains settings needed to send queries to the Latch s
154186
155187
156188===================================================================================================
157- [5 ] Special thanks
189+ [4 ] Special thanks
158190===================================================================================================
159191
160192As a Spaniard myself I took the time to translate the Latch extension into Spanish and Galician.
0 commit comments