From Wiki-UX.info

Authors
Jump to: navigation, search

Authors

Author Profile Gallery

Why should I create and update my Author Profile?

There are many reasons why you should take your time to create and keep your Author Profile up to date:

  1. It is cool to have personal presence in Wiki-UX.info
  2. It Is a complement to the Author Signature in your articles. When you sign your articles, readers can answer questions about who you are,your expertise and, why not, how you look like?
  3. Readers can contact you if they want to exchange information and so, you will improve the quality of your own knowledge of the topics you like to write about.
  4. Every day is a Job Interview! You never know who may be watching! New opportunities may arise due to the impact that your work has on the people that create value using the information you shared.


Contents


Frequently Asked Questions

How to add my Author Profile?

To add your profile to the gallery, add a single line on the Author Profile Gallery, following strict alphabetic order. Please use your Full Name for your "Author Profile Article" to comply with the article authoring signing best practices.

Example:

Image:20299025.png|[[Alejandro Marin Badilla]]
Image:XXXXXXXX.png|[[Your Full Name]]          <--- Add your profile here

How to add a portrait to my profile?

Your portrait picture must be 400 pixels wide, 514 pixels height. Should be saved on JPG or PNG format and should be named using a unique number. Ask the Site Administrator to upload it.

How should I sign my articles?

Signing your articles is an easy way to leave track that you are the authored or compiler of its content. Just add an entry similar to the following at the end of the article, just before the categories.

== Authors ==
* [[Full Author Name]]

Example:

== Authors ==
* [[Alejandro Marin Badilla]]

Is an author profile available?

Here is a template to set up your Author Profile. Copy the template in your new article and replace fields ( <field> ) with your data. To add additional rows to the sections, just use the Wiki table convention for new row ( |- ).

__NOTOC__
[[Image:<Employee_ID.png>|200px]]
== Personal ==
{|
|width="200pt"|First and Last Name(s) || <First and Last Name(s)>
|-
|Title || <Title>
|-
|Date and Place of Birth || <Date and Place of Birth>
|-
|Civil Status || <Single | Married | Divorced>
|-
|Current Address || <Current Address>
|-
|Phone / Mobile || <Phone / Mobile>
|-
| e-mail || <e-mail>
|}
 
== Education ==
{|
|width="200pt"|<start year - end year || <Institution>
|-
|<start year - end year || <Institution>
|}
 
== Certificates and Degrees ==
{|
|width="200pt"|<year> || <degree><br><Institution>
|-
|<year> || <degree><br><Institution>
|}
 
== Experience ==
{|
|width="200pt"|<start year - end year || <Position><br><Institution>
|-
|<start year - end year || <Position><br><Institution>
|}
 
== Skills ==
 
'''<Skill>''':
:<Skill description>
 
'''<Skill>''':
:<Skill description>
 
== Spoken Languages ==
{|
|width="200pt"|<Language> || <Mother tongue | Fluent | Novice>
|}

How to update the Pulldown Menu

Used

The Pulldown Menu is maintain using Mediawiki bullet list on MediaWiki:PulldownMenu article. The following custom php code in GuMaxV.php skin file code convert the list into the Navigation Menu.

<!-- Search and Pulldown Menu -->
    <div id="gumax-p-pulldownmenu">
<?php
$id_menu = Title::newFromText("MediaWiki:PulldownMenu")->getArticleId();
$PulldownMenu = Article::newFromId($id_menu);
$menu = explode("\n", $PulldownMenu->getRawText());
$count = 0;
 
printf("<ul id=\"sddm\">\n");
foreach($menu as &$text) {
if(preg_match('/^\*[^\*]\s*\[([\w:\#\/\-\_\.]*\s)(.*)\]/', $text, $item))  {
        if($count > 0)
                printf("\t\t</div>\n");
 
        printf("\t<li><a href=\"%s\"\n", $item[1]);
        printf("\t\tonmouseover=\"mopen('m%d')\"\n", $count);
        printf("\t\tonmouseout=\"mclosetime()\">%s</a>\n", $item[2]);
 
        printf("\t\t<div id=\"m%d\"\n", $count);
        printf("\t\t\tonmouseover=\"mcancelclosetime()\"\n");
        printf("\t\t\tonmouseout=\"mclosetime()\">\n");
 
        $count++;
 
        }
else
        {
        preg_match('/^\*\*\s*\[([\w:\?\=\&@\/\-\_\.]*\s)(.*)\]/', $text, $item);
        if(!strpos($item[1], "wiki-ux"))
                printf("\t\t<a href=\"%s\" target=\"_blank\">%s</a>\n", $item[1], $item[2]);
        else
                printf("\t\t<a href=\"%s\">%s</a>\n", $item[1], $item[2]);
        }
}
 
