Hi everyone ... I need your help to finally create my WikiFarm website... Here is my problem: I was created the wikifarm website using the advantage of symlinks on a Unix-based system. Scenario 3: Drupal-style sites (more than one wiki using different databases on a single server, using the same source code) having different domains/subdomains: wiki1.mydomain.com wiki2.mydomain.com
>>>>>>>>>>>>>>>>>>>>> BUT
when i tried to do some script maintenance like update.php after installing AbuseFilter extension in wiki2 [create the necessary database tables that this extension needs] The update script update only first wiki database...and does not update the scened database ever... So, Is the were a way to specify a database name as a command line? Or i missed something in configuration.... Thanks in advanced
Regard /alnaimi
Sorry, my English is rusty Little bet
Maintenance scripts accept a --wiki=... command line arg. When specified MW_DB and MW_PREFIX constants will be defined (if the value includes a "-" the first part will be MW_DB and the latter MW_PREFIX; Otherwise the whole thing will be MW_DB). You can use those constants in your LocalSettings to vary the wiki config like you do based on domain name.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
On 2013-10-13 8:04 AM, alneami basha wrote:
Hi everyone ... I need your help to finally create my WikiFarm website... Here is my problem: I was created the wikifarm website using the advantage of symlinks on a Unix-based system. Scenario 3: Drupal-style sites (more than one wiki using different databases on a single server, using the same source code) having different domains/subdomains: wiki1.mydomain.com wiki2.mydomain.com
>>>>>>>>>>>>>>>>>>>>>> BUT
when i tried to do some script maintenance like update.php after installing AbuseFilter extension in wiki2 [create the necessary database tables that this extension needs] The update script update only first wiki database...and does not update the scened database ever... So, Is the were a way to specify a database name as a command line? Or i missed something in configuration.... Thanks in advanced
Regard /alnaimi
Sorry, my English is rusty Little bet