Coder Social home page Coder Social logo

bootstrapmediawiki's Introduction

Howdy, I'm Matt!

LinkedIn Badge Artstation Badge

  • ๐Ÿข Senior Director of Engineering & Infrastructure at StellarWP
  • ๐Ÿด I am full-stack - I dabble in backend, frontend, devops, and strategy
  • ๐ŸŽจ I doodle sometimes (I make The Events Calendar release mascots)
  • ๐Ÿ’ฌ Ask me about WordPress plugin development, management, and tortillas
  • ๐Ÿ˜„ Pronouns: He/Him

bootstrapmediawiki's People

Contributors

andygaskell avatar borkweb avatar nathanthorpe avatar nrporter avatar poikilotherm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bootstrapmediawiki's Issues

Header menu color

I know i'm going to kick myself when you respond... I'd like to change the color of the header menu but for the life of me can't seem to find the css element. Could you give me a quick point to the right element?

missing skin.json error with MediaWiki 1.26

When you're doing:
php maintenance/update.php

Then the PHP is shouting:
PHP Fatal error: Uncaught exception 'Exception' with message '/var/www/wiki/skins/bootstrap-mediawiki/skin.json does not exist!' in /var/www/wiki/includes/registration/ExtensionRegistry.php:106

Any ideas how to create that file?

TOC sidebar?

This may be far more complicated than you want to do for a free skin and I completely understand if that is the case.

Would it be possible to have a left sidebar that shows the table of contents without a menu button?

The Twenty Ten skin supposedly has this, but I haven't tested that one yet since it hasn't been updated in a long time.

Or, if it's easier, can I move the TOC menu from its current location to the fixed top menu?

.gitmodules

don't you need to include .gitmodules with submodules info?
can't pull them automatically.

Demo?

is there any demo for this template?

Toolbox

Excellent port of the twitter bootstrap version.
One question where is the toolbox portlet?

Custom CSS page isn't working

I have $wgSiteCSS = 'bootstrap-mediawiki/custom.css'; in LocalSettings, but my changes added there never seem to show up. Did I miss a step with this?

Login page won't show up and menus are always open

I've I want to log in there's only a blank page shown.

Additionally all menus in the TitleBar are ('Tools', 'Pages' and 'User') are always opened and can't be hidden. Menus which are created in the Subnav can be shown and hidden like it should be.

  • MediaWiki version: 1.26.0
  • Language: de
  • Skin Version: 1.0.0 (cloned git today)
  • private Wiki ($wgGroupPermissions['*']['read'] = false;)

I've attached the debug log below:

Start request GET /mediawiki/index.php?title=Spezial:Anmelden&returnto=Hauptseite&returntoquery=
HTTP HEADERS:
HOST: wiki.company.local
USER-AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
ACCEPT-LANGUAGE: de,en-US;q=0.7,en;q=0.3
DNT: 1
REFERER: http://wiki.company.local/mediawiki/index.php/Hauptseite
COOKIE: wikidb_session=peal0v1biefk402mqdltirl4m4; wikidbUserName=Kri; wikidbLoggedOut=1466513968
ACCEPT-ENCODING: gzip, deflate
ACCEPT-RANGES: none
VIA: 1.0 bb-srv-sxg-01.company.local (squid/3.3.11)
CACHE-CONTROL: max-age=0
CONNECTION: keep-alive
[caches] main: EmptyBagOStuff, message: SqlBagOStuff, parser: SqlBagOStuff
[caches] LocalisationCache: using store LCStoreDB
Connected to database 0 at localhost
Unstubbing $wgParser on call of $wgParser::setHook from efIACSetupAccessExtension
Parser: using preprocessor: Preprocessor_DOM
Fully initialised
IP: xxx.xxx.xx.xx
Connected to database 0 at localhost
[DBPerformance] [GET] Expectation (masterConns <= 0) by MediaWiki::main not met:
[connect to localhost (wikidb)]
TransactionProfiler.php line 307 calls wfBacktrace()
TransactionProfiler.php line 146 calls TransactionProfiler->reportExpectationViolated()
LoadBalancer.php line 545 calls TransactionProfiler->recordConnection()
SqlBagOStuff.php line 170 calls LoadBalancer->getConnection()
SqlBagOStuff.php line 246 calls SqlBagOStuff->getDB()
SqlBagOStuff.php line 224 calls SqlBagOStuff->getMulti()
MessageCache.php line 287 calls SqlBagOStuff->get()
MessageCache.php line 909 calls MessageCache->load()
MessageCache.php line 828 calls MessageCache->getMsgFromNamespace()
MessageCache.php line 766 calls MessageCache->getMessageFromFallbackChain()
Message.php line 1146 calls MessageCache->get()
Message.php line 769 calls Message->fetchMessage()
Message.php line 897 calls Message->toString()
SpecialUserlogin.php line 201 calls Message->escaped()
SpecialUserlogin.php line 270 calls LoginForm->load()
SpecialPage.php line 384 calls LoginForm->execute()
SpecialPageFactory.php line 553 calls SpecialPage->run()
MediaWiki.php line 249 calls SpecialPageFactory::executePath()
MediaWiki.php line 682 calls MediaWiki->performRequest()
MediaWiki.php line 476 calls MediaWiki->main()
index.php line 41 calls MediaWiki->run()

