Just logging in a couple subtle changes to the MediaWiki installation that may encourage more visitors to edit articles. By highlighting the edit buttons and links, I suspect a higher percentage of visitors will be likely to contribute or edit content.
We’ll measure this against the previously established Goal Tracking in Google Analytics that tells us that 7.6% of visits result in an article edit.
Highlighted Edit Button
The traditional “edit” button on top of the content window now has a faint highlight:
Before
After
To achieve this effect, I updated my theme’s main.css file to include this new entry:
#p-cactions #ca-edit a {
background-color: #ffcc99;
}
Highlighted and Moved Section Edit Links
Additionally, I moved the “Section Edit” links from the far right of each section header to just left of the h2 headline and applied the same faint highlight:
After
To accomplish this, comment out the float:right; in the existing .editsection entry in main.css and add a new entry for .mw-headline with a float:left; like this:
/* Edit section links */
.editsection {
/*float: right;*/
margin-left: 5px;
background-color: #ffcc99;
}
.mw-headline {
float: left;
}
{ 1 comment }