printf("\t\t</div>\n");
printf("\t</li>\n");
printf("</ul>\n");
printf("<div style=\"clear:both\"></div>\n");
?>
    </div>
        <!-- end of Search and Pulldown Menu -->

Links outside of wiki-ux.info site appends the target="blank" tag, to open a new browser window or tab. This is particularly useful on tabbed browsers.

The CSS format of the Menu is handle using a custom CSS stylesheet pulldownmenu.css file:

#sddm
{       margin: 0;
        padding: 0;
        z-index: 30}
 
#sddm li
{       margin: 0;
        padding: 0;
        list-style: none;
        float: left;
        color: #7FBAFF;
        font-weight: normal;
        font-family: Verdana, Arial, 'Trebuchet MS';}
 
#sddm li a
{       display: block;
        margin: 0 1px 0 0;
        padding: 4px 10px;
        width: 70px;
        background: #3366CC;
        color: #FFF;
        text-align: center;
        font-weight: bold;
        text-decoration: none;}
 
#sddm li a:hover
{       font-weight="bold"; background: #CC6633;}
 
#sddm div
{       position: absolute;
        visibility: hidden;
        margin: 0;
        padding: 0;
        background: #E6E6FA;
        border: 1px solid #5970B2}
 
        #sddm div a
        {       position: relative;
                display: block;
                margin: 0;
                padding: 2px 3px 2px 13px;
                width: auto;
                white-space: nowrap;
                text-align: left;
                text-decoration: none;
                background: #E6E6FA url(images/gumax-arrow-blue.gif) center left no-repeat;
                color: #555;
                font-weight: normal;
                font-family: Verdana, Arial, 'Trebuchet MS';}
 
        #sddm div a:hover
        {       background: #3366CC url(images/gumax-arrow-yellow.gif) center left no-repeat;
 
                color: #FFFFFF;}
 
/* Hide Main Page & Portal Title */
body.page-Main_Page h1.firstHeading { display:none; }
body.page-HP-UX_Enterprise_Frontline_Community_Portal h1.firstHeading { display:none; }

Is an article template available?

Here is an article template than can be use as a starting point for your own articles

__NOTOC__
<metadesc></metadesc>
 
== Abstract ==
 
__TOC__
 
== Sections ==
 
== Reference ==
* [<URL> <Webpage Title>]
 
== Authors ==
* [[Full_Author_Name]]
 
== Editor ==
* [[Full_Editor_Name]]
 
[[Category:Category]]
[[Category:HP-UX]]

How to upload manuals?

If you want to add a manual to the Manual Archive follow the instructions on How to upload manuals article.

How to export an Article to HTML or PDF

Currently, two methods are supported to export article(s) to HTML and PDF format. The first methods uses the action button

A. Use the [HTML] or [ PDF ] action buttons in the Action Bar

1. Click on HTML or PDF button in the action bar above or below the body of the article.


2. Accept download or openinig of the HTML or PDF document.

Image:Export article 02.jpg


3. Check the exported content.


B. Use the Create PDF article template

1. Replace the article bullet list with the name of the article(s) you want to export.

== Articles ==
* [[How to remove a product from the software database]] 
 
[{{fullurl:{{FULLPAGENAMEE}}|action=pdfbook}} Save as PDF]
 
[{{fullurl:{{FULLPAGENAMEE}}|action=pdfbook&format=html }} Save as HTML]

This will be produce the following output in the article:

== Articles ==
* How to remove a product from the software database 

Save as PDF

Save as HTML


2. Save the article and click in the proper link for PDF / HTML export.

How to purge the Mediawiki database

1. Delete OldRevisions

wiki-ux:/home/www/maintenance# php deleteOldRevisions.php
Delete Old Revisions
 
Searching for active revisions...done.
Searching for inactive revisions...done.
2967 old revisions found.
 
wiki-ux:/home/www/maintenance# php deleteOldRevisions.php --delete
Delete Old Revisions
Searching for active revisions...done.
Searching for inactive revisions...done.
2967 old revisions found.
Deleting...done.
Searching for active text records in revisions table...done.
Searching for active text records in archive table...done.
Searching for inactive text records...done.
2956 inactive items found.
Deleting...done.


2. Purge OldText

wiki-ux:/home/www/maintenance# php purgeOldText.php
Purge Old Text
 
Searching for active text records in revisions table...done.
Searching for active text records in archive table...done.
Searching for inactive text records...done.
1281 inactive items found.
wiki-ux:/home/www/maintenance# php purgeOldText.php --purge
Purge Old Text
 
Searching for active text records in revisions table...done.
Searching for active text records in archive table...done.
Searching for inactive text records...done.
1281 inactive items found.
Deleting...done.

How to reset the Wiki User Password

Before reading further consider the password reset extension which gives a simple form to reset wiki passwords.

You need to log in to the database directly. First obtain the user's id as in the following example (alternatively, go to Special:Userlist and get the id from there):

SELECT user_id FROM prefix_user WHERE user_name='WikiSysop';


Then apply the query shown in the following example to set the password for that user id (here the WikiSysop user id is 1): Note that the password is a nested concatenation of both the md5 of the user_id combined with the md5 password.

UPDATE user SET user_password=MD5(CONCAT('1-',MD5('newpassword'))) WHERE user_id=1;

How to add HTML META tags to Mediawiki

This is required to add your site to web search engines like Google.com or Bing.com. Edit the /includes/OutputPage.php and add entries similar to:

protected function addDefaultMeta() {
                global $wgVersion;
                $this->addMeta( 'http:Content-Style-Type', 'text/css' ); //bug 15835
                $this->addMeta( 'generator', "MediaWiki $wgVersion" );
                $this->addMeta( 'google-site-verification', '1eYAZYC7LPc8Hn8ULG5ItTdcYKdm2Q8GNYKgzuk-O1s');
                $this->addMeta( 'msvalidate.01', '38065A2DDFBB72526D48337C3356EE7D');
 
                $p = "{$this->mIndexPolicy},{$this->mFollowPolicy}";
                if( $p !== 'index,follow' ) {
                        // http://www.robotstxt.org/wc/meta-user.html
                        // Only show if it's different from the default robots policy
                        $this->addMeta( 'robots', $p );
                }
 
                if ( count( $this->mKeywords ) > 0 ) {
                        $strip = array(
                                "/<.*?" . ">/" => '',
                                "/_/" => ' '
                        );
                        $this->addMeta( 'keywords', preg_replace(array_keys($strip), array_values($strip),implode( ",", $this->mKeywords ) ) );
                }
        }

Print Layout

<head>
<style type="text/css">
body {
	color: black;
	background-color: white;
	}
h1 { font: 14pt bold Garamond, "Times New Roman", Times, serif; margin: 0; }
h2 { font: 13pt bold Garamond, "Times New Roman", Times, serif; margin: 0; margin-top: 10; }
h3 { font: 12pt bold Garamond, "Times New Roman", Times, serif; margin: 0; margin-top: 10; }
h4 { font: 11pt bold Garamond, "Times New Roman", Times, serif; }
li { font: 10pt Garamond, "Times New Roman", Times, serif; margin: 0; }
p { font: 10pt Garamond, "Times New Roman", Times, serif; margin: 0; }
pre { font-size: 8pt; font: Courier-New; margin: 0; margin-top: 10; }
tt { font-size: 8pt; font: Courier-New; }
ul { margin: 0; margin-left: 20; }
</style>
</head>

Reference

Editor

Jessica Fallas Peña

This page was last modified on 24 February 2014, at 00:37. This page has been accessed 17,027 times.