Separation of Church and State
"Let there be freedom of religion, but keep religion separate from government. A country that bows down to the laws of religion will one day be governed by religion."

Help:Contents

From Universal Stewardship
Jump to: navigation, search

Connect with Family! Connect with old friends! Click on any letter below.

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Create Name's page

Connect with new friends!
When you find a RELATIVE or FRIEND in Zamboanga Wiki, Link your pages. Connect with the world!!
It’s FREE and SIMPLE. Our Social Network at Work for You.

Create your own Profile. Start a Genealogy Page
Post only information you want to share.

Do you have a question?Click Here

If you need help in editing or creating a page or uploading an image in Z-wiki, please contact franklin_maletsky@yahoo.com
Always use the test page to practice. Click on "test" and it will take you to the test page. There, you can practice your codes. Good luck.

How to Edit WebPages

The wiki is viewable by anyone in the world. But to to edit or create, you must first and foremost be a registered user.

When you are not logged in, you will see that at the top right side of the page, are the words "Log in". You click on that to log in.

After you have logged in, The top menu will change. There will be an additional tab called "edit". If you click on that, the wiki will allow you to edit the whole page. But if you only want to edit a certain portion of the page, then you have to go that specific content.

You will notice that for every topic or "Content", there will be an [Edit] section at the end of the "Content" line (right side).

For example: This is after you have logged in:

If you want to edit the Content Section: History of Mybarangay, Mymunicipality, Myprovince, Philippines [Edit]
You would click on [Edit] at the end of the line of History of Mybarangay, Mymunicipality, Myprovince, Philippines [Edit]

When you do that, the wiki will show you a window with all the content of that section in that window and it looks pretty much like a word processor or more so like a "notepad".

You can go right in and edit.

Remember the wiki is very forgiving. But it has a very good memory too. It does not forget anything that has been done to the page. It keeps a history. (To view the "history" of the page, click the "history" tab at the top menu.) That is why if you make a mistake and you totally ruined the page, don't worry. The wiki has the undo section for the administrator. The admin can go back to the history and put back everything like it used to be.

After you are done with editing, take notice of the bottom of the "window". There you will see "Save page", "Show preview", "Show changes".

To preview what you have changed, click on "Show Preview". If you like what you see, make sure you click on "Save page".

At the left hand side of the wiki page (sidebar), you will notice the menu item called "Recent Changes". This is where you can see the work of every user who did any editing.

The admin checks this 3 or 5 times a day. So the activity in the wiki is monitored.

Creating a Title Page

  • Use the search window to look for topics that you want to participate in or to write about.
  • Type in the topic of your choice and click on the "go" button, not the "search" button.
  • The "go" button gives you the option of creating the topic if it's not found.
  • If that particular topic is not in the system, then you may create it.
    • You will get this message: There is no page titled ":your title". You can create this page. Click on "create this page" if this is the title that you want.
  • Try to keep your titles short because they become the file name and you can't change it. Treat Z-wiki like a resourceful "notepad". It's just a "notepad" with the ability to do"extra things" when wiki codes are typed in the notepad. If you just want to write about something, go right ahead. Your "title" will be the "file" name. Z-wiki is no different than your average word processor.

Create Headlines

" == " Use the equals sign to categorize things. See sample below:

Headline #1

when you use the equals sign like so:
=Headline #1= you get the above result.

Headline #2

when you use the equals sign like so:
==Headline #2== you get the above result.


 If you want your headline to show as a head line, do not put any characters after the = sign.<br>The same is true for the == or the === or ==== .

Create Links

Internal Link - Linking to pages within Z-wiki

Z-wiki has a page title called "communities". Now, inserting the z-wiki title "communities" page 
like so: [[Communities]] will create a link to that page and it will look like this: Communities