DatabaseBase::query: Writes done: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('X')
[DBPerformance] [GET] Expectation (writes <= 0) by MediaWiki::main not met:
query: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('X')
TransactionProfiler.php line 307 calls wfBacktrace()
TransactionProfiler.php line 200 calls TransactionProfiler->reportExpectationViolated()
Database.php line 1035 calls TransactionProfiler->recordQueryCompletion()
Database.php line 2786 calls DatabaseBase->query()
DatabaseMysqlBase.php line 442 calls DatabaseBase->nativeReplace()
SqlBagOStuff.php line 344 calls DatabaseMysqlBase->replace()
SqlBagOStuff.php line 364 calls SqlBagOStuff->setMulti()
BagOStuff.php line 393 calls SqlBagOStuff->set()
BagOStuff.php line 250 calls BagOStuff->add()
BagOStuff.php line 317 calls BagOStuff->lock()
MessageCache.php line 690 calls BagOStuff->getScopedLock()
MessageCache.php line 386 calls MessageCache->getReentrantScopedLock()
MessageCache.php line 315 calls MessageCache->loadFromDBWithLock()
MessageCache.php line 909 calls MessageCache->load()
MessageCache.php line 828 calls MessageCache->getMsgFromNamespace()
MessageCache.php line 766 calls MessageCache->getMessageFromFallbackChain()
Message.php line 1146 calls MessageCache->get()
Message.php line 769 calls Message->fetchMessage()
Message.php line 897 calls Message->toString()
SpecialUserlogin.php line 201 calls Message->escaped()
SpecialUserlogin.php line 270 calls LoginForm->load()
SpecialPage.php line 384 calls LoginForm->execute()
SpecialPageFactory.php line 553 calls SpecialPage->run()
MediaWiki.php line 249 calls SpecialPageFactory::executePath()
MediaWiki.php line 682 calls MediaWiki->performRequest()
MediaWiki.php line 476 calls MediaWiki->main()
index.php line 41 calls MediaWiki->run()

[MessageCache] MessageCache::load: Loading de... local cache is empty, global cache is expired/volatile, loading from database
Unstubbing $wgLang on call of $wgLang::getMessageFromDB from ExtArrays::init
[fatal] [51a97f60] PHP Fatal Error: Cannot redeclare class QuickTemplate
#0 [internal function]: MWExceptionHandler::handleFatalError()
#1 {main}

Bootstrap:SubNav

This appears to be the gray bar below the top nav. However, when I modify Bootstra:SubNav the menu content doesn't show up. When I collapse the page, a dropdown menu appears in that menu, but it only has a check mark in it, no content.

I'm not as concerned about putting anything in the menu since I don't have much use for it, but I would like to figure out how to hide the dropdown. I tried a few class/id combos and didn't manage to figure it out.

Thanks.

Menubuttons not working

Hi there,

My menubuttons are not working, they don't dropdown.... You have a solution?

Thanks in advance

TOC sometimes not appearing

Don't know if it's a bootstrap-mediawiki problem or if i am just doing some bad markup. I have some articles that have various sub-headings but the TOC don't display.

