Extension talk:DynamicPageList (Wikimedia)

Jump to navigation Jump to search

About this board

Archives 

/Archive 01 - /Archive 02


Whatamidoing (WMF) (talkcontribs)
Bawolff (talkcontribs)

That's extension:DynamicPageList (third-party), not this one.

As an aside though, I think visual editor is in the wrong for assuming that parser functions (certainly parser funcs with a hash) cannot have duplicate arguments.

Whatamidoing (WMF) (talkcontribs)

Would you like to file a bug against VisualEditor to say that? (If I file it, it's going to sound a lot like "Ask Bawolff what he meant", so it'd probably be more efficient for you to file it.)

Bawolff (talkcontribs)

To be clear, I also think its a super minor bug, and not worth much fuss.

Bawolff (talkcontribs)

https://phabricator.wikimedia.org/T231740

In core mediawiki you can use something like {{GENDER:USERNAME|user=male|user=female|user=neutral}} to demonstrate the same bug. Admittedly this is super contrived.

Reply to "Interaction with VisualEditor"

Ability to set gallery title from information of File

3
Jamiehutber (talkcontribs)

Currently gallery mode uses the file name as the caption. I'd love to be able to use details from the file upload and display this as the caption name.

I wonder if this is easy to implement?

72.28.199.40 (talkcontribs)

Same question.

Bawolff (talkcontribs)

I guess it could get that info from the same place as extension:MultimediaViewer does (aka via extension:CommonsMetadata or structured data on commons). Certainly not impossible to implement, although i'm not sure if there is anyone interested in doing the work.

Reply to "Ability to set gallery title from information of File"
Nliz77 (talkcontribs)

I use duplicator extension to fork existing pages. Is there any way to ensure that only original page and not the duplicated pages gets listed in the dynamic page lists?

Reply to "Wow"
Alexandroslee (talkcontribs)

Can't find intersection.php ?

Ciencia Al Poder (talkcontribs)
Alexandroslee (talkcontribs)

Yes ! Thank's a lot, I got it!

ReplicationWiki-fan (talkcontribs)

While the search form includes pages in sub-categories, DynamicPageList appears not to do so. Can this be changed?

Bawolff (talkcontribs)

Honestly, nobody is really working on this extension right now, so probably not.

In principle though, there are some complications from deepcat/etc being outside of the normal db, but probably nothing insurmountable.

Reply to "Include sub-categories"

Use of undefined constant __DIR__ - assumed -- ERROR

3
193.158.105.118 (talkcontribs)

Hi,

what did I wrong ? I downloaded the extension and have it in to the intersection folder. After adding the load entry to the config file following Error occured:


Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /var/apache2/2.2/htdocs/mediawiki-1.18.1/extensions/intersection/DynamicPageList.php on line 51

Warning: include(__DIR__/DynamicPageList.i18n.php) [function.include]: failed to open stream: No such file or directory in /var/apache2/2.2/htdocs/mediawiki-1.18.1/includes/LocalisationCache.php on line 408

Warning: include() [function.include]: Failed opening '__DIR__/DynamicPageList.i18n.php' for inclusion (include_path='.:/var/php/5.2/pear') in /var/apache2/2.2/htdocs/mediawiki-1.18.1/includes/LocalisationCache.php on line 408

What should I do ?

Bawolff (talkcontribs)

Your version of PHP is too old. Update PHP (or use an older version of DynamicPageList, although you may have to go quite far back).

124.29.220.32 (talkcontribs)

if ( !defined('__DIR__') ) define('__DIR__', dirname(__FILE__)); use this

Reply to "Use of undefined constant __DIR__ - assumed -- ERROR"

Installation into Mediawiki 1.27 (lts)

2
91.114.200.218 (talkcontribs)

Hi,

the REL1.27 Branch doesn't support wfLoadExtension( 'intersection' );

you also have to use require_once "$IP/extensions/intersection/intersection.php";

unfortunately the "Installation" Section is using a template, so I'm not able to quickly edit this part

BR

Ciencia Al Poder (talkcontribs)

I've updated the page to reflect that

Order ascending for other language

1
79.182.164.123 (talkcontribs)

Hello,

I'm trying to show pages in category by alphabetic way, but because the pages names are in Hebrew, the "order=ascending" function doesn't work well. How can I modify it?

Thanks.

Reply to "Order ascending for other language"

"shownav" style ("next 100") navigation bar for list generated by DPL

1
TitusiMW (talkcontribs)

I would like to use DPL to generate a list of recently changed pages. List can run into 100s of entries. I would like to put a navigation bar like one that is automatically generated by Special:NewPages. I would like to generate links like (Newest) (Newer 100) (Older 100) (Oldest). Clicking on these links, DPL should generate a list of relevant set of pages. Can this be done? Can you show me how? Size of list is not predetermined.

Reply to ""shownav" style ("next 100") navigation bar for list generated by DPL"

Avoiding duplicate pages from dynamic lists

1
TitusiMW (talkcontribs)

I use duplicator extension to fork existing pages. Is there any way to ensure that only original page and not the duplicated pages gets listed in the dynamic page lists?

Reply to "Avoiding duplicate pages from dynamic lists"