External Link - Linking to pages outside of Z-wiki & showing the "arrow"

 If you want to link to an outside website like www.enjoytravelling.net, you would write the code like so:[http://www.enjoytravelling.net TRAVEL] which will create a link to that page and it will look like this: Enjoy your [http://www.enjoytravelling.net TRAVEL.] However, if you want to write the external link without any special code just write out the full url: http://www.enjoytravelling.net

External Link - Linking to pages outside of Z-wiki without showing the "arrow"

<span class="plainlinks">[http://www.zamboanga.com/realty PROPERTIES FOR SALE]</span>

<span class="plainlinks">[http://www.zamboanga.com/realty <font color="green" size=4>'''PROPERTIES FOR SALE'''</font>]</span>

<span style="background-color: #00CCFF"><span class="plainlinks">[http://www.zamboanga.com/realty <font color="#FFFF00" size=4>'''PROPERTIES FOR SALE''']</font></span></span>

Just trying: click on link an opens in new tab


If you want a few specific links to open in a new window, go with tor's answer. If you want all external links to do so, MediaWiki already has a setting for it: $wgExternalLinkTarget. Just add the following to your LocalSettings.php file:

$wgExternalLinkTarget = '_blank';

Clickable Images with External Links:

Herbalremedies.png


[[File:Herbalremedies.png|400px|link=http://www.shareasale.com/r.cfm?u=198384&b=26425&m=6374&afftrack=&urllink=www%2Enativeremedies%2Ecom%2Flearning%2Dand%2Dfocus%2Ehtml]]

Redirects

#REDIRECT [[Title]]

Strike Thru

Strike Through

Create Bullets

Use the * sign to create a bullet. Precede the first word with the * sign. Like so:

Here is an example: *Use the astrix sign to create a bullet
The result will look like this

  • Use the astrix sign to create a bullet
Use the pound sign to create a numbered bullet:
# example line one
# example line two
# example line three

The result will look like this

  1. example line one
  2. example line two
  3. example line three

List basics

Mediawiki offers three types of lists. Ordered lists, unordered lists, and definition lists. In the following sections, ordered lists are used for examples. Unordered lists would give corresponding results.

wikitext rendering
* Lists are easy to do:
** start every line
* with a star
** more stars mean
*** deeper levels
  • Lists are easy to do:
    • start every line
  • with a star
    • more stars mean
      • deeper levels
*A newline
*in a list  
marks the end of the list.
Of course
*you can
*start again.
  • A newline
  • in a list

marks the end of the list. Of course

  • you can
  • start again.
# Numbered lists are good
## very organized
## easy to follow
  1. Numbered lists are good
    1. very organized
    2. easy to follow
* You can also
**break lines
**like this
  • You can also
    • break lines
    • like this
; Definition lists
; item : definition
; semicolon plus term
: colon plus definition
Definition lists
item 
definition
semicolon plus term
colon plus definition
* Or create mixed lists
*# and nest them
*#* like this
*#*; definitions
*#*: work:
*#*; apple
*#*; banana
*#*: fruits
  • Or create mixed lists
    1. and nest them
      • like this
        definitions
        work:
        apple
        banana
        fruits

Uploading Pictures

When you upload pictures, the name of the picture that is already at the source (your hard-drive) will be copied over to the upload section.

If you are loading a file with a name like DSX003.JPG, you do not have to keep the same file name. You can change it to make it describe the picture.

So, when you are uploading "DSX003.JPG", the destination file name will also automatically show "DSX003.JPG". Before you click on upload file, change the destination file name to something like "Boracay Beach Sunset.JPG", then go ahead and click on "Upload File".

This way you picture will be "searchable" by the search engines. It has a name, not just a number.

Create a Simple Names Page

  • Copy the code in blue below:

{{Zheader names}}
<!--- DO NOT EDIT ABOVE THIS LINE --->
[[category:LastName]]

==About Firstname Lastname==
??

Create Genealogy or Names Page

Add your Name to the List.
Later when you find a relative here, you can link your pages.
  1. Start by REGISTERING as a member.
  2. To create a page, go to the "search or go" entry point and type in your Full Name
    • First Name then Last Name.
  3. If this page does not exist, you will get this message: There is no page titled ":Firstname Lastname". You can create this page.
    • Now, you go ahead and click on "create this page". Z-Wiki will show you a blank page.
  4. Next, copy the sample code in blue to the right and insert or paste it in the blank page created. Click on "Save Page" button located at the bottom of the page. You can then edit whenever you want.
  5. Remember to change "FirstName" and "LastName" to your actual First Name and Last Name.

{{Zheader names}}

<!--- DO NOT EDIT ABOVE THIS LINE --->
[[category:LastName]]

==About Firstname Lastname==
??

==Family of Firstname Lastname==
*Father: ??
*Mother: ??
*Siblings:
*#Sibling's Name
*#Sibling's Name

==Schools Firstname Lastname attended==
*Elementary: ??
*High School: ??
*College: ??

==Organizations or Companies Firstname Lastname Affiliated with==
??

==How to Upload Photos to the Photo Gallery of Firstname Lastname==
*Do this so your [[Special:Upload|photo upload]] will be properly categorized for Firstname Lastname.
*Copy and paste the code below in "Green" to the body or "Summary" of the image file that you are uploading.
<font color=green><nowiki>{{zadheader pictures}}</nowiki></font><br>
<font color=green><nowiki>[[Category:Firstname Lastname Photo Gallery]]</nowiki></font><br>
<font color=green><nowiki>*[[Firstname Lastname]]</nowiki></font>
----

==[[:Category:Firstname Lastname Photo Gallery|Firstname Lastname Photo Gallery]]==
<gallery>
File:Family clip art.jpg|Replace this with your picture.
</gallery>

Create a Bio-Data or Profile Page for Employment

Add your Name to the List.
Later when you find a relative here, you can link your pages.
  1. Start by REGISTERING as a member.
  2. To create a page, go to the "search or go" entry point and type in your Full Name
    • First Name then Last Name.
  3. If this page does not exist, you will get this message: There is no page titled ":Firstname Lastname". You can create this page.
    • Now, you go ahead and click on "create this page". Z-Wiki will show you a blank page.
  4. Next, copy the sample code in blue to the right and insert or paste it in the blank page created. Click on "Save Page" button located at the bottom of the page. You can then edit whenever you want.
  5. Remember to change "FirstName" and "LastName" to your actual First Name and Last Name.

{{Zheader names}}

<!--- DO NOT EDIT ABOVE THIS LINE --->
[[category:LastName]]

==About Firstname Lastname==
*Type of Work Seeking: ??

==Schools Firstname Lastname attended==
*Elementary: ??
*High School: ??
*College: ??

==Previous Employment or Work History of Firstname Lastname==
??

==Organizations or Companies Firstname Lastname Affiliated with==
??

==How to Upload Photos to the Photo Gallery of Firstname Lastname==
*Do this so your [[Special:Upload|photo upload]] will be properly categorized for Firstname Lastname.
*Copy and paste the code below in "Green" to the body or "Summary" of the image file that you are uploading.
<font color=green><nowiki>{{zadheader pictures}}</nowiki></font><br>
<font color=green><nowiki>[[Category:Firstname Lastname Photo Gallery]]</nowiki></font><br>
<font color=green><nowiki>*[[Firstname Lastname]]</nowiki></font>
----

==[[:Category:Firstname Lastname Photo Gallery|Firstname Lastname Photo Gallery]]==
<gallery>
File:Family clip art.jpg|Replace this with your picture.
</gallery>

Create a company Page

Create Your Own Company Page
  1. Start by Registering as a member.
  2. To create a page, go to the "search or go" entry point and type in the name of your Company.
    • Full Name of your Company.
  3. If this page does not exist, you will get this message: There is no page titled ":Company". You can create this page.
    • Now, you go ahead and click on "create this page". Z-Wiki will show you a blank page.
  4. Next, copy the sample code in GREEN to the right and insert or paste it in the blank page created. Click on "Save Page" button located at the bottom of the page. You can then edit whenever you want.
  5. Remember to change "Company" to your actual Company Name.
  • copy the codes in green to create a simple company page

==About Company==
*If you are the manager, owner, or person in charge of "company", go ahead and take over this page. It is yours to use and advertise your company. It is FREE. No charge. In the section below where it says "products", you can list the products or services you have available for sale. You may edit and improve this page to make it more attractive to help promote the products and services of your business.
* Company is located in ?? (place the link to the municipality or city here)
*Address:
*Phone:
*email:
* Something about the company
==Products and Services of Company==
*Company Sells the following items: ?
*Company Services the following items: ?
==Jobs Available at Company==
*We have available positions for the following jobs:
*Job Description:
==Company Photo Gallery==
<gallery>
File:nophoto.gif|Replace this with your picture.
</gallery>

Create Picture Galleries

  • default

<gallery>
File:Astragalus centralpinus.JPG|'''''Dried Astragalus Flowers<br/>alopecurus'''''
File:Astragalus exscapus.JPG|'''''Astragalus<br/>exscapus'''''
</gallery>

  • Specify the width and number of pictures per row

<gallery caption="Sample gallery" widths="75px" heights="75px" perrow="10">
File:Astragalus centralpinus.JPG|'''''Dried Astragalus Flowers<br/>alopecurus'''''
</gallery>

Insert Date and Time

(5 tildes ~~~~~) generates 17:13, 11 September 2017 (UTC)

21:39, 28 September 2017 (UTC) = this is the current date

Styles

Fonts

Test Test Test Test Test

Float Right

The biggest factor that determines how well you age is not your genes but how well you live. Not convinced?
Pets.JPG
The article within the table floats to the right: The code is below: Copy and paste to try it.

<div style="float:right; width:">
<table width=150 border=1>
<tr>
<td>The biggest factor that determines how well you age is not your genes but how well you live. Not convinced? [[Image:Pets.JPG|150px|center]]
</td>
</tr>
</table>
</div>

To make it float to the left change "float:right" to "float:left"

The same result if use the wiki style table codes:

<div style="float:right; width:">
{| width=150 border=1
|-
|The biggest factor that determines how well you age is not your genes but how well you live.
Not convinced? [[Image:Pets.JPG|150px|center]]
|}
</div>

Tables

{| class="wikitable"
|colspan=2, align=center|'''Elected officials of  ?? for the term of ??'''
|-
|colspan=2|
*Provincial Governor: ?
*Provincial Vice-Governor: ?
*House Representative:
**1st District:  ??
**2nd District: ??
|-
|colspan=2, align=center|'''Board Members of ?'''
|-
|valign=top|
*1st District
#??
#??
|valign=top|
*2nd District
#??
#??
|}
Elected officials of Ilocos Norte for the term of ??
  • Provincial Governor: ?
  • Provincial Vice-Governor: ?
  • House Representative:
    • 1st District:  ??
    • 2nd District: ??
Board Members of ?
  • 1st District
  1. ??
  2. ??
  • 2nd District
  1. ??
  2. ??

{| class="wikitable"
!'''Elected officials of ?? for the term of ? - ?'''
!'''Elected officials of ?? for the term of ?-?'''
|-
|Valign=top|
*Mayor of ??: ??
*Vice-Mayor of ??: ??
*Councilors of ??:
#??	

|Valign=top|
*Mayor of ??: ??
*Vice-Mayor of ??: ??
*Councilors of ??:
#??	
|}
Elected officials of ?? for the term of ? - ? Elected officials of ?? for the term of ?-?
  • Mayor of ??: ??
  • Vice-Mayor of ??: ??
  • Councilors of ??:
  1. ??
  • Mayor of ??: ??
  • Vice-Mayor of ??: ??
  • Councilors of ??:
  1. ??

No Border

{| border="0" 
|colspan="2" bgcolor="blue"|explicit
|-
|bgcolor="red"|borderless
|bgcolor="green"|table
|}

Here is the result


Here is the table:

explicit
borderless table

Header 1 Header 2
Header2
Header 3
Header 4
Header 5
Row 1 Clmn 1
Row 1 Clmn 2
Row 1 Clmn 3
Row 1 Clmn 4
Row 1 Clmn 5
Row 2 Clmn 1
Row 2 Clmn2
Row 2 Clmn 3
Row Clmn 4
Row 2 Clmn 5

Coding Below:
{| class="wikitable"
|- bgcolor=#cccccc
! [[Sample link|Header 1]]
![[Header2]<br>]
! Header 3<br>m²
! Header 4<br>
! Header 5<br />
|--style="background:#ccccff"
|Row 1 Clmn 1
|<center>Row 1 Clmn 2</center>
|<center>Row 1 Clmn 3</center>
|<center>Row 1 Clmn 4</center>
|<center>Row 1 Clmn 5</center>
|-
|Row 2 Clmn 1
|<center>Row 2 Clmn2</center>
|<center>Row 2 Clmn 3</center>
|<center>Row Clmn 4</center>
|<center>Row 2 Clmn 5</center>
|-
|}
What the symbols mean:

{| This goes at the very top or the first line of the code. Same as <table>
|- This is the next line which is the same as <tr> which creates the table row or rows
| This creates the data cell or <td> you insert the "|" then the content.
|} This ends the table

|width=150 |

makes the width of the cell 150 pixels wide.

|colspan="2" |

Makes the cell span over 2 columns.

|valign="top" |

Forces the content in the cell to start at the top.

|align="center" |

Forces the content in the cell to be centered.

{| border="1" width=600

This makes the border of the table show at one pixel with a width of 600 pixels. 
This is where you control the size of your table.

Sortable Table

ColSpans table

You can use HTML colspan and rowspan attributes on cells for advanced layout.

You type You get
{| class="wikitable"
!colspan="6"|Shopping List
|-
|rowspan="2"|Bread & Butter
|Pie
|Buns
|Danish
|colspan="2"|Croissant
|-
|Cheese
|colspan="2"|Ice cream
|Butter
|Yoghurt
|}
Shopping List
Bread & Butter Pie Buns Danish Croissant
Cheese Ice cream Butter Yoghurt

Centering Table

You type You get
{| class="wikitable" style="margin: 1em auto 1em auto;"
|+ '''Caption of the Table'''
! scope="col" | FirstName
! scope="col" | MiddleName
! scope="col" | LastName
|-
|Franklin ||Harry ||Maletsky
|}
Caption of the Table
FirstName MiddleName LastName
Franklin Harry Maletsky

You can use HTML colspan and rowspan attributes on cells for advanced layout.

You type You get
{| class="wikitable"
!colspan="6"|Shopping List
|-
|rowspan="2"|Bread & Butter
|Pie
|Buns
|Danish
|colspan="2"|Croissant
|-
|Cheese
|colspan="2"|Ice cream
|Butter
|Yogurt
|}
Shopping List
Bread & Butter Pie Buns Danish Croissant
Cheese Ice cream Butter Yogurt

Background color for a table or cell

Stuff

Press the Windows key and the R key at the same time. Then type "charmap" into the window that pops up. Then hit "ok". A window pops up for all the fonts for you to copy and paste.

https://www.w3schools.com/charsets/ref_utf_misc_symbols.asp • ● A dot you can use; ☎ A phone symbol; ★ A star symbol; » « pointers
♦ ■ ✔ ✔ ✅ m² ₱ ¢ ™ ☮ � ↑ ↓ ↕ → ← ↔ ☼ ♀ ♂ ☪ ˅ ˄ 🎵 🎶 ♬ 🎤 😕 ÷ ✞ ✝ 🍷 🍺 💜 ❤ 🐓
🍴 🍗 🍢 ✈ 🎅 🎄 🚬 💤💤

1 line 4d.gif
1st - <sup>Superscript text</sup>
1st - <sub>Subscript text</sub>
Done - <s>Strike-through text</s>
<small>Small Text</small>
Small Text
<ref>Insert footnote text here</ref>

  • Insert Iframe: code below

<fhm_iframe>iframe width="1000" height="3500" frameborder="0" scrolling="yes" marginheight="0" marginwidth="0" src="http://www.addressofpage.htm" </fhm_iframe>

  • Posting Comments within a page

*<font size=5><span class="plainlinks">[http://www.zamboanga.com/z/index.php?title=Image:Aug25_077.jpg&action=edit&section=new '''Post Your Comment''']</span>: <font size=3>New Comments will go to the bottom of the page</font></font>

  • Absolute top

<div style="top:0px;left:0px;position:absolute;width:100%;height:2000px;background-color:#fffffd;z-index:440411376;">
peso sign: ₱

Picture Comments

*<font size=3><span class="plainlinks">[http://www.zamboanga.com/z/index.php?title=Image:XXXX&action=edit&section=new <font color=brown>'''Click To Post Your Comment'''</font>:]</span></font> Comment goes to the bottom of the page.
---- Go to next picture or back to previous


Horizontal Line using tables

Z-Gallery Feature: Paso Robles Park
  • Just the straight line

{| border=0 align=center width=600 cellpadding=0 style="background:inherit;"
|-
!align="center" colspan="" style="border-top:0px solid white; border-right:0px solid white; border-bottom:3px solid blue; border-left:0px solid white;"|
|}

Media Wiki Optimization

MediaWiki is among the most scalable web applications. Its efficient design allows it to support sites as huge as Wikipedia while at the same time it can be perfectly optimized even for the smallest personal wiki.

1. MediaWiki optimization through Caching

Mediawiki supports a wide variety of caching options such as Memcache, eAccelerator, Database and others. In our case we will use a simple file caching because it works on any kind of server and does not cause additional MySQL overhead.

In order to enable the File Caching for MediaWiki please open your LocalSettings.php file. Then at the bottom add the following 3 lines:

$wgUseFileCache = true;

$wgFileCacheDirectory = "/home/YOUR_USER/public_html/cache";

$wgShowIPinHeader = false;

The first line enables the file caching option. The second line specifies in which directory the cached content should be stored. The third option is required because of a dependency.

Besides that make sure to comment (delete) the line which contains $wgMainCacheType variable in order to avoid a misconfiguration.

Finally, access your wiki pages for a while and then check the size of the "/home/YOUR_USER/public_html/cache" directory. If the cache is working this directory size should increase slowly.

2. Optimization tweaks

Check your MySQL slow log and see what slow queries you have for the MediaWiki database. Very often slow queries are caused by certain options such as the Page Counters. Here is an example MySQL slow query:

Executed 37 min ago for 2 sec on Database --> YOUR_USER_wiki.

UPDATE /* 127.0.0.1 */ `page` SET page_counter = page_counter + 1 WHERE page_id = 8

In this case you will be forced to turn off the Page Counters. For this purpose add the following lineto your LocalSettings.php file:

$wgDisableCounters = true;

Your MySQL slow logs may vary. That's why try searching for disabling the functionality associated with them.

As of Sept. 6, 2013:
Here are the MySQL timeout values set inside the MySQL configuration file:

connect_timeout=100
interactive_timeout=200
wait_timeout=100
delayed_insert_timeout=100
innodb_lock_wait_timeout=100

All values are in seconds.

Change Password

Pulls from the user table by user name 300 at a time SELECT * FROM `mz_user` WHERE user_name LIMIT 0 , 300

Click on SQL

  • change the password

UPDATE prefix_user SET user_password = MD5( CONCAT( user_id, '-', MD5( 'NEWPASS' ) ) ) WHERE user_id =1

Change the "prefix_user" to the name of the user database.

change the "user_id =1" to the actual number of the user.

Sitemaps

The generator is Located: https://www.zamboanga.com/z/maintenance/generateSitemap.php