Anyone has an idea what could cause that problem? (Javascript Console doesn't display any issues.)

Thanks for any advice.

bildschirmfoto 2015-08-07 um 11 05 13

bildschirmfoto 2015-08-07 um 11 04 21

composer.json

Hello,

It would be nice to have a composer.json file so the skin can be installed with Composer.

Enabling skin?

Do I need to include bootstrapmediawiki.php in order to enable this skin?

Having trouble with latest mediawiki version 1.27.0

@borkweb I am trying to install the theme with the latest version of MediaWiki 1.27.0 but giving lot of error. You might need to update deprecated / replaced functions in your theme.

For example, as I know LocalSettings.php include has been changed for theme and extensions. wfMsg error etc.

Can you please update your theme so I can use it?

Can't add additional links to toolbar

I originally had links to the Formatting and User Manual MediaWiki pages. I don't have this with your template. I added them to the Bootstrap:TitlePage, which your ReadMe seems to indicate is the right place, but doesn't seem to show up anywhere.

Warning: OutputPage::getModuleStyles

Warning: OutputPage::getModuleStyles: style module should define its position explicitly: skins.bootstrapmediawiki ResourceLoaderFileModule [Called from OutputPage::getModuleStyles in C:\wamp\www\mediawiki-1.26.0\includes\OutputPage.php at line 621] in C:\wamp\www\mediawiki-1.26.0\includes\debug\MWDebug.php on line 300

Fatal error: Cannot redeclare class SkinTemplate in

When I set the theme to Default it is giving error on Login Page. Most of other pages working fine.

Error:

Fatal error: Cannot redeclare class SkinTemplate in D:\xampp\mywiki\includes\SkinTemplate.php on line 1270

If I set any other skin than it is working fine (e.g. vector)

Images are not responsive

If i use big image in the article, they overlap the container

Furthermore, images are not responsive at all

Try it by adding 1200px or more wide image into the article

Adding this to the css should fix it

/* Images should be responsive */
img {
max-width:100%;
height:auto;
}

includes/SkinTemplate.php require not needed

hi,
looks like that newer version of mediawiki don't need skins to require SkinTemplate. I'll actually fail to require the file because it isn't there anymore.

thanks,
filippo

Theme not showing up when logged out

I was able to get the theme to show up while logged in, but when logged out it just shows the default. I might have had the LocalSettings.php entry wrong though. What is the proper way to call the theme as the active theme for everyone?

(Thanks for knocking out those other two items so fast! Amazing turn around.)

Impossible to use this skin

Hi,

I got the skin from github and I tried hard to install it, but mediawiki is not able to use it (see picture attached).

error

My LocalSettings.php file looks fine

...
## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'vector', 'monobook': 
$wgDefaultSkin = "bootstrap-mediawiki";

# End of automatically generated settings.
# Add more configuration options below.

require_once "$IP/skins/Vector/Vector.php";
require_once "$IP/skins/bootstrap-mediawiki/bootstrap-mediawiki.php";
...

(I also tried with "bootstrapmediawiki", but I had a blank page).

Do you have any suggestion/idea to identify this problem ? Does this problem may come from your skin ?

I am using the last version of mediawiki (1.24alpha (6a826fd))

EDIT 1 : I only have this problem with this skin, all the others I tried work fine

Hiding menu items from anonymous users

Any tips on hiding the default Tools menu and my custom "MediaWiki" menu that just has links to manual pages from anonymous users?

I figured out how to restrict access to the pages in Tools, but would prefer to hide the links entirely.

No Navigation

Hi !

I am using this great theme with a clean Mediawiki 1.26.3 installation. My problem is, i can't see the navigation (side)bar and if i try to find it, there are no entries in my page sourcecode. Is there a big change in 1.26 ? Is it possible to fix the problem ?

Switch bootstrap and Font Awesome to git submodules.

I changed my installation of this skin to include the sub modules and I haven't seen any issue so far. Are you worried about the skin breaking with newer versions of bootstrap and Font Awesome? You can specify certain major releases/tags when adding them as modules to ensure no game changing updates in new releases are included.

Bootstrap:Footer

Need a little help adding the footer. Don't know too much about php. Where should I place the template?

wikieditor not showing

MediaWiki = 1.26.2
PHP = 5.6
Ive just installed the extension WikiEditor and bootstrap-mediawiki skin.
When I edit a page in my wiki, the WikiEditor toolbar doesn't show.(The first show once)
I've installed another skin(vector). And I try again.
In other skin it appears normal.

Skin customisation for beginners

I have installed Mediawiki version 1.28.0 and followed the instructions for the installation. The default skin 'Vector' and the bootstrap skin 'chameleon' are working, but not the bootstrapmediawiki skin. What I get is
screenshot from 2017-01-12 20 28 09
No possibility to log in, search, create a page, or anything.
Are there other configurations that need to be done?

License

Please add a license to the project.

TOC isn't moved to sidebar

First, I'd like to say great work!

The only thing I haven't been able to customize is moving the TOC to the sidebar. I did define the variable in the LocalSettings.php, but no luck. Any advice would be appreciated.

Thanks!

$wgLogo not showing

I have $wgLogo set in LocalSettings.php, however it doesn't show up with this theme. Do I need to modify something to get it to show up at the top of my page?

Gadgets?

Hi there,

is this skin influencing the use of Gadgets like HotCat? The <div class="catlinks"> is not updated via Javascript using your skin. With other skins, this gadget works well.

Thanks for this great looking skin and your support!

Cheers,
Poikilotherm

mw-headline span in h2 is hiding links

Hey guys,
I just noticed the following bug in Firefox 31 and Chrome 33 (both on Linux), as you can see in the screenshot:

bootstrap-span-hiding-links

The green area is caused by padding-top:128px and thus rendering the links useless. Actually, I don't really understand why there is a padding-top:128px and a margin-top:-128px...?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.