SourceForge logo
SourceForge logo
Menu

phpwiki-talk

2009年1月21日 <var...@us...>:
> Revision: 6423
> http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6423&view=rev
> Author: vargenau
> Date: 2009年01月21日 09:18:16 +0000 (2009年1月21日)
>
> Log Message:
> -----------
> No div around plugin invocation
Why?
This was a lot of work to get it right.
We needed it for some CSS tricks as far as I remember.
> Modified Paths:
> --------------
> trunk/lib/CachedMarkup.php
>
> Modified: trunk/lib/CachedMarkup.php
> ===================================================================
> --- trunk/lib/CachedMarkup.php 2009年01月20日 14:30:22 UTC (rev 6422)
> +++ trunk/lib/CachedMarkup.php 2009年01月21日 09:18:16 UTC (rev 6423)
> @@ -767,35 +767,14 @@
>
> function expand($basepage, &$markup) {
> $loader = $this->_getLoader();
> -
> $xml = $loader->expandPI($this->_pi, $GLOBALS['request'], $markup, $basepage);
> - $div = HTML::div(array('class' => 'plugin'));
> - if (isset($this->name))
> - $id = GenerateId($this->name . 'Plugin');
> -
> - if (isset($this->_tightenable)) {
> - if ($this->_tightenable == 3) {
> - // We need a div here, it might contain a table
> - $span = HTML::div(array('class' => 'plugin'), $xml);
> - if (!empty($id))
> - $span->setAttr('id', $id);
> - return $span;
> - }
> - $div->setInClass('tightenable');
> - $div->setInClass('top', ($this->_tightenable & 1) != 0);
> - $div->setInClass('bottom', ($this->_tightenable & 2) != 0);
> - }
> - if (!empty($id))
> - $div->setAttr('id', $id);
> - $div->pushContent($xml);
> - return $div;
> + return $xml;
> }
>
> function asString() {
> return $this->_pi;
> }
>
> -
> function getWikiPageLinks($basepage) {
> $loader = $this->_getLoader();
>
>
>
> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> phpwiki-checkins mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpwiki-checkins
>
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/
From: Marc-Etienne V. <Mar...@al...> - 2009年01月21日 13:18:23
Reini Urban a écrit :
> 2009年1月21日 <var...@us...>:
>> Revision: 6423
>> http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6423&view=rev
>> Author: vargenau
>> Date: 2009年01月21日 09:18:16 +0000 (2009年1月21日)
>>
>> Log Message:
>> -----------
>> No div around plugin invocation
> 
> Why?
> This was a lot of work to get it right.
> 
> We needed it for some CSS tricks as far as I remember.
> 
Hello Reini,
Sorry to make modifications without too many explanations.
Can we reschedule an IRC?
For this point, no div around plugin, the rationale is the
following.
I need to do something like this:
About {{NATO}} in the XX{{th}} century.
I call the Template plugin inside a paragraph. If I have a div,
my paragraph is broken into several paragraphs.
Content of "NATO" page:
<abbr title="North Atlantic Treaty Organisation">NATO</abbr>
Content of "th" page:
<sup>th</sup>
This kind of things is used routinely in Mediawiki/Wikipedia.
Does this seem reasonable?
Best regards,
Marc-Etienne
-- 
Marc-Etienne Vargenau
Alcatel-Lucent France, Route de Villejust, 91620 NOZAY, FRANCE
+33 (0)1 30 77 28 33, Mar...@al...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /