Despite all my efforts, I haven't found any information regarding when either common.js or monobook.js were implemented. I tried putting the fixes to get a more advanced editing toolbar in my monobook.js skin, but I still saw no changes, even after clearing my cache and refreshing the page. I'm wondering if I have to enable JavaScript in the localsettings.php as Jack Pond suggested, or if there's something else I can do to get the more advanced editing toolbar buttons available to me. Any ideas? -Azurite
On 20/04/07, Azurite azurite@seventh-star.net wrote:
Despite all my efforts, I haven't found any information regarding when either common.js or monobook.js were implemented. I tried putting the fixes to get a more advanced editing toolbar in my monobook.js skin, but I still saw no changes, even after clearing my cache and refreshing the page. I'm wondering if I have to enable JavaScript in the localsettings.php as Jack Pond suggested, or if there's something else I can do to get the more advanced editing toolbar buttons available to me. Any ideas?
MediaWiki:Common.js was introduced in MediaWiki 1.9.0; I'm not quite sure when MediaWiki:Monobook.js was introduced, but it should work in MediaWiki 1.6.0 upwards.
The support functions used in the common JavaScript to insert new edit toolbar items wasn't introduced until circa. 1.8.0, but I might be misremembering this.
Rob Church
Azurite,
Make sure that your changes are in "MediaWiki:Common.js" or "MediaWiki: Monobook.js", not just "Common.js" or "Monobook.js".
-- Jim R. Wilson (jimbojw)
On 4/20/07, Rob Church robchur@gmail.com wrote:
On 20/04/07, Azurite azurite@seventh-star.net wrote:
Despite all my efforts, I haven't found any information regarding when either common.js or monobook.js were implemented. I tried putting the fixes to get a more advanced editing toolbar in my monobook.js skin, but I still saw no changes, even after clearing my cache and refreshing the page. I'm wondering if I have to enable JavaScript in the localsettings.php as Jack Pond suggested, or if there's something else I can do to get the more advanced editing toolbar buttons available to me. Any ideas?
MediaWiki:Common.js was introduced in MediaWiki 1.9.0; I'm not quite sure when MediaWiki:Monobook.js was introduced, but it should work in MediaWiki 1.6.0 upwards.
The support functions used in the common JavaScript to insert new edit toolbar items wasn't introduced until circa. 1.8.0, but I might be misremembering this.
Rob Church
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Azurite wrote:
I tried putting the fixes to get a more advanced editing toolbar in my monobook.js skin, but I still saw no changes, even after clearing my cache and refreshing the page. I'm wondering if I have to enable JavaScript in the localsettings.php as Jack Pond suggested, or if there's something else I can do to get the more advanced editing toolbar buttons available to me.
Is this a case where "$wgStyleVersion" should be copied from DefaultSettings.php to LocalSettings.php and incremented?
Mike
Michael Daly wrote:
Is this a case where "$wgStyleVersion" should be copied from DefaultSettings.php to LocalSettings.php and incremented?
Mike
It is supposed to be incremented whenever the interface files are updated. MediaWiki doesn't use it internally. It's only there to force the proxys and caches to request the new file. Clearing your cache does the same for you.
mediawiki-l@lists.wikimedia